lib/awsbase/benchmark_fix.rb in aws-2.3.34 vs lib/awsbase/benchmark_fix.rb in aws-2.4.0

- old
+ new

@@ -22,13 +22,13 @@ # # # A hack because there's a bug in add! in Benchmark::Tms -module Benchmark #:nodoc: +module Benchmark #:nodoc: class Tms #:nodoc: def add!(&blk) - t = Benchmark::measure(&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