/haiku/src/kits/support/ |
H A D | StopWatch.cpp | 67 fSuspendTime = system_time(); in Suspend() 75 fStart += system_time() - fSuspendTime; in Resume() 87 fLaps[fLap] = system_time(); in Lap() 89 return system_time() - fStart; in Lap() 101 return system_time() - fStart; in ElapsedTime() 108 fStart = system_time(); // store current time in Reset()
|
/haiku/src/tests/servers/app/newerClipping/ |
H A D | MultiLocker.cpp | 126 bigtime_t start = system_time(); in ReadLock() 154 bigtime_t end = system_time(); in ReadLock() 166 bigtime_t start = system_time(); in WriteLock() 210 bigtime_t end = system_time(); in WriteLock() 222 bigtime_t start = system_time(); in ReadUnlock() 247 bigtime_t end = system_time(); in ReadUnlock() 259 bigtime_t start = system_time(); in WriteUnlock() 300 bigtime_t end = system_time(); in WriteUnlock() 333 bigtime_t start = system_time(); in IsWriteLocked() 369 bigtime_t end = system_time(); in IsWriteLocked() [all …]
|
/haiku/src/system/boot/arch/arm64/ |
H A D | arch_cpu.cpp | 34 system_time() in system_time() function 37 #warning Implement system_time in ARM64 bootloader! in system_time() 54 auto time = system_time(); in spin() 56 while ((system_time() - time) < microseconds) in spin()
|
/haiku/src/servers/app/ |
H A D | MultiLocker.cpp | 115 bigtime_t start = system_time(); in IsWriteLocked() 124 bigtime_t end = system_time(); in IsWriteLocked() 137 bigtime_t start = system_time(); in ReadLock() 143 bigtime_t end = system_time(); in ReadLock() 156 bigtime_t start = system_time(); in WriteLock() 162 bigtime_t end = system_time(); in WriteLock() 175 bigtime_t start = system_time(); in ReadUnlock() 181 bigtime_t end = system_time(); in ReadUnlock() 194 bigtime_t start = system_time(); in WriteUnlock() 200 bigtime_t end = system_time(); in WriteUnlock() [all …]
|
/haiku/src/tests/system/kernel/ |
H A D | syscall_time.cpp | 19 bigtime_t startTime = system_time(); in main() 29 bigtime_t runTime = system_time() - startTime; in main() 33 startTime = system_time(); in main() 38 runTime -= system_time() - startTime; in main()
|
/haiku/src/tests/system/libroot/posix/ |
H A D | realtime_sem_test1.cpp | 28 system_time() in system_time() function 385 bigtime_t startTime = system_time(); in test_post_wait_named() 388 bigtime_t diffTime = system_time() - startTime; in test_post_wait_named() 520 bigtime_t startTime = system_time(); in test_post_wait_unnamed() 523 bigtime_t diffTime = system_time() - startTime; in test_post_wait_unnamed() 564 bigtime_t startTime = system_time(); in test_post_wait_named_fork() 566 bigtime_t diffTime = system_time() - startTime; in test_post_wait_named_fork() 593 bigtime_t startTime = system_time(); in test_post_wait_named_fork() 595 bigtime_t diffTime = system_time() - startTime; in test_post_wait_named_fork() 612 bigtime_t startTime = system_time(); in test_post_wait_named_fork() [all …]
|
/haiku/src/tests/kits/app/bmessenger/ |
H A D | SMLooper.cpp | 32 bigtime_t now = system_time(); in MessageReceived() 44 SetDeliveryTime(system_time()); in MessageReceived() 50 fReplyTime = system_time(); in MessageReceived() 138 looper->SetDeliveryTime(system_time()); in MessageReceived() 146 looper->SetReplyTime(system_time()); in MessageReceived()
|
H A D | LockTargetWithTimeoutTester.cpp | 150 bigtime_t time = system_time(); in LockTargetWithTimeoutTest4B() 152 time = system_time() - time - 50000; in LockTargetWithTimeoutTest4B() 191 bigtime_t time = system_time(); in LockTargetWithTimeoutTest5B() 193 time = system_time() - time - 25000; in LockTargetWithTimeoutTest5B() 231 bigtime_t time = system_time(); in LockTargetWithTimeoutTest6B() 233 time = system_time() - time - 50000; in LockTargetWithTimeoutTest6B() 272 bigtime_t time = system_time(); in LockTargetWithTimeoutTest7B() 274 time = system_time() - time - 25000; in LockTargetWithTimeoutTest7B()
|
/haiku/src/system/boot/platform/next_m68k/ |
H A D | cpu.cpp | 57 #warning M68K: move and implement system_time() 60 system_time(void) in system_time() function 72 bigtime_t time = system_time(); in spin() 73 while ((system_time() - time) < microseconds) in spin()
|
/haiku/src/tests/servers/app/benchmark/ |
H A D | VerticalLineTest.cpp | 43 fTestStart = system_time(); in Prepare() 51 bigtime_t now = system_time(); in RunIteration() 67 fTestDuration += system_time() - now; in RunIteration() 81 bigtime_t timeLeak = system_time() - fTestStart - fTestDuration; in PrintResults()
|
H A D | HorizontalLineTest.cpp | 43 fTestStart = system_time(); in Prepare() 51 bigtime_t now = system_time(); in RunIteration() 67 fTestDuration += system_time() - now; in RunIteration() 81 bigtime_t timeLeak = system_time() - fTestStart - fTestDuration; in PrintResults()
|
H A D | RandomLineTest.cpp | 44 fTestStart = system_time(); in Prepare() 50 bigtime_t now = system_time(); in RunIteration() 71 fTestDuration += system_time() - now; in RunIteration() 85 bigtime_t timeLeak = system_time() - fTestStart - fTestDuration; in PrintResults()
|
H A D | StringTest.cpp | 59 fTestStart = system_time(); in Prepare() 73 bigtime_t now = system_time(); in RunIteration() 92 fTestDuration += system_time() - now; in RunIteration() 106 bigtime_t timeLeak = system_time() - fTestStart - fTestDuration; in PrintResults()
|
/haiku/src/system/boot/platform/amiga_m68k/ |
H A D | cpu.cpp | 76 #warning M68K: move and implement system_time() 79 system_time(void) in system_time() function 91 bigtime_t time = system_time(); in spin() 92 while ((system_time() - time) < microseconds) in spin()
|
/haiku/src/system/boot/arch/riscv64/ |
H A D | arch_cpu.cpp | 60 system_time() in system_time() function 70 bigtime_t time = system_time(); in spin() 71 while ((system_time() - time) < microseconds) in spin()
|
/haiku/src/system/kernel/ |
H A D | real_time_clock.cpp | 58 seconds = (arch_rtc_get_system_time_offset(sRealTimeData) + system_time() in rtc_system_to_hw() 92 currentTime = (systemTimeOffset + system_time()) / 1000000; in rtc_debug() 93 dprintf("system_time: %" B_PRId64 "\n", system_time()); in rtc_debug() 133 - system_time()); in set_real_time_clock_usecs() 136 - system_time()); in set_real_time_clock_usecs() 153 return (arch_rtc_get_system_time_offset(sRealTimeData) + system_time()) in real_time_clock() 161 return arch_rtc_get_system_time_offset(sRealTimeData) + system_time(); in real_time_clock_usecs() 238 return system_time(); in _user_system_time()
|
/haiku/src/tests/kits/app/bmessagerunner/ |
H A D | SetIntervalTester.cpp | 126 bigtime_t startTime = system_time(); in SetInterval3() 138 startTime = system_time(); in SetInterval3() 163 bigtime_t startTime = system_time(); in SetInterval4() 175 startTime = system_time(); in SetInterval4() 200 bigtime_t startTime = system_time(); in SetInterval5() 212 startTime = system_time(); in SetInterval5() 241 bigtime_t startTime = system_time(); in SetInterval6() 258 startTime = system_time(); in SetInterval6() 287 bigtime_t startTime = system_time(); in SetInterval7() 304 startTime = system_time(); in SetInterval7()
|
/haiku/src/system/boot/platform/atari_m68k/ |
H A D | cpu.cpp | 99 #warning M68K: move and implement system_time() 102 system_time(void) in system_time() function 116 bigtime_t time = system_time(); in spin() 117 while ((system_time() - time) < microseconds) in spin()
|
/haiku/src/tests/add-ons/kernel/file_systems/shared/ |
H A D | fragmenter.cpp | 133 if (lastTime + 250000LL < system_time()) { in main() 135 lastTime = system_time(); in main() 154 if (lastTime + 250000LL < system_time()) { in main() 156 lastTime = system_time(); in main()
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | clock.c | 14 return USEC_2_TICKS(system_time()); in _get_ticks() 21 bigtime_t usecs = system_time(); in getmicrouptime()
|
/haiku/src/system/boot/platform/efi/arch/arm/ |
H A D | arch_cpu.cpp | 19 system_time() in system_time() function 21 #warning Implement system_time in ARM bootloader! in system_time()
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | sleep.c | 20 start = system_time(); in sleep() 30 return seconds - (unsigned)((system_time() - start) / 1000000); in sleep()
|
/haiku/headers/os/drivers/pcmcia/ |
H A D | cs_timer.h | 31 #define jiffies (system_time()) 32 #define RUN_AT(t) (system_time()+(t))
|
/haiku/src/apps/cortex/support/ |
H A D | ProfileBlock.h | 54 m_initTime(system_time()) {} in ProfileBlock() 57 m_target.addBlockEntry(m_name, system_time()-m_initTime); in ~ProfileBlock()
|
/haiku/src/add-ons/media/media-add-ons/dvb/ |
H A D | DVBCard.cpp | 156 bigtime_t start = system_time(); in SetTuningParameter() 167 printf("got signal after %.6f\n", (system_time() - start) / 1e6); in SetTuningParameter() 171 printf("got carrier after %.6f\n", (system_time() - start) / 1e6); in SetTuningParameter() 175 printf("got lock after %.6f\n", (system_time() - start) / 1e6); in SetTuningParameter() 181 } while ((system_time() - start) < 5000000); in SetTuningParameter()
|