Skip to content
Snippets Groups Projects
Commit 5d558b19 authored by Jean-Baptiste Keck's avatar Jean-Baptiste Keck
Browse files

svg histograms

parent cacc0f9a
No related branches found
No related tags found
1 merge request!16MPI operators
......@@ -86,8 +86,8 @@ class AutotunedKernelStatistics(dict):
axe.axvline(x=vnmean, label=r'median: ${:.1f} {unit}$ (x{:.1f})'.format(vmean, vnmean/vnmin, unit=unit), color='darkorange')
axe.axvline(x=vnmax, label=r'worst: ${:.1f} {unit}$ (x{:.1f})'.format(vmax, vnmax/vnmin, unit=unit), color='r')
axe.legend(framealpha=1.0, title='Execution times')
fig.savefig('{}/{}_histo.png'.format(
self.tkernel.autotuner_config.dump_folder, self.file_basename))
fname = '{}/{}_histo.svg'.format(self.tkernel.autotuner_config.dump_folder, self.file_basename)
fig.savefig(fname, bbox_inches='tight', format='svg')
def collect_exec_times(self):
run_times = ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment