/external/chromium_org/third_party/angle/util/ |
Timer.h | 10 class Timer 18 Timer *CreateTimer();
|
/external/chromium_org/third_party/skia/tools/timer/ |
Timer.cpp | 7 #include "Timer.h" 9 Timer::Timer(SkGLContextHelper* gl) 20 void Timer::start() { 30 void Timer::end() { 40 void Timer::truncatedEnd() {
|
Timer.h | 29 * platform specific Timer with a simple interface. The truncated 30 * timer doesn't include the time required for the GPU to finish 35 class Timer { 37 explicit Timer(SkGLContextHelper* gl = NULL); 58 // Same as Timer above, supporting only fWall but with much lower overhead. 59 // (Typically, ~30ns instead of Timer's ~1us.)
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
timer.py | 8 class Timer(object): 9 '''A simple timer which starts when constructed and stops when Stop is called. 17 '''Stops the timer. Must only be called once. Returns |self|. 24 '''Returns a new stopped Timer with this Timer's elapsed time + |other|'s. 29 self_and_other = Timer() 52 (closure return value, timer). 54 timer = Timer() 56 return closure(*args, **optargs), timer [all...] |
render_refresher.py | 14 from timer import Timer 41 timer = Timer() 61 timer.Stop().FormatElapsed())
|
cron_servlet.py | 22 from timer import Timer 111 timer = Timer() 117 _log.info('%s took %s' % (title, timer.Stop().FormatElapsed()))
|
refresh_servlet.py | 22 from timer import Timer, TimerClosure 102 timer = Timer() 113 (class_name, timer.Stop().FormatElapsed()))
|
/external/chromium_org/components/domain_reliability/ |
util.h | 35 // Mockable wrapper around TimeTicks::Now and Timer. Mock version is in 40 // Mockable wrapper around (a subset of) base::Timer. 41 class DOMAIN_RELIABILITY_EXPORT Timer { 43 virtual ~Timer(); 52 Timer(); 61 // Returns a new Timer, or a mocked version thereof. 62 virtual scoped_ptr<MockableTime::Timer> CreateTimer() = 0; 72 // base::Time{,Ticks}::Now() and base::Timer. 82 virtual scoped_ptr<MockableTime::Timer> CreateTimer() OVERRIDE;
|
util.cc | 11 #include "base/timer/timer.h" 18 class ActualTimer : public MockableTime::Timer { 20 // Initialize base timer with retain_user_info and is_repeating false. 25 // MockableTime::Timer implementation: 41 base::Timer base_timer_; 144 MockableTime::Timer::~Timer() {} 145 MockableTime::Timer::Timer() {} [all...] |
/external/chromium_org/gin/modules/ |
timer.cc | 5 #include "gin/modules/timer.h" 16 return gin::StringToSymbol(isolate, "::gin::Timer"); 21 // Timer ======================================================================= 23 gin::WrapperInfo Timer::kWrapperInfo = { gin::kEmbedderNativeGin }; 26 Handle<Timer> Timer::Create(TimerType type, v8::Isolate* isolate, int delay_ms, 28 return CreateHandle(isolate, new Timer(isolate, type == TYPE_REPEATING, 32 ObjectTemplateBuilder Timer::GetObjectTemplateBuilder(v8::Isolate* isolate) { 35 return Wrappable<Timer>::GetObjectTemplateBuilder(isolate) 37 base::Bind(&base::Timer::Stop, base::Unretained(&timer_)) [all...] |
timer.h | 9 #include "base/timer/timer.h" 20 // A simple scriptable timer that can work in one-shot or repeating mode. 21 class GIN_EXPORT Timer : public Wrappable<Timer> { 29 static Handle<Timer> Create(TimerType type, v8::Isolate* isolate, 36 Timer(v8::Isolate* isolate, bool repeating, int delay_ms, 38 virtual ~Timer(); 41 base::Timer timer_; 43 base::WeakPtrFactory<Timer> weak_factory_ [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/inspector/ |
performance-test.js | 5 var Timer = function(test, callback) 16 Timer.prototype = { 96 InspectorTest.timer = new Timer(perfTest, callback); 97 InspectorTest.timer._runTest(); 103 var timer = InspectorTest.timer; 105 if (timer) 106 cookie = timer.start(functionName); 109 if (timer) [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/cookies/ |
manager.js | 9 // A simple Timer class. 10 function Timer() { 103 var timer = new Timer(); 118 var timer = new Timer(); 122 timer.reset(); 138 var timer = new Timer(); 240 var timer = new Timer() [all...] |
/external/chromium_org/base/timer/ |
timer.cc | 5 #include "base/timer/timer.h" 18 // Timer in the thread's default task runner. It also handles the following 21 // - abandoned (orphaned) by Timer. 24 explicit BaseTimerTaskInternal(Timer* timer) 25 : timer_(timer) { 30 // destructed. If so, don't leave Timer with a dangling pointer 41 // *this will be deleted by the task runner, so Timer needs to 45 // Although Timer should not call back into *this, let's clea 47 Timer* timer = timer_; local [all...] |
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 69 class BASE_EXPORT Timer { 71 // Construct a timer in repeating or one-shot mode. Start or SetTaskInfo must 74 Timer(bool retain_user_task, bool is_repeating); 76 // Construct a timer with retained task info [all...] |
/external/lldb/tools/debugserver/source/ |
RNBSocket.h | 38 m_timer (true) // Make a thread safe timer 64 DNBTimer& Timer() { return m_timer; }
|
/external/chromium_org/tools/perf/metrics/ |
media.js | 36 metric.playbackTimer = new Timer(); 75 this.playbackTimer = new Timer(); 87 this.seekTimer = new Timer(); 92 var loopTimer = new Timer(); 147 function Timer() { 152 Timer.prototype = {
|
/external/lldb/include/lldb/Core/ |
Timer.h | 1 //===-- Timer.h -------------------------------------------------*- C++ -*-===// 23 /// @class Timer Timer.h "lldb/Core/Timer.h" 24 /// @brief A timer class that simplifies common timing metrics. 26 /// A scoped timer class that allows a variety of pthread mutex 27 /// objects to have a mutex locked when a Timer::Locker 29 /// when the Timer::Locker::Reset(pthread_mutex_t *) 34 class Timer 43 Timer(const char *category, const char *format, ...) __attribute__ ((format (printf, 3, 4))) [all...] |
/external/lldb/source/Core/ |
Timer.cpp | 1 //===-- Timer.cpp -----------------------------------------------*- C++ -*-===// 9 #include "lldb/Core/Timer.h" 24 uint32_t Timer::g_depth = 0; 25 uint32_t Timer::g_display_depth = 0; 26 FILE * Timer::g_file = NULL; 27 typedef std::vector<Timer *> TimerStack; 65 Timer::SetQuiet (bool value) 71 Timer::Initialize () 73 Timer::g_file = stdout; 78 Timer::Timer (const char *category, const char *format, ...) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
Timer.h | 117 class Timer FINAL : public TimerBase { 119 typedef void (TimerFiredClass::*TimerFiredFunction)(Timer*); 121 Timer(TimerFiredClass* o, TimerFiredFunction f) 128 // This raw pointer is safe as long as Timer<X> is held by the X itself (That's the case 157 // again, which might result in rescheduling the system timer which 184 // This raw pointer is safe as long as Timer<X> is held by the X itself (That's the case
|
/external/lldb/examples/python/ |
performance.py | 56 class Timer: 306 with Timer() as total_time: 309 with Timer() as breakpoint_timer:
|
/external/llvm/include/llvm/Support/ |
Timer.h | 1 //===-- llvm/Support/Timer.h - Interval Timing Support ----------*- C++ -*-===// 23 class Timer; 67 /// print - Print the current timer to standard error, and reset the "Started" 72 /// Timer - This class is used to track the amount of time spent between 75 /// By default, the Timer will print the amount of time it has captured to 76 /// standard error when the last timer is destroyed, otherwise it is printed 80 class Timer { 84 TimerGroup *TG; // The TimerGroup this Timer is in. 86 Timer **Prev, *Next; // Doubly linked list of timers in the group. 88 explicit Timer(StringRef N) : TG(nullptr) { init(N); [all...] |
/external/llvm/lib/Support/ |
Timer.cpp | 1 //===-- Timer.cpp - Interval Timing Support -------------------------------===// 14 #include "llvm/Support/Timer.h" 53 cl::desc("File to append -stats and -timer output to"), 100 // Timer Implementation 103 void Timer::init(StringRef N) { 104 assert(!TG && "Timer already initialized"); 111 void Timer::init(StringRef N, TimerGroup &tg) { 112 assert(!TG && "Timer already initialized"); 119 Timer::~Timer() { [all...] |
/external/chromium_org/chrome/browser/chromeos/system/ |
automatic_reboot_manager_unittest.cc | 122 typedef base::OneShotTimer<AutomaticRebootManager> Timer; 172 void VerifyTimerIsStopped(const Timer* timer) const; 173 void VerifyTimerIsRunning(const Timer* timer, 525 const Timer* timer) const { 526 if (timer) 527 EXPECT_FALSE(timer->IsRunning()); 531 const Timer* timer [all...] |
/external/chromium_org/v8/src/ |
compiler.h | 636 struct Timer { 637 Timer(OptimizedCompileJob* job, base::TimeDelta* location) 643 ~Timer() {
|