Tor
0.4.7.0-alpha-dev
|
lib/wallclock: Inspect and manipulate the current time.
More...Files | |
file | approx_time.c [code] |
Cache the last result of time(), for performance and testing. | |
file | approx_time.h [code] |
Header for approx_time.c. | |
file | time_to_tm.c [code] |
Convert to struct tm, portably. | |
file | time_to_tm.h [code] |
Header for time_to_tm.c. | |
file | timeval.h [code] |
Declarations for timeval-related macros that some platforms are missing. | |
file | tor_gettimeofday.c [code] |
Implementat gettimeofday() for windows, and other platforms without it. | |
file | tor_gettimeofday.h [code] |
Header for tor_gettimeofday.c. | |
file | wallclock_sys.h [code] |
Declare subsystem object for the wallclock module. | |
lib/wallclock: Inspect and manipulate the current time.
This module handles our concept of "what time is it" or "what time does the world agree it is?" Generally, if you want something derived from UTC, this is the module for you.
For versions of the time that are more local, more monotonic, or more accurate, see lib/time. For parsing and encoding times and dates, see lib/encoding.