Method: Benchmark::Tms#to_a
- Defined in:
- lib/benchmark.rb
#to_a ⇒ Object
Returns a new 6-element array, consisting of the label, user CPU time, system CPU time, children’s user CPU time, children’s system CPU time and elapsed real time.
509 510 511 |
# File 'lib/benchmark.rb', line 509 def to_a [@label, @utime, @stime, @cutime, @cstime, @real] end |