| /xnu-11215/osfmk/kern/ |
| H A D | clock.h | 127 clock_sec_t secs, 138 long *secs, 152 clock_sec_t *secs, 156 clock_sec_t *secs, 162 clock_sec_t secs, 166 clock_sec_t *secs, 170 clock_sec_t *secs, 181 clock_sec_t *secs, 191 clock_sec_t *secs, 195 clock_sec_t *secs, [all …]
|
| H A D | clock.c | 230 _bt->sec = *secs; in clock2bintime() 238 *secs = _bt->sec; in bintime2usclock() 245 *secs = _bt->sec; in bintime2nsclock() 683 clock_sec_t *secs, in clock_gettimeofday() argument 691 clock_sec_t *secs, in clock_gettimeofday_and_absolute_time() argument 745 newsecs = secs; in clock_set_calendar_microtime() 780 if (oldsecs < secs || (oldsecs == secs && oldmicrosecs < microsecs)) { in clock_set_calendar_microtime() 782 deltasecs = secs; in clock_set_calendar_microtime() 871 *secs = bt.sec; in clock_get_calendar_uptime() 1089 if ((sys > secs) || ((sys == secs) && (microsys > microsecs))) { in clock_initialize_calendar() [all …]
|
| H A D | clock_oldops.c | 288 clock_sec_t secs; in rtclock_gettime() local 291 clock_get_system_nanotime(&secs, &nsecs); in rtclock_gettime() 292 time->tv_sec = (unsigned int)secs; in rtclock_gettime() 302 clock_sec_t secs; in calend_gettime() local 305 clock_get_calendar_nanotime(&secs, &nsecs); in calend_gettime() 306 time->tv_sec = (unsigned int)secs; in calend_gettime()
|
| /xnu-11215/tools/trace/ |
| H A D | bridgetime.lua | 17 local secs = trace.convert_timestamp_to_nanoseconds(buf.timestamp - initial_timestamp) / 1000000000 20 char, secs, buf.debugname) 25 local secs = trace.convert_timestamp_to_nanoseconds(ts - initial_arm_timestamp) / 1000000000 26 return string.format("%6.9f", secs); 31 local secs = (ts - initial_intel_timestamp) / 1000000000 32 return string.format("%6.9f", secs); 36 local secs = (ts) / 1000000000 37 return string.format("%6.9f", secs);
|
| H A D | kqtrace.lua | 18 local secs = trace.convert_timestamp_to_nanoseconds(buf.timestamp - initial_timestamp) / 1000000000 32 type, secs, proc, buf.pid, buf.threadid, buf.debugname)
|
| H A D | wqtrace.lua | 18 local secs = trace.convert_timestamp_to_nanoseconds(buf.timestamp - initial_timestamp) / 1000000000 42 prefix, secs, proc, buf.pid, buf.threadid, buf.debugname)
|
| /xnu-11215/osfmk/i386/ |
| H A D | rtclock.c | 100 *secs = abstime / (uint64_t)NSEC_PER_SEC; in _absolutetime_to_microtime() 107 _absolutetime_to_nanotime(uint64_t abstime, clock_sec_t *secs, clock_usec_t *nanosecs) in _absolutetime_to_nanotime() argument 109 *secs = abstime / (uint64_t)NSEC_PER_SEC; in _absolutetime_to_nanotime() 385 clock_sec_t *secs, in clock_get_system_microtime() argument 390 _absolutetime_to_microtime(now, secs, microsecs); in clock_get_system_microtime() 395 clock_sec_t *secs, in clock_get_system_nanotime() argument 400 _absolutetime_to_nanotime(now, secs, nanosecs); in clock_get_system_nanotime() 507 clock_sec_t *secs, in absolutetime_to_microtime() argument 510 _absolutetime_to_microtime(abstime, secs, microsecs); in absolutetime_to_microtime() 515 clock_sec_t secs, in nanotime_to_absolutetime() argument [all …]
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IORTC.cpp | 36 IORTC::getUTCTimeOfDay( clock_sec_t * secs, clock_nsec_t * nsecs ) in getUTCTimeOfDay() argument 39 *secs = getGMTTimeOfDay(); in getUTCTimeOfDay() 43 IORTC::setUTCTimeOfDay( clock_sec_t secs, clock_nsec_t nsecs ) in setUTCTimeOfDay() argument 45 setGMTTimeOfDay(secs); in setUTCTimeOfDay()
|
| H A D | IOPlatformExpert.cpp | 400 IOPlatformExpert::setGMTTimeOfDay(long secs) in setGMTTimeOfDay() argument 496 *secs = getGMTTimeOfDay(); in getUTCTimeOfDay() 503 setGMTTimeOfDay(secs); in setUTCTimeOfDay() 1380 clock_sec_t secs; in PEGetGMTTimeOfDay() local 1383 PEGetUTCTimeOfDay(&secs, &usecs); in PEGetGMTTimeOfDay() 1384 return secs; in PEGetGMTTimeOfDay() 1388 PESetGMTTimeOfDay(long secs) in PESetGMTTimeOfDay() argument 1390 PESetUTCTimeOfDay(secs, 0); in PESetGMTTimeOfDay() 1398 *secs = 0; in PEGetUTCTimeOfDay() 1400 gIOPlatform->getUTCTimeOfDay(secs, &nsecs); in PEGetUTCTimeOfDay() [all …]
|
| H A D | IOPMrootDomain.cpp | 2827 secs = 0; in powerChangeDone() 2837 adjWakeTime = secs; in powerChangeDone() 2840 adjWakeTime = secs; in powerChangeDone() 2888 logtime(secs); in powerChangeDone() 2949 secs = 0; in powerChangeDone() 2990 secs = 0; in powerChangeDone() 4167 if (dict && secs) { in scheduleImmediateDebugWake() 4469 clock_sec_t secs; local 7706 n = secs % (24 * 3600); 7714 n = secs / (24 * 3600); [all …]
|
| H A D | IOKitKernelInternal.h | 237 void IOScreenLockTimeUpdate(clock_sec_t secs);
|
| /xnu-11215/osfmk/arm/ |
| H A D | rtclock.c | 283 clock_get_system_microtime(clock_sec_t * secs, in clock_get_system_microtime() argument 286 absolutetime_to_microtime(mach_absolute_time(), secs, microsecs); in clock_get_system_microtime() 290 clock_get_system_nanotime(clock_sec_t * secs, in clock_get_system_nanotime() argument 297 *secs = (t64 = abstime / rtclock_sec_divisor); in clock_get_system_nanotime() 463 clock_sec_t * secs, in absolutetime_to_microtime() argument 468 *secs = t64 = abstime / rtclock_sec_divisor; in absolutetime_to_microtime() 497 nanotime_to_absolutetime(clock_sec_t secs, in nanotime_to_absolutetime() argument 501 *result = ((uint64_t) secs * rtclock_sec_divisor) + in nanotime_to_absolutetime()
|
| /xnu-11215/iokit/IOKit/rtc/ |
| H A D | IORTCController.h | 63 virtual void setGMTTimeOfDay( long secs ) = 0; 65 virtual void getUTCTimeOfDay( clock_sec_t * secs, clock_nsec_t * nsecs ); 66 virtual void setUTCTimeOfDay( clock_sec_t secs, clock_nsec_t nsecs );
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_time.c | 124 clock_sec_t secs; in gettimeofday() local 129 clock_gettimeofday_and_absolute_time(&secs, &usecs, &mach_time); in gettimeofday() 136 user_atv.tv_sec = (uint32_t)secs; in gettimeofday() 141 user_atv.tv_sec = (uint32_t)secs; in gettimeofday() 270 clock_sec_t secs; in boottime_sec() local 273 clock_get_boottime_nanotime(&secs, &nanosecs); in boottime_sec() 274 return secs; in boottime_sec() 280 clock_sec_t secs; in boottime_timeval() local 283 clock_get_boottime_microtime(&secs, µsecs); in boottime_timeval() 285 tv->tv_sec = secs; in boottime_timeval()
|
| H A D | kern_ntptime.c | 531 ntp_update_second(int64_t *adjustment, clock_sec_t secs) in ntp_update_second() argument 539 if (secs > last_time_maxerror_update) { in ntp_update_second() 540 time_maxerror += (MAXFREQ / 1000) * (secs - last_time_maxerror_update); in ntp_update_second() 541 last_time_maxerror_update = secs; in ntp_update_second()
|
| H A D | subr_prf.c | 299 logtime(time_t secs) in logtime() argument 301 printf("Time 0x%lx Message ", secs); in logtime()
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOPlatformExpert.h | 123 extern void PESetGMTTimeOfDay( long secs ); 124 extern void PEGetUTCTimeOfDay( clock_sec_t * secs, clock_usec_t * usecs ); 125 extern void PESetUTCTimeOfDay( clock_sec_t secs, clock_usec_t usecs ); 277 virtual void setGMTTimeOfDay( long secs ); 313 virtual void getUTCTimeOfDay( clock_sec_t * secs, clock_nsec_t * nsecs ); 314 virtual void setUTCTimeOfDay( clock_sec_t secs, clock_nsec_t nsecs );
|
| /xnu-11215/tests/ |
| H A D | locks.c | 85 uint32_t secs = 4; variable 93 T_EXPECT_EQ(1ll, run_sysctl_test("smr_sleepable_stress", secs), "test succeeded");
|
| /xnu-11215/bsd/net/ |
| H A D | devtimer.c | 83 uint64_t secs; in timeval_to_absolutetime() local 87 &secs); in timeval_to_absolutetime() 90 return secs + usecs; in timeval_to_absolutetime()
|
| /xnu-11215/osfmk/arm/commpage/ |
| H A D | commpage.c | 207 clock_sec_t secs; in commpage_populate() local 209 clock_get_boottime_microtime(&secs, µsecs); in commpage_populate() 210 commpage_update_boottime(secs * USEC_PER_SEC + microsecs); in commpage_populate() 342 uint64_t secs, in commpage_set_timestamp() argument 359 commpage_timeofday_datap->TimeStamp_sec = secs; in commpage_set_timestamp()
|
| H A D | commpage.h | 37 extern void commpage_set_timestamp(uint64_t tbr, uint64_t secs, uint64_t frac, uint64_t scale, …
|
| /xnu-11215/iokit/IOKit/platform/ |
| H A D | ApplePlatformExpert.h | 80 virtual void setGMTTimeOfDay(long secs) APPLE_KEXT_OVERRIDE;
|
| /xnu-11215/bsd/sys/ |
| H A D | timex.h | 197 void ntp_update_second(int64_t *adjustment, clock_sec_t secs);
|
| /xnu-11215/osfmk/i386/commpage/ |
| H A D | commpage.c | 432 clock_sec_t secs; in commpage_boottime_init() local 434 clock_get_boottime_microtime(&secs, µsecs); in commpage_boottime_init() 435 commpage_update_boottime(secs * USEC_PER_SEC + microsecs); in commpage_boottime_init()
|
| /xnu-11215/bsd/netinet6/ |
| H A D | in6_src.c | 286 uint64_t secs = net_uptime(); in in6_selectsrc_core() local 404 if (!ip6_use_deprecated && IFA6_IS_DEPRECATED(ia, secs)) { in in6_selectsrc_core() 444 if (!IFA6_IS_DEPRECATED(ia_best, secs) && in in6_selectsrc_core() 445 IFA6_IS_DEPRECATED(ia, secs)) { in in6_selectsrc_core() 448 if (IFA6_IS_DEPRECATED(ia_best, secs) && in in6_selectsrc_core() 449 !IFA6_IS_DEPRECATED(ia, secs)) { in in6_selectsrc_core()
|