Home
last modified time | relevance | path

Searched refs:zend_hrtime_t (Results 1 – 5 of 5) sorted by relevance

/php-src/Zend/
H A Dzend_hrtime.h75 typedef uint64_t zend_hrtime_t; typedef
79 static zend_always_inline zend_hrtime_t zend_hrtime(void) in zend_hrtime()
84 return (zend_hrtime_t)((zend_hrtime_t)lt.QuadPart * zend_hrtime_timer_scale); in zend_hrtime()
86 …return (zend_hrtime_t)mach_absolute_time() * zend_hrtime_timerlib_info.numer / zend_hrtime_timerli… in zend_hrtime()
90 return ((zend_hrtime_t) ts.tv_sec * (zend_hrtime_t)ZEND_NANO_IN_SEC) + ts.tv_nsec; in zend_hrtime()
94 return (zend_hrtime_t) gethrtime(); in zend_hrtime()
99 return (zend_hrtime_t) t.tb_high * (zend_hrtime_t)NANO_IN_SEC + t.tb_low; in zend_hrtime()
H A Dzend_gc.h40 zend_hrtime_t application_time;
41 zend_hrtime_t collector_time;
42 zend_hrtime_t dtor_time;
43 zend_hrtime_t free_time;
H A Dzend_hrtime.c62 zend_hrtime_timer_scale = (double)ZEND_NANO_IN_SEC / (zend_hrtime_t)tf.QuadPart; in zend_startup_hrtime()
H A Dzend_gc.c268 zend_hrtime_t activated_at;
269 zend_hrtime_t collector_time;
270 zend_hrtime_t dtor_time;
271 zend_hrtime_t free_time;
1919 zend_hrtime_t start_time = zend_hrtime(); in zend_gc_collect_cycles()
2012 zend_hrtime_t dtor_start_time = zend_hrtime(); in zend_gc_collect_cycles()
2032 zend_hrtime_t free_start_time = zend_hrtime(); in zend_gc_collect_cycles()
/php-src/ext/standard/
H A Dhrtime.c51 zend_hrtime_t t = zend_hrtime(); in PHP_FUNCTION()
63 add_next_index_long(return_value, (zend_long)(t / (zend_hrtime_t)ZEND_NANO_IN_SEC)); in PHP_FUNCTION()
64 add_next_index_long(return_value, (zend_long)(t % (zend_hrtime_t)ZEND_NANO_IN_SEC)); in PHP_FUNCTION()

Completed in 15 milliseconds