/frameworks/rs/tests/lldb/tests/ |
run_test.py | 36 from harness.util_timer import Timer 158 '''Start a 'timeout' timer, to catch stalled execution. 160 This function will start a timer that will act as a timeout killing this 168 The instance of the Timer class that was created. 181 timer = Timer(interval, on_timeout) 182 timer.start() 183 atexit.register(Timer.stop, timer) 184 return timer [all...] |
/prebuilts/go/darwin-x86/src/time/ |
sleep_test.go | 70 // Yield so that the OS can wake up the timer thread, 85 garbage := make([]*Timer, 1<<17) 150 timers := make([]*Timer, n) 288 timer := AfterFunc(2*Second, func() { 289 t.Fatalf("timer %d was not stopped", i) 292 timer.Stop() 324 return errors.New("resetting unfired timer returned false") 329 return errors.New("timer fired early") 336 return errors.New("reset timer did not fire") 340 return errors.New("resetting expired timer returned true" [all...] |
/prebuilts/go/linux-x86/src/time/ |
sleep_test.go | 70 // Yield so that the OS can wake up the timer thread, 85 garbage := make([]*Timer, 1<<17) 150 timers := make([]*Timer, n) 288 timer := AfterFunc(2*Second, func() { 289 t.Fatalf("timer %d was not stopped", i) 292 timer.Stop() 324 return errors.New("resetting unfired timer returned false") 329 return errors.New("timer fired early") 336 return errors.New("reset timer did not fire") 340 return errors.New("resetting expired timer returned true" [all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeTimerLib/ |
DxeTimerLib.c | 2 A non-functional instance of the Timer Library.
23 #include <Protocol/Timer.h>
181 Register for the Timer AP protocol.
|
/device/linaro/bootloader/edk2/EmulatorPkg/TimerDxe/ |
Timer.c | 2 Emu Emulation Timer Architectural Protocol Driver as defined in DXE CIS
4 This Timer module uses an Emu Thread to simulate the timer-tick driven
5 timer service. In the future, the Thread creation should possibly be
22 #include <Protocol/Timer.h>
24 #include "Timer.h"
39 // The Timer Architectural Protocol that this driver produces
49 // The notification function to call on every timer interrupt
54 // The current period of the timer interrupt
96 the timer interrupt fires. It also passes the amount of time since the last [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/ |
Dhcp4Impl.h | 124 // Timer event and various timer
126 EFI_EVENT Timer;
128 UINT32 PacketToLive; // Retransmission timer for our packets
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/ |
Mtftp4Impl.h | 75 EFI_EVENT Timer; ///< Ticking timer for all the MTFTP clients
|
/external/jmdns/src/javax/jmdns/impl/ |
JmmDNSImpl.java | 16 import java.util.Timer; 60 private final Timer _timer; 72 _timer = new Timer("Multihommed mDNS.Timer", true); 566 public void start(Timer timer) { 567 timer.schedule(this, 0, DNSConstants.NETWORK_CHECK_INTERVAL);
|
/external/skia/tools/skpbench/ |
skpbench.py | 14 from threading import Thread, Timer 205 Timer(1, lambda: self._queue.put(Message(Message.POLL_HARDWARE)))
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
BatteryStatsNoteTest.java | 83 BatteryStats.Timer aggregTimer = bi.getUidStats().get(UID).getAggregatedPartialWakelockTimer();
|
BatteryStatsTimerTest.java | 29 import com.android.internal.os.BatteryStatsImpl.Timer; 37 class TestTimer extends Timer { 135 * to the timer. 142 TestTimer timer = new TestTimer(clocks, 0, timeBase); local 143 timer.nextComputeCurrentCount = 3000; 145 // Test that starting the timer counts the unplugged time and counters 146 timer.nextComputeRunTime = 4; 147 timer.onTimeStarted(10, 20, 50); 148 Assert.assertEquals(50, timer.lastComputeRunTimeRealtime); 149 Assert.assertEquals(4, timer.getUnpluggedTime()) 224 TestTimer timer = new TestTimer(clocks, 0, timeBase); local 259 TestTimer timer = new TestTimer(clocks, 0, timeBase); local 359 TestTimer timer = new TestTimer(clocks, 0, timeBase); local 401 TestTimer timer = new TestTimer(clocks, 0, timeBase); local 437 TestTimer timer = new TestTimer(clocks, 0, timeBase); local 460 TestTimer timer = new TestTimer(clocks, 0, timeBase); local [all...] |
/frameworks/base/data/sounds/ |
AudioPackage13_48.mk | 11 ALARM_FILES := Argon Carbon Helium Krypton Neon Oxygen Osmium Platinum Timer
|
/system/core/init/ |
reboot.cpp | 158 static void LogShutdownTime(UmountStat stat, Timer* t) { 224 Timer t; 271 Timer t; 310 Timer t;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/ |
DxeMain.inf | 66 Event/Timer.c
197 # EVENT_TYPE_RELATIVE_TIMER ## PRODUCES # DxeCore signals timer event.
198 # EVENT_TYPE_PERIODIC_TIMER ## PRODUCES # DxeCore signals timer event.
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
Tcp4Func.h | 682 Heart beat timer handler, queues the DPC at TPL_CALLBACK.
684 @param Event Timer event signaled, ignored.
685 @param Context Context of the timer event, ignored.
696 Enable a TCP timer.
699 @param Timer The index of the timer to be enabled.
700 @param TimeOut The timeout value of this timer.
706 IN UINT16 Timer,
711 Clear one TCP timer.
714 @param Timer The index of the timer to be cleared. [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
TcpFunc.h | 524 Heart beat timer handler, queues the DPC at TPL_CALLBACK.
526 @param[in] Event Timer event signaled, ignored.
527 @param[in] Context Context of the timer event, ignored.
538 Enable a TCP timer.
541 @param[in] Timer The index of the timer to be enabled.
542 @param[in] TimeOut The timeout value of this timer.
548 IN UINT16 Timer,
553 Clear one TCP timer.
556 @param[in] Timer The index of the timer to be cleared. [all...] |
/device/linaro/bootloader/edk2/PcAtChipsetPkg/ |
PcAtChipsetPkg.dsc | 51 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/tracing_agent/ |
cpu_tracing_agent.py | 9 from threading import Timer 296 Timer(interval, self._KeepTakingSnapshots).start()
|
/external/clang/lib/ASTMatchers/ |
ASTMatchFinder.cpp | 25 #include "llvm/Support/Timer.h" 308 TimeBucketRegion Timer; 311 Timer.setBucket(&TimeByBucket[MC->getID()]); 318 TimeBucketRegion Timer; 321 Timer.setBucket(&TimeByBucket[MC->getID()]); 523 TimeBucketRegion Timer; 526 Timer.setBucket(&TimeByBucket[MP.second->getID()]); 545 TimeBucketRegion Timer; 550 Timer.setBucket(&TimeByBucket[MP.second->getID()]); [all...] |
/external/llvm/include/llvm/IR/ |
LegacyPassManagers.h | 99 class Timer; 504 Timer *getPassTimer(Pass *);
|
/external/skia/tests/ |
Test.h | 136 /** Timer provides wall-clock duration since its creation. */ 137 class Timer { 139 /** Starts the timer. */ 140 Timer();
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
PassManagers.h | 98 class Timer; 457 Timer *getPassTimer(Pass *);
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
ItemDragListenerTest.java | 41 import java.util.Timer; 193 protected TestDragListener(TestDragHost dragHost, Timer timer, int timeout) { 194 super(dragHost, timer, timeout);
|
/toolchain/binutils/binutils-2.25/gold/ |
main.cc | 51 #include "timer.h" 167 Timer timer; local 170 timer.start(); 171 set_parameters_timer(&timer); 259 timer.stamp(2); 260 Timer::TimeStats elapsed = timer.get_pass_time(0); 268 elapsed = timer.get_pass_time(1); 276 elapsed = timer.get_pass_time(2) [all...] |
parameters.cc | 82 Parameters::set_timer(Timer* timer) 85 this->timer_ = timer; 290 set_parameters_timer(Timer* timer) 291 { static_parameters.set_timer(timer); }
|