-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
Hello,
I'd like to put a timestamp into my upstream request URIs (or include it as a request header with the HeardsMore module), so it'd be great if you could implement a few other special variables:
- tsc_time using a crude but fast solution[0] of reading the TSC register and dividing it with the MHZ from /proc/cpuinfo ~ 50 cycles
- gettimeofday: ngx_gettimeofday is just a macro for gettimeofday( tp, NULL) ~ 10K cycles
- clock_gettime(CLOCK_MONOTONIC , ...) or with other CLOCK_* ~ 10K cycles
Thanks!
Metadata
Metadata
Assignees
Labels
No labels