Make hll-gnuplot-graph.rb callable from cli.
This commit is contained in:
parent
ce637b2fef
commit
b612affba3
@ -81,7 +81,8 @@ def filter_samples(numsets,max,step,filter)
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
filter_samples(100,100000,1000,:absavg)
|
if ARGV.length != 4
|
||||||
#filter_samples(100,1000,10,:all)
|
puts "Usage: hll-gnuplot-graph <samples> <max> <step> (max|avg|absavg|all)"
|
||||||
#filter_samples(100,10000,1000,:max)
|
exit 1
|
||||||
#filter_samples(100,10000,1000,:avg)
|
end
|
||||||
|
filter_samples(ARGV[0].to_i,ARGV[1].to_i,ARGV[2].to_i,ARGV[3].to_sym)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user