提交 19938b91 编写于 作者: A antirez

Make hll-gnuplot-graph.rb callable from cli.

上级 628b9fa5
......@@ -81,7 +81,8 @@ def filter_samples(numsets,max,step,filter)
}
end
filter_samples(100,100000,1000,:absavg)
#filter_samples(100,1000,10,:all)
#filter_samples(100,10000,1000,:max)
#filter_samples(100,10000,1000,:avg)
if ARGV.length != 4
puts "Usage: hll-gnuplot-graph <samples> <max> <step> (max|avg|absavg|all)"
exit 1
end
filter_samples(ARGV[0].to_i,ARGV[1].to_i,ARGV[2].to_i,ARGV[3].to_sym)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册