Tor 0.4.9.3-alpha-dev
Loading...
Searching...
No Matches
time Directory Reference

lib/time: Higher-level time functions

More...

Files

 compat_time.c
 Portable wrappers for finding out the current time, running timers, etc.
 
 compat_time.h
 Functions and types for monotonic times.
 
 time_sys.c
 Subsystem object for monotime setup.
 
 time_sys.h
 Declare subsystem object for the time module.
 
 tvdiff.c
 Compute the difference between timevals, in various units.
 
 tvdiff.h
 Header for tvdiff.c.
 

Detailed Description

lib/time: Higher-level time functions

This includes both fine-grained timers and monotonic timers, along with wrappers for them to try to improve efficiency.

For "what time is it" in UTC, see lib/wallclock. For parsing and encoding times and dates, see lib/encoding.