package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0

doc/b0.std/B0_std/Os/Cpu/Time/Span/index.html

Module Time.SpanSource

CPU time spans.

CPU time counters

Sourcetype t

The type for CPU execution time spans.

Sourceval make : utime:Mtime.Span.t -> stime:Mtime.Span.t -> children_utime:Mtime.Span.t -> children_stime:Mtime.Span.t -> t

make ~utime ~stime ~children_utime ~children_stime is a cpu span with the given fields. See accessors for semantics.

Sourceval zero : t

zero is zero CPU times.

Sourceval utime : t -> Mtime.Span.t

utime cpu is the user time of cpu.

Sourceval stime : t -> Mtime.Span.t

stime cpu is the system time of cpu.

Sourceval children_utime : t -> Mtime.Span.t

children_utime cpu is the user time for children processes of cpu.

Sourceval children_stime : t -> Mtime.Span.t

children_stime cpu is the system time for children processes of cpu.

On This Page
  1. CPU time counters