29
30
31
32
33
34
35
36
37
|
# File 'lib/awsbase/benchmark_fix.rb', line 29
def add!(&blk)
t = Benchmark::measure(&blk)
@utime = utime + t.utime
@stime = stime + t.stime
@cutime = cutime + t.cutime
@cstime = cstime + t.cstime
@real = real + t.real
self
end
|