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

1 2 3 4 5 6 7 8

  /device/generic/goldfish/dhcp/client/
timer.h 24 class Timer {
26 // Create a timer, initially the timer is already expired.
27 Timer();
29 // Set the timer to expire in |seconds| seconds.
32 // Return true if the timer has expired.
34 // Get the remaining time on the timer in milliseconds.
timer.cpp 17 #include "timer.h"
28 Timer::Timer() : mExpires(0) {
31 void Timer::expireSeconds(uint64_t seconds) {
35 bool Timer::expired() const {
39 uint64_t Timer::remainingMillis() const {
  /external/tensorflow/tensorflow/stream_executor/
timer.cc 16 #include "tensorflow/stream_executor/timer.h"
27 Timer::Timer(StreamExecutor *parent)
31 Timer::~Timer() { parent_->DeallocateTimer(this); }
33 uint64 Timer::Microseconds() const { return implementation_->Microseconds(); }
35 uint64 Timer::Nanoseconds() const { return implementation_->Nanoseconds(); }
timer.h 32 // An interval timer, suitable for use in timing the operations which occur in
36 // the system. Any operation that a user attempts to perform by using a Timer
39 class Timer {
41 // Instantiate a timer tied to parent as a platform executor.
42 explicit Timer(StreamExecutor *parent);
44 // Deallocates any timer resources that the parent StreamExecutor has bestowed
46 ~Timer();
48 // Returns the elapsed number of microseconds for a completed timer.
52 // Returns the elapsed number of nanoseconds for a completed timer.
62 // timer
    [all...]
  /external/swiftshader/src/Common/
Timer.hpp 22 class Timer
25 Timer();
27 ~Timer();
Timer.cpp 15 #include "Timer.hpp"
40 Timer::Timer()
44 Timer::~Timer()
48 double Timer::seconds()
59 int64_t Timer::ticks()
72 int64_t Timer::counter()
85 int64_t Timer::frequency()
  /external/pdfium/xfa/fwl/
cfwl_caret.h 38 class Timer : public CFWL_Timer {
40 explicit Timer(CFWL_Caret* pCaret);
41 ~Timer() override {}
45 friend class CFWL_Caret::Timer;
51 std::unique_ptr<CFWL_Caret::Timer> m_pTimer;
  /frameworks/rs/tests/lldb/tests/harness/
util_timer.py 15 '''Timer utility'''
22 class Timer(object):
23 '''A Timer utility to execute a callback after a certain interval.'''
26 '''Initialise the Timer without starting it.
48 '''Checks whether the timer is executing.
51 boolean, true if the timer is currently running, false otherwise
56 '''Starts the timer.
59 self, the Timer instance
62 RuntimeError: if the timer is already running
65 raise RuntimeError('Timer already running'
    [all...]
  /external/perfetto/include/perfetto/base/
watchdog_noop.h 27 class Timer {
30 Timer() {}
31 Timer(const Timer&) {}
32 ~Timer() {}
35 Timer CreateFatalTimer(uint32_t /*ms*/) { return Timer(); }
  /system/core/base/include/android-base/
chrono_utils.h 39 class Timer {
41 Timer() : start_(boot_clock::now()) {}
51 std::ostream& operator<<(std::ostream& os, const Timer& t);
  /toolchain/binutils/binutils-2.27/gold/
timer.h 0 // timer.h -- helper class for time accounting -*- C++ -*-
29 class Timer
45 Timer();
65 Timer(const Timer&);
66 Timer& operator=(const Timer&);
  /external/libchrome/base/timer/
timer.cc 5 #include "base/timer/timer.h"
22 // Timer in the thread's default task runner. It also handles the following
25 // - abandoned (orphaned) by Timer.
28 explicit BaseTimerTaskInternal(Timer* timer)
29 : timer_(timer) {
34 // destructed. If so, don't leave Timer with a dangling pointer
45 // *this will be deleted by the task runner, so Timer needs to
49 // Although Timer should not call back into *this, let's clea
51 Timer* timer = timer_; local
    [all...]
  /art/tools/dexfuzz/src/dexfuzz/
Timer.java 24 public class Timer {
26 * The name of the timer, the phase of the program it is intended to time.
42 * Initialise a new timer with the provided name.
44 public Timer(String name) {
65 * Log the elapsed time this timer has recorded.
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
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...]
  /device/linaro/bootloader/edk2/Omap35xxPkg/Library/Omap35xxTimerLib/
TimerLib.c 32 UINTN Timer = PcdGet32(PcdOmap35xxFreeTimer);
33 UINT32 TimerBaseAddress = TimerBase(Timer);
46 // Start Timer
49 // Disable OMAP Watchdog timer (WDT2)
123 // Timer starts with the reload value
128 // Timer counts up to 0xFFFFFFFF
  /external/ImageMagick/MagickCore/
timer.h 16 MagickCore timer methods.
38 } Timer;
42 Timer
  /external/mockito/src/main/java/org/mockito/internal/util/
Timer.java 9 public class Timer {
14 public Timer(long durationMillis) {
20 * Informs whether the timer is still counting down.
28 * Starts the timer count down.
  /external/python/cpython2/Lib/
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...]
  /external/python/cpython3/Lib/
timeit.py 9 Library usage: see the Timer class.
16 -r/--repeat N: how many times to repeat the timer (default 3)
43 Timer
58 __all__ = ["Timer", "timeit", "repeat", "default_timer"]
68 # in Timer.__init__() depend on setup being indented 4 spaces and stmt
84 class Timer:
88 statement used for setup, and a timer function. Both statements
89 default to 'pass'; the timer function is platform-dependent (see
102 def __init__(self, stmt="pass", setup="pass", timer=default_timer,
105 self.timer = time
    [all...]
  /external/skia/tests/
Test.cpp 57 skiatest::Timer::Timer() : fStartNanos(SkTime::GetNSecs()) {}
59 double skiatest::Timer::elapsedNs() const {
63 double skiatest::Timer::elapsedMs() const { return this->elapsedNs() * 1e-6; }
65 SkMSec skiatest::Timer::elapsedMsInt() const {
  /external/skia/tools/viewer/
StatsLayer.h 20 typedef int Timer;
22 Timer addTimer(const char* label, SkColor color, SkColor labelColor = 0);
23 void beginTiming(Timer);
24 void endTiming(Timer);
25 double getLastTime(Timer);
  /external/skqp/tests/
Test.cpp 57 skiatest::Timer::Timer() : fStartNanos(SkTime::GetNSecs()) {}
59 double skiatest::Timer::elapsedNs() const {
63 double skiatest::Timer::elapsedMs() const { return this->elapsedNs() * 1e-6; }
65 SkMSec skiatest::Timer::elapsedMsInt() const {
  /external/skqp/tools/viewer/
StatsLayer.h 20 typedef int Timer;
22 Timer addTimer(const char* label, SkColor color, SkColor labelColor = 0);
23 void beginTiming(Timer);
24 void endTiming(Timer);
25 double getLastTime(Timer);
  /prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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...]

Completed in 954 milliseconds

1 2 3 4 5 6 7 8