struct

Process::Tms

Inherits Struct / Value / Object

A struct representing the CPU current times of the process, in fractions of seconds.

  • utime: CPU time a process spent in userland.
  • stime: CPU time a process spent in the kernel.
  • cutime: CPU time a processes terminated children (and their terminated children) spent in the userland.
  • cstime: CPU time a processes terminated children (and their terminated children) spent in the kernel.

Constructors

new(utime : Float64, stime : Float64, cutime : Float64, cstime : Float64)
Source

Instance methods

clone
Source
copy_with(utime _utime = @utime, stime _stime = @stime, cutime _cutime = @cutime, cstime _cstime = @cstime)
Source
cstime
cutime
stime
utime