Snoop: saves gnuplot plot files along with PDFs
This MR fixes #5733 (closed):
- Benchmark: refactors Plot
- It has many API functions almost similar but with slight differences.
- This MR unifies them down to 2.
- Snoop: Display.perform_plot now saves Gnuplot .plot files
- Now it keeps Gnuplot .plot files. For example:
$ ./octez-snoop generate code for benchmarks interpreter/N_IOpen_chest --out-dir dir --plot
$ ls dir/*plot
dir/N_IHalt_interpreter_emp-validation.plot
dir/N_IOpen_chest_interpreter_validation.plot
dir/TIMER_LATENCY_interpreter_emp-validation.plot
dir/amplification_loop_interpreter_emp-validation.plot
dir/amplification_loop_interpreter_validation.plot
dir/intercept_interpreter_emp-validation.plot
Using these *.plot files we can visualize the plots:
$ gnuplot dir/N_IOpen_chest_interpreter_validation.plot