Type:
Class
Constants:
CAPTION : " user system total real\n"

Default caption, see also Benchmark::CAPTION

FORMAT : "%10.6u %10.6y %10.6t %10.6r\n"

Default format string, see also Benchmark::FORMAT

A data object, representing the times associated with a benchmark measurement.

-
  • References/Ruby on Rails/Ruby/Classes/Benchmark/Benchmark::Tms

-(other) Instance Public methods Returns a new

2025-01-10 15:47:30
add!
  • References/Ruby on Rails/Ruby/Classes/Benchmark/Benchmark::Tms

add!(&blk) Instance Public methods An in-place version of

2025-01-10 15:47:30
add
  • References/Ruby on Rails/Ruby/Classes/Benchmark/Benchmark::Tms

add() Instance Public methods Returns a new

2025-01-10 15:47:30
to_s
  • References/Ruby on Rails/Ruby/Classes/Benchmark/Benchmark::Tms

to_s() Instance Public methods Same as

2025-01-10 15:47:30
*
  • References/Ruby on Rails/Ruby/Classes/Benchmark/Benchmark::Tms

*(x) Instance Public methods Returns a new

2025-01-10 15:47:30
format
  • References/Ruby on Rails/Ruby/Classes/Benchmark/Benchmark::Tms

format(format = nil, *args) Instance Public methods Returns the contents of

2025-01-10 15:47:30
/ 2
  • References/Ruby on Rails/Ruby/Classes/Benchmark/Benchmark::Tms

/(x) Instance Public methods Returns a new

2025-01-10 15:47:30
new
  • References/Ruby on Rails/Ruby/Classes/Benchmark/Benchmark::Tms

new(utime = 0.0, stime = 0.0, cutime = 0.0, cstime = 0.0, real = 0.0, label = nil) Class Public methods

2025-01-10 15:47:30
+
  • References/Ruby on Rails/Ruby/Classes/Benchmark/Benchmark::Tms

+(other) Instance Public methods Returns a new

2025-01-10 15:47:30
to_a
  • References/Ruby on Rails/Ruby/Classes/Benchmark/Benchmark::Tms

to_a() Instance Public methods Returns a new 6-element array, consisting of

2025-01-10 15:47:30