From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: [PATCH 27/27] ts-bench-hostcmp-post: add plotting facilities Date: Wed, 10 Dec 2014 19:12:32 +0100 Message-ID: <20141210181232.26400.79899.stgit@Abyss.station> References: <20141210180651.26400.13356.stgit@Abyss.station> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20141210180651.26400.13356.stgit@Abyss.station> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Ian Jackson , Wei Liu , Ian Campbell List-Id: xen-devel@lists.xenproject.org From: Dario Faggioli 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();