|
Tor 0.4.9.3-alpha-dev
|
Implementat gettimeofday() for windows, and other platforms without it. More...
#include "orconfig.h"#include "lib/err/torerr.h"#include "lib/wallclock/tor_gettimeofday.h"#include "lib/cc/torint.h"#include <stddef.h>#include <stdlib.h>Go to the source code of this file.
Functions | |
| void | tor_gettimeofday (struct timeval *timeval) |
Implementat gettimeofday() for windows, and other platforms without it.
Definition in file tor_gettimeofday.c.
| void tor_gettimeofday | ( | struct timeval * | timeval | ) |
Set *timeval to the current time of day. On error, log and terminate. (Same as gettimeofday(timeval,NULL), but never returns -1.)
Definition at line 42 of file tor_gettimeofday.c.
Referenced by assign_onionskin_to_cpuworker(), circuit_build_times_handle_completed_hop(), circuit_deliver_create_cell(), circuit_expire_building(), circuit_expire_old_circuits_clientside(), circuit_extend_to_new_exit(), circuit_get_best(), circuit_launch_by_extend_info(), control_event_circ_bandwidth_used_for_circ(), control_event_stream_bandwidth(), control_event_stream_bandwidth_used(), cpuworker_onion_handshake_replyfn(), cpuworker_onion_handshake_threadfn(), geoip_change_dirreq_state(), geoip_start_dirreq(), getinfo_helper_current_time(), init_circuit_base(), log_prefix_(), pathbias_send_usable_probe(), service_handle_intro_established(), and service_rendezvous_circ_has_opened().