package core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t

All these functions can raise Unix_error.

returns the CPU-clock associated with the thread

val get_process_clock : (unit -> t) Core_kernel.Or_error.t

get_process_clock the clock measuring the CPU-time of a process.

val get_thread_clock : (unit -> t) Core_kernel.Or_error.t

get_thread_clock the clock measuring the CPU-time of the current thread.

OCaml

Innovation. Community. Security.