Searched refs:tv_nsec (Results 1 – 13 of 13) sorted by relevance
42 tv->tv_usec = ts.tv_nsec / 1000; in fpm_clock_get()97 tv->tv_usec = aTime.tv_nsec / 1000; in fpm_clock_get()
82 if (rqtp->tv_nsec > 999999999) { in nanosleep()87 return usleep( rqtp->tv_sec * 1000000 + rqtp->tv_nsec / 1000 ); in nanosleep()
35 long tv_nsec; /* nanoseconds */ member
88 struct timespec ts = { .tv_sec = 0, .tv_nsec = 0 }; in zend_hrtime()90 return ((zend_hrtime_t) ts.tv_sec * (zend_hrtime_t)ZEND_NANO_IN_SEC) + ts.tv_nsec; in zend_hrtime()
106 its.it_value.tv_nsec = its.it_interval.tv_sec = its.it_interval.tv_nsec = 0; in zend_max_execution_timer_settime()
120 t.tv_nsec = (timeout % 1000) * 1000 * 1000; in fpm_event_port_wait()
123 t.tv_nsec = (timeout % 1000) * 1000 * 1000; in fpm_event_kqueue_wait()
108 ts->tv_nsec = (t % CDF_TIME_PREC) * 100; in cdf_timestamp_to_timespec()
43 #define tv_nsec tv_usec macro
1016 zend_long tv_nsec = 0; in PHP_FUNCTION() local1023 Z_PARAM_LONG(tv_nsec) in PHP_FUNCTION()1037 if (tv_nsec < 0 || tv_nsec >= 1000000000) { in PHP_FUNCTION()1041 if (UNEXPECTED(tv_sec == 0 && tv_nsec == 0)) { in PHP_FUNCTION()1050 timeout.tv_nsec = tv_nsec; in PHP_FUNCTION()
1162 zend_long tv_sec, tv_nsec; local1167 Z_PARAM_LONG(tv_nsec)1174 if (tv_nsec < 0) {1180 php_req.tv_nsec = (long)tv_nsec;1187 add_assoc_long_ex(return_value, "nanoseconds", sizeof("nanoseconds")-1, php_rem.tv_nsec);1230 php_req.tv_nsec = (long) (diff_ns % ns_per_sec);1235 php_req.tv_nsec = php_rem.tv_nsec;
98 return ((uint64_t)ts.tv_sec * 1000000000) + ts.tv_nsec; in ir_perf_timestamp()
1211 -#define tv_nsec tv_usec
Completed in 46 milliseconds