Searched refs:currentTime (Results 1 - 18 of 18) sorted by relevance

/haiku/src/kits/tracker/
H A DTaskLoop.cpp149 OneShotDelayedTask::RunIfNeeded(bigtime_t currentTime) argument
151 if (currentTime < fRunAfter)
180 PeriodicDelayedTask::RunIfNeeded(bigtime_t currentTime) argument
182 if (currentTime < fRunAfter)
185 fRunAfter = currentTime + fPeriod;
202 PeriodicDelayedTaskWithTimeout::RunIfNeeded(bigtime_t currentTime) argument
204 if (currentTime < fRunAfter)
207 fRunAfter = currentTime + fPeriod;
213 return currentTime > fTimeoutAfter;
239 RunWhenIdleTask::RunIfNeeded(bigtime_t currentTime) argument
265 ResetIdleTimer(bigtime_t currentTime) argument
275 IsIdle(bigtime_t currentTime, float taskOverhead) argument
310 IdleTimerExpired(bigtime_t currentTime) argument
317 StillIdle(bigtime_t currentTime) argument
414 bigtime_t currentTime = system_time(); local
[all...]
H A DTaskLoop.h57 virtual bool RunIfNeeded(bigtime_t currentTime) = 0;
73 virtual bool RunIfNeeded(bigtime_t currentTime);
87 virtual bool RunIfNeeded(bigtime_t currentTime);
101 virtual bool RunIfNeeded(bigtime_t currentTime);
116 virtual bool RunIfNeeded(bigtime_t currentTime);
119 void ResetIdleTimer(bigtime_t currentTime);
120 bool IdleTimerExpired(bigtime_t currentTime);
121 bool StillIdle(bigtime_t currentTime);
122 bool IsIdle(bigtime_t currentTime, float taskOverhead);
H A DStatusWindow.cpp926 bigtime_t currentTime = system_time(); local
927 if (!optional || ((currentTime - fLastUpdateTime) > kMaxUpdateInterval)) {
944 fLastUpdateTime = currentTime;
950 if (currentTime
957 * 1000000LL / (currentTime - fLastSpeedReferenceTime);
959 fLastSpeedReferenceTime = currentTime;
H A DFindPanel.cpp415 int32 currentTime = (int32)time(0); local
416 file->WriteAttr(kAttrQueryLastChange, B_INT32_TYPE, 0, &currentTime,
559 int32 currentTime = (int32)time(0); local
560 fFile->WriteAttr(kAttrQueryLastChange, B_INT32_TYPE, 0, &currentTime,
/haiku/headers/private/kernel/
H A Dreal_time_clock.h25 void set_real_time_clock_usecs(bigtime_t currentTime);
/haiku/src/system/kernel/
H A Dreal_time_clock.cpp88 uint32 currentTime; local
92 currentTime = (systemTimeOffset + system_time()) / 1000000;
95 dprintf("current_time: %" B_PRIu32 "\n", currentTime);
130 set_real_time_clock_usecs(bigtime_t currentTime) argument
132 arch_rtc_set_system_time_offset(sRealTimeData, currentTime
135 arch_rtc_set_system_time_offset(sRealTimeDataCompat, currentTime
144 set_real_time_clock(unsigned long currentTime) argument
146 set_real_time_clock_usecs((bigtime_t)currentTime * 1000000);
H A Dtimer.cpp322 bigtime_t currentTime = system_time(); local
338 scheduleTime += currentTime;
366 set_hardware_timer(scheduleTime, currentTime);
/haiku/src/kits/debugger/user_interface/util/
H A DUiUtils.cpp249 BDateTime currentTime; local
250 currentTime.SetTime_t(time(NULL));
254 currentTime.Date().Day(), currentTime.Date().Month(),
255 currentTime.Date().Year(), currentTime.Time().Hour(),
256 currentTime.Time().Minute(), currentTime.Time().Second());
266 BDateTime currentTime; local
267 currentTime
[all...]
/haiku/src/build/libroot/
H A Dsem.cpp100 bigtime_t currentTime = system_time();
101 if (timeout > B_INFINITE_TIMEOUT || currentTime >= B_INFINITE_TIMEOUT - timeout) {
104 timeout += currentTime;
/haiku/src/kits/locale/
H A DRelativeDateTimeFormat.cpp124 time_t currentTime = time(NULL);
127 fCalendar->setTime((UDate)currentTime * 1000, icuStatus);
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_standard_mouse.cpp100 bigtime_t currentTime = system_time(); local
103 if (cookie->click_last_time + cookie->click_speed > currentTime)
108 cookie->click_last_time = currentTime;
142 pos->timestamp = currentTime;
148 xDelta, yDelta, buttons, cookie->click_count, currentTime);
/haiku/src/preferences/time/
H A DDateTimeEdit.cpp62 bigtime_t currentTime = system_time();
63 if (currentTime - fLastKeyDownTime < 1000000) {
69 fLastKeyDownTime = currentTime;
431 bigtime_t currentTime = system_time();
432 if (currentTime - fLastKeyDownTime < 1000000) {
438 fLastKeyDownTime = currentTime;
/haiku/src/apps/webpositive/
H A DDownloadProgressView.cpp713 bigtime_t currentTime = system_time(); local
714 if ((currentTime - fLastUpdateTime) > kMaxUpdateInterval) {
715 fLastUpdateTime = currentTime;
717 if (currentTime >= fLastSpeedReferenceTime + kSpeedReferenceInterval) {
723 * 1000000LL / (currentTime - fLastSpeedReferenceTime);
725 fLastSpeedReferenceTime = currentTime;
/haiku/src/kits/mail/
H A DMailMessage.cpp853 time_t currentTime; local
875 time (&currentTime);
876 localtime_r (&currentTime, &timeFields);
H A Dmail_util.cpp1294 time_t currentTime; local
1356 time (&currentTime);
1357 dateAsTime = parsedate (tempDateString, currentTime);
/haiku/src/kits/interface/
H A DColumnTypes.cpp342 time_t currentTime = field->UnixTime(); local
347 localtime_r(&currentTime, &time_data);
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A Dkernel_interface.cpp761 bigtime_t currentTime = system_time(); local
762 bool result = (currentTime
766 fLastNotificationTime = currentTime;
1481 bigtime_t currentTime = system_time(); local
1482 bool result = (currentTime - fLastNotificationTime
1485 fLastNotificationTime = currentTime;
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A DKPPPInterface.cpp1821 uint32 currentTime = real_time_clock(); local
1823 fIdleSince = currentTime;
1829 && fIdleSince - currentTime >= fDisconnectAfterIdleSince)

Completed in 242 milliseconds