class Benchmark::Tms
def add!(&blk)
the code block (+blk+).
for this Tms object, plus the time required to execute
Changes the times of this Tms object by making it the sum of the times
An in-place version of #add.
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