From b854f737cd062527caa453e9f7d20876cd0ddb4d Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Thu, 1 May 2014 21:47:51 +0200 Subject: [PATCH] Run memory profiling for 60 seconds. --- profile/gnuplot/memory_time.gpi | 4 ++-- profile/profile_helper.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/profile/gnuplot/memory_time.gpi b/profile/gnuplot/memory_time.gpi index 2ab70d3..5aea349 100644 --- a/profile/gnuplot/memory_time.gpi +++ b/profile/gnuplot/memory_time.gpi @@ -5,9 +5,9 @@ set title sample_file set xlabel "Runtime (seconds)" set ylabel "Memory (MB)" -set xtics 1 +set xtics 2 -set term wx persist size 900,600 +set term wx persist size 1024,760 set grid set style line 1 lc rgb "#0060ad" lt 1 lw 2 pt 7 ps 1 diff --git a/profile/profile_helper.rb b/profile/profile_helper.rb index aff166d..fb39479 100644 --- a/profile/profile_helper.rb +++ b/profile/profile_helper.rb @@ -30,7 +30,7 @@ end # @param [String] name The name of the samples file. # @param [String] duration The amount of seconds to run. # -def profile_memory(name, duration = 30) +def profile_memory(name, duration = 60) monitor = true threads = []