gnuplot/plotter.rb
# Count number of requests at a particular time
Count number of requests at a particular time
Count number of requests at a particular time
def countme(num)
    num = num.to_i
    if @cvals[num].nil?
      @cvals[num] = 1
    else
      @cvals[num] = @cvals[num] + 1
    end
  end
def countme ( num ) num = num . to_i if @cvals [ num ] . nil? @cvals [ num ] = 1 else @cvals [ num ] = @cvals [ num ] + 1 end end
Count number of requests at a particular time
Count number of requests at a particular time
num