Process.times â aStructTms
Class Public methods
Returns a Tms
structure (see Struct::Tms
) that
contains user and system CPU times for this process, and also for children
processes.
t = Process.times [ t.utime, t.stime, t.cutime, t.cstime ] #=> [0.0, 0.02, 0.00, 0.00]
Please login to continue.