ID EN
Time

clock_gettime

Python 3.11

Return the time of the specified clock clk_id. Refer to Clock ID Constants for a list of accepted values for clk_id.

Syntax

PYTHON
time.clock_gettime(clk_id) → float

See Also

Clock ID Constants clock_gettime_ns() float Availability