diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-01-30 00:45:01 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-01-30 00:45:01 +0300 |
commit | 10318a2e4f403d8e96dbdc939ccb51f19afdc180 (patch) | |
tree | f1907aa8c042ffc643b20dd694f0c00c64df9964 /src/core/ngx_times.h | |
parent | 76f7b5eeed458efc9b27ab9200c14396e26c157f (diff) |
nginx-0.0.1-2004-01-30-00:45:01 import
Diffstat (limited to 'src/core/ngx_times.h')
-rw-r--r-- | src/core/ngx_times.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/core/ngx_times.h b/src/core/ngx_times.h index 296004220..7823af0b8 100644 --- a/src/core/ngx_times.h +++ b/src/core/ngx_times.h @@ -15,13 +15,24 @@ void ngx_gmtime(time_t t, ngx_tm_t *tp); extern time_t ngx_cached_time; -extern ngx_epoch_msec_t ngx_elapsed_msec; -extern ngx_epoch_msec_t ngx_old_elapsed_msec; -extern ngx_epoch_msec_t ngx_start_msec; - extern ngx_str_t ngx_cached_err_log_time; extern ngx_str_t ngx_cached_http_time; extern ngx_str_t ngx_cached_http_log_time; +extern ngx_epoch_msec_t ngx_start_msec; + +/* + * msecs elapsed since ngx_start_msec in the current event cycle, + * used in ngx_event_add_timer() and ngx_event_find_timer() + */ +extern ngx_epoch_msec_t ngx_elapsed_msec; + +/* + * msecs elapsed since ngx_start_msec in the previous event cycle, + * used in ngx_event_expire_timers() + */ +extern ngx_epoch_msec_t ngx_old_elapsed_msec; + + #endif /* _NGX_TIMES_H_INCLUDED_ */ |