HomeSort by relevance Sort by last modified time
    Searched defs:Timer (Results 26 - 50 of 185) sorted by null

12 3 4 5 6 7 8

  /prebuilts/go/darwin-x86/src/time/
sleep.go 15 // Must be in sync with ../runtime/time.go:/^type timer
45 // The Timer type represents a single event.
46 // When the Timer expires, the current time will be sent on C,
47 // unless the Timer was created by AfterFunc.
48 // A Timer must be created with NewTimer or AfterFunc.
49 type Timer struct {
54 // Stop prevents the Timer from firing.
55 // It returns true if the call stops the timer, false if the timer has already
60 // To prevent a timer created with NewTimer from firing after a call to Stop
    [all...]
  /prebuilts/go/linux-x86/src/time/
sleep.go 15 // Must be in sync with ../runtime/time.go:/^type timer
45 // The Timer type represents a single event.
46 // When the Timer expires, the current time will be sent on C,
47 // unless the Timer was created by AfterFunc.
48 // A Timer must be created with NewTimer or AfterFunc.
49 type Timer struct {
54 // Stop prevents the Timer from firing.
55 // It returns true if the call stops the timer, false if the timer has already
60 // To prevent a timer created with NewTimer from firing after a call to Stop
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
timeit.py 9 Library usage: see the Timer class.
16 -r/--repeat N: how many times to repeat the timer (default 3)
33 The difference in default timer function is because on Windows,
36 time() is much more precise. On either platform, the default timer
64 __all__ = ["Timer"]
71 # On Windows, the best timer is time.clock()
74 # On most other platforms the best timer is time.time()
78 # in Timer.__init__() depend on setup being indented 4 spaces and stmt
95 """Create a timer function. Used if the "statement" is a callable."""
105 class Timer
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
timeit.py 9 Library usage: see the Timer class.
16 -r/--repeat N: how many times to repeat the timer (default 3)
33 The difference in default timer function is because on Windows,
36 time() is much more precise. On either platform, the default timer
64 __all__ = ["Timer"]
71 # On Windows, the best timer is time.clock()
74 # On most other platforms the best timer is time.time()
78 # in Timer.__init__() depend on setup being indented 4 spaces and stmt
95 """Create a timer function. Used if the "statement" is a callable."""
105 class Timer
    [all...]
  /toolchain/binutils/binutils-2.27/gold/
timer.cc 0 // timer.cc -- helper class for time accounting
33 #include "timer.h"
38 // Class Timer
40 Timer::Timer()
49 Timer::start()
56 Timer::stamp(int n)
93 Timer::get_time(TimeStats *now)
108 Timer::TimeStats
109 Timer::get_elapsed_time(
    [all...]
  /external/perfetto/src/base/
watchdog_posix.cc 77 Watchdog::Timer Watchdog::CreateFatalTimer(uint32_t ms) {
78 return Watchdog::Timer(ms);
233 Watchdog::Timer::Timer(uint32_t ms) {
244 Watchdog::Timer::~Timer() {
250 Watchdog::Timer::Timer(Timer&& other) {
  /external/pdfium/xfa/fwl/
cfwl_caret.cpp 30 m_pTimer(pdfium::MakeUnique<CFWL_Caret::Timer>(this)),
99 CFWL_Caret::Timer::Timer(CFWL_Caret* pCaret) : CFWL_Timer(pCaret) {}
101 void CFWL_Caret::Timer::Run(CFWL_TimerInfo* pTimerInfo) {
cfwl_scrollbar.h 57 class Timer : public CFWL_Timer {
59 explicit Timer(CFWL_ScrollBar* pToolTip);
60 ~Timer() override {}
64 friend class CFWL_ScrollBar::Timer;
136 CFWL_ScrollBar::Timer m_Timer;
  /external/python/cpython3/Lib/test/
test_sched.py 13 class Timer:
65 timer = Timer()
66 scheduler = sched.scheduler(timer.time, timer.sleep)
71 timer.advance(1)
76 timer.advance(2)
80 timer.advance(1)
83 timer.advance(1)
86 timer.advance(1000
    [all...]
  /frameworks/av/media/libstagefright/include/media/stagefright/
MediaClock.h 64 // request to set up a timer. The target time is |mediaTimeUs|, adjusted by
83 struct Timer {
84 Timer(const sp<AMessage> &notify, int64_t mediaTimeUs, int64_t adjustRealUs);
113 std::list<Timer> mTimers;
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Event/
Event.h 37 /// Timer event information
67 TIMER_EVENT_INFO Timer;
89 Initializes timer support.
  /device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
IScsiDhcp6.c 378 EFI_EVENT Timer;
400 Timer = NULL;
460 Status = gBS->CreateEvent (EVT_TIMER, TPL_CALLBACK, NULL, NULL, &Timer);
466 Timer,
477 TimerStatus = gBS->CheckEvent (Timer);
503 if (Timer != NULL) {
504 gBS->CloseEvent (Timer);
  /external/pdfium/testing/
embedder_test_timer_handling_delegate.h 25 struct Timer {
43 std::pair<int, Timer>(msecs + fake_elapsed_msecs_, {id, msecs, fn}));
68 Timer t = iter->second;
71 std::pair<int, Timer>(fake_elapsed_msecs_ + t.interval, t));
72 t.fn(t.id); // Fire timer.
81 std::multimap<int, Timer> expiry_to_timer_map_; // Keyed by timeout.
  /external/perfetto/include/perfetto/base/
watchdog_posix.h 34 // Handle to the timer set to crash the program. If the handle is dropped,
35 // the timer is removed so the program does not crash.
36 class Timer {
38 ~Timer();
39 Timer(Timer&&) noexcept;
44 explicit Timer(uint32_t ms);
45 Timer(const Timer&) = delete;
46 Timer& operator=(const Timer&) = delete
    [all...]
  /device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL180MciDxe/
PL180Mci.c 91 // Set Data Length & Data Timer
316 UINTN Timer;
327 Timer = MMCI0_TIMEOUT * 100;
380 Timer = MMCI0_TIMEOUT * 60;
384 while (((Status & MCI_STATUS_TXDONE) != MCI_STATUS_TXDONE) && Timer) {
387 while (((Status & MCI_STATUS_CMD_DATAEND) != MCI_STATUS_CMD_DATAEND) && Timer) {
391 Timer--;
397 if (Timer == 0) {
445 // Set Data Length & Data Timer
  /device/linaro/bootloader/edk2/NetworkPkg/Application/Ping6/
Ping6.h 56 EFI_EVENT Timer;
76 In IA64, the register is the Interval Timer Vector (ITV).
  /device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/
Dhcp6Impl.c 607 EFI_EVENT Timer;
655 Status = gBS->CreateEvent (EVT_TIMER, TPL_CALLBACK, NULL, NULL, &Timer);
661 // Start the timer, wait for link local address DAD to finish.
663 Status = gBS->SetTimer (Timer, TimerRelative, GetMappingTimeOut);
665 gBS->CloseEvent (Timer);
670 TimerStatus = gBS->CheckEvent (Timer);
686 gBS->CloseEvent (Timer);
718 the state transfers to Dhcp6Bound and the valid and preferred timer restarts.
719 If fails, the state transfers to Dhcp6Bound, but the timer continues.
722 to Dhcp6Bound and the valid and preferred timer restarts. If it fails, the state
    [all...]
  /device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DnsDhcp.c 622 EFI_EVENT Timer;
629 Timer = NULL;
700 Status = gBS->CreateEvent (EVT_TIMER, TPL_CALLBACK, NULL, NULL, &Timer);
706 Timer,
716 TimerStatus = gBS->CheckEvent (Timer);
741 if (Timer != NULL) {
742 gBS->CloseEvent (Timer);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
Timer.java 18 public final class Timer {
30 public Timer start() {
57 public Timer setTimingPeriod(long timingPeriod) {
73 public String toString(Timer other) {
  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
Timer.java 15 public final class Timer {
27 public Timer start() {
54 public Timer setTimingPeriod(long timingPeriod) {
70 public String toString(Timer other) {
  /external/libchrome/base/timer/
timer.h 5 // OneShotTimer and RepeatingTimer provide a simple timer API. As the names
10 // OneShotTimer and RepeatingTimer both cancel the timer when they go out of
14 // receive timer events.
36 // allows you to easily defer the timer event until the timer delay passes once
47 // IMPORTANT: If you change timer code, make sure that all tests (including
73 class BASE_EXPORT Timer {
75 // Construct a timer in repeating or one-shot mode. Start or SetTaskInfo must
80 Timer(bool retain_user_task, bool is_repeating);
81 Timer(bool retain_user_task, bool is_repeating, TickClock* tick_clock)
    [all...]
  /external/llvm/include/llvm/Support/
Timer.h 1 //===-- llvm/Support/Timer.h - Interval Timing Support ----------*- C++ -*-===//
22 class Timer;
70 /// Timer - This class is used to track the amount of time spent between
73 /// By default, the Timer will print the amount of time it has captured to
74 /// standard error when the last timer is destroyed, otherwise it is printed
78 class Timer {
82 bool Running; // Is the timer currently running?
83 bool Triggered; // Has the timer ever been triggered?
84 TimerGroup *TG; // The TimerGroup this Timer is in.
86 Timer **Prev, *Next; // Doubly linked list of timers in the group
    [all...]
  /external/swiftshader/third_party/LLVM/include/llvm/Support/
Timer.h 1 //===-- llvm/Support/Timer.h - Interval Timing Support ----------*- C++ -*-===//
10 // This file defines three classes: Timer, TimeRegion, and TimerGroup,
27 class Timer;
71 /// print - Print the current timer to standard error, and reset the "Started"
76 /// Timer - This class is used to track the amount of time spent between
79 /// By default, the Timer will print the amount of time it has captured to
80 /// standard error when the laster timer is destroyed, otherwise it is printed
84 class Timer {
88 TimerGroup *TG; // The TimerGroup this Timer is in.
90 Timer **Prev, *Next; // Doubly linked list of timers in the group
    [all...]
  /frameworks/av/media/libstagefright/
MediaClock.cpp 33 MediaClock::Timer::Timer(const sp<AMessage> &notify, int64_t mediaTimeUs, int64_t adjustRealUs)
265 std::multimap<int64_t, Timer> notifyList;
  /libcore/ojluni/src/main/java/java/util/
Timer.java 36 * <p>Corresponding to each <tt>Timer</tt> object is a single background
37 * thread that is used to execute all of the timer's tasks, sequentially.
38 * Timer tasks should complete quickly. If a timer task takes excessive time
39 * to complete, it "hogs" the timer's task execution thread. This can, in
44 * <p>After the last live reference to a <tt>Timer</tt> object goes away
45 * <i>and</i> all outstanding tasks have completed execution, the timer's task
50 * wants to terminate a timer's task execution thread rapidly, the caller
51 * should invoke the timer's <tt>cancel</tt> method.
53 * <p>If the timer's task execution thread terminates unexpectedly, fo
    [all...]

Completed in 1011 milliseconds

12 3 4 5 6 7 8