Your IP : 13.58.245.158


Current Path : /opt/alt/ruby18/share/ri/1.8/system/Benchmark/Tms/
Upload File :
Current File : //opt/alt/ruby18/share/ri/1.8/system/Benchmark/Tms/format-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Returns the contents of this Tms object as a formatted string, according to a format string like that passed to Kernel.format. In addition, #format accepts the following extensions:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>%u</tt>:"
    body: Replaced by the user CPU time, as reported by Tms#utime.
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>%y</tt>:"
    body: "Replaced by the system CPU time, as reported by #stime (Mnemonic: y of &quot;s*y*stem&quot;)"
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>%U</tt>:"
    body: Replaced by the children's user CPU time, as reported by Tms#cutime
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>%Y</tt>:"
    body: Replaced by the children's system CPU time, as reported by Tms#cstime
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>%t</tt>:"
    body: Replaced by the total CPU time, as reported by Tms#total
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>%r</tt>:"
    body: Replaced by the elapsed real time, as reported by Tms#real
  - !ruby/struct:SM::Flow::LI 
    label: "<tt>%n</tt>:"
    body: "Replaced by the label string, as reported by Tms#label (Mnemonic: n of &quot;*n*ame&quot;)"
  type: :NOTE
- !ruby/struct:SM::Flow::P 
  body: If <em>fmtstr</em> is not given, FMTSTR is used as default value, detailing the user, system and real elapsed time.
full_name: Benchmark::Tms#format
is_singleton: false
name: format
params: (arg0 = nil, *args)
visibility: public

?>