From eed3645343ca76475fab7003c03f97102253a8ed Mon Sep 17 00:00:00 2001 From: Dario Faggioli Date: Tue, 9 Dec 2014 15:06:41 +0100 Subject: [PATCH] ts-bench-hostcmp-post: add plotting facilities in order to have an additional graph, comparing host and guests performance when running kernbench. Signed-off-by: Dario Faggioli Cc: Wei Liu Cc: Ian Campbell Cc: Ian Jackson --- Osstest/Benchmarking.pm | 17 +++++++++++++---- ts-bench-hostcmp-post | 1 + ts-kernbench-reslts | 6 +++--- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/Osstest/Benchmarking.pm b/Osstest/Benchmarking.pm index 301af08..1be9c97 100644 --- a/Osstest/Benchmarking.pm +++ b/Osstest/Benchmarking.pm @@ -175,7 +175,9 @@ sub kernbench_print_results ($$) { } sub kernbench_plot_results ($$$) { - my ($dataf,$num_cols,$pfile)= @_; + my ($dfiles,$num_cols,$pfile)= @_; + my $f= keys @$dfiles; + my $s= join(' ',@$dfiles); my $h= new IO::File "> $pfile.gp" or die "$!"; print $h <{'Elapsed Time'}{'Result'}; - kernbench_plot_results($dataf,$ncols,$plotf); + kernbench_plot_results(\@dataf,$ncols,$plotf); } fetch(); -- 2.39.5