From: avlasov-mos-de Date: Fri, 12 Jun 2020 21:36:47 +0000 (-0500) Subject: Fix scale on gnuplot graphs X-Git-Tag: fio-3.21~1^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=90e67244d806248f0c2959ff1bba6adba8bb1715;p=fio.git Fix scale on gnuplot graphs Since log files for latencies have values in nanoseconds in order to get microseconds we divide by 1000 and for milliseconds by 1000000 --- diff --git a/tools/fio_generate_plots b/tools/fio_generate_plots index 8872206e..e4558788 100755 --- a/tools/fio_generate_plots +++ b/tools/fio_generate_plots @@ -123,10 +123,10 @@ plot () { # plot # -plot "I/O Latency" lat "Time (msec)" 1000 +plot "I/O Latency" lat "Time (msec)" 1000000 plot "I/O Operations Per Second" iops "IOPS" 1 -plot "I/O Submission Latency" slat "Time (μsec)" 1 -plot "I/O Completion Latency" clat "Time (msec)" 1000 +plot "I/O Submission Latency" slat "Time (μsec)" 1000 +plot "I/O Completion Latency" clat "Time (msec)" 1000000 plot "I/O Bandwidth" bw "Throughput (KB/s)" 1