Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use clock_gettime instead of gettimeofday (#49)
``` - CLOCK_REALTIME_COARSE - clock_getres: 0 seconds | 4000000 nanoseconds Cost (min): 12 cycles Cost (avg): 53 cycles Cost (max): 37061 cycles - GETTIMEOFDAY - gettimeofday_getres: 1us Cost (min): 309 cycles Cost (avg): 429 cycles Cost (max): 107227 cycles ``` /cc @lyft/observability /cc @theatrus
- Loading branch information