= private = protected
add!(&blk)
An in-place version of #add.
# File lib/benchmark.rb, line 429 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