Skip to content
UPEEC

time.h

Calendar time, clocks and formatting: `time`, `clock`, `difftime`, `strftime`, `localtime`.

Easy
Comments 0

clock() measures CPU time; for wall-clock intervals use timespec_get or POSIX clock_gettime.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.