Home
last modified time | relevance | path

Searched refs:timer (Results 1 – 25 of 567) sorted by relevance

12345678910>>...23

/external/deqp/framework/delibs/deutil/
DdeTimer.c39 HANDLE timer; member
44 const deTimer* timer = (const deTimer*)lpParameter; in timerCallback() local
47 timer->callback(timer->callbackArg); in timerCallback()
52 deTimer* timer = (deTimer*)deCalloc(sizeof(deTimer)); in deTimer_create() local
54 if (!timer) in deTimer_create()
57 timer->callback = callback; in deTimer_create()
58 timer->callbackArg = arg; in deTimer_create()
59 timer->timer = 0; in deTimer_create()
61 return timer; in deTimer_create()
64 void deTimer_destroy (deTimer* timer) in deTimer_destroy() argument
[all …]
/external/chromium-trace/trace-viewer/test_data/
Dv8.log204 timer-event-start,"V8.GCCompactor",1936
205 timer-event-end,"V8.GCCompactor",3220
430 timer-event-start,"V8.GCCompactor",5042
431 timer-event-end,"V8.GCCompactor",5967
554 timer-event-start,"V8.GCCompactor",7451
555 timer-event-end,"V8.GCCompactor",8337
780 timer-event-start,"V8.GCCompactor",10021
781 timer-event-end,"V8.GCCompactor",10894
1153 timer-event-start,"V8.ParseLazy",323077
1154 timer-event-end,"V8.ParseLazy",323361
[all …]
/external/srec/portable/src/
Dptimer.c46 ESR_ReturnCode PTimerCreate(PTimer **timer) in PTimerCreate() argument
50 if (timer == NULL) in PTimerCreate()
65 *timer = tmp; in PTimerCreate()
69 ESR_ReturnCode PTimerDestroy(PTimer *timer) in PTimerDestroy() argument
71 if (timer == NULL) return ESR_INVALID_ARGUMENT; in PTimerDestroy()
72 FREE(timer); in PTimerDestroy()
81 ESR_ReturnCode PTimerStart(PTimer *timer) in PTimerStart() argument
83 if (timer == NULL) return ESR_INVALID_ARGUMENT; in PTimerStart()
84 return (QueryPerformanceCounter(&timer->RefTime) ? in PTimerStart()
92 ESR_ReturnCode PTimerStop(PTimer *timer) in PTimerStop() argument
[all …]
Dpcputimer.c44 ESR_ReturnCode PCPUTimerCreate(PCPUTimer **timer) in PCPUTimerCreate() argument
48 if (timer == NULL) in PCPUTimerCreate()
56 *timer = tmp; in PCPUTimerCreate()
61 ESR_ReturnCode PCPUTimerDestroy(PCPUTimer *timer) in PCPUTimerDestroy() argument
63 if (timer == NULL) return ESR_INVALID_ARGUMENT; in PCPUTimerDestroy()
64 FREE(timer); in PCPUTimerDestroy()
73 ESR_ReturnCode PCPUTimerStart(PCPUTimer *timer) in PCPUTimerStart() argument
80 if (timer == NULL) return ESR_INVALID_ARGUMENT; in PCPUTimerStart()
81 if (!GetThreadTimes(timer->hThread, in PCPUTimerStart()
87 timer->RefTime.QuadPart = (((LARGE_INTEGER*) & KernelTime)->QuadPart + in PCPUTimerStart()
[all …]
/external/chromium_org/cc/scheduler/
Ddelay_based_time_source_unittest.cc24 scoped_refptr<FakeDelayBasedTimeSource> timer = in TEST() local
26 timer->SetClient(&client); in TEST()
28 timer->SetActive(true); in TEST()
29 EXPECT_TRUE(timer->Active()); in TEST()
32 timer->SetNow(timer->Now() + base::TimeDelta::FromMilliseconds(16)); in TEST()
34 EXPECT_TRUE(timer->Active()); in TEST()
42 scoped_refptr<FakeDelayBasedTimeSource> timer = in TEST() local
44 timer->SetClient(&client); in TEST()
45 timer->SetActive(true); in TEST()
47 timer->SetActive(false); in TEST()
[all …]
/external/qemu/telephony/
Dsysdeps_qemu.c51 QEMUTimer* timer; member
75 SysTimer timer = _s_free_timers; in sys_timer_alloc() local
77 if (timer != NULL) { in sys_timer_alloc()
78 _s_free_timers = timer->next; in sys_timer_alloc()
79 timer->next = NULL; in sys_timer_alloc()
80 timer->timer = NULL; in sys_timer_alloc()
82 return timer; in sys_timer_alloc()
87 sys_timer_free( SysTimer timer ) in sys_timer_free() argument
89 if (timer->timer) { in sys_timer_free()
90 timer_del( timer->timer ); in sys_timer_free()
[all …]
/external/chromium_org/v8/test/mjsunit/tools/
Dprofviz-test.log16 timer-event-start,"V8.GCCompactor",2425
17 timer-event-start,"V8.External",2458
18 timer-event-end,"V8.External",2468
19 timer-event-start,"V8.External",3810
20 timer-event-end,"V8.External",3830
21 timer-event-end,"V8.GCCompactor",3840
281 timer-event-start,"V8.GCCompactor",6301
282 timer-event-start,"V8.External",6312
283 timer-event-end,"V8.External",6321
284 timer-event-start,"V8.External",7418
[all …]
/external/valgrind/main/memcheck/tests/linux/
Dtimerfd-syscall.stderr.exp8 relative timer test (at 500 ms) ...
9 waiting timer ...
10 got timer ticks (1) after 0.5 s
11 absolute timer test (at 500 ms) ...
12 waiting timer ...
13 got timer ticks (1) after 0.5 s
14 sequential timer test (100 ms clock) ...
19 waiting timer ...
20 got about 20 timer ticks after about 2s
22 waiting timer (flush the single tick) ...
[all …]
/external/chromium_org/base/timer/
Dmock_timer_unittest.cc17 base::MockTimer timer(false, false); in TEST() local
19 timer.Start(FROM_HERE, delay, in TEST()
22 EXPECT_EQ(delay, timer.GetCurrentDelay()); in TEST()
23 EXPECT_TRUE(timer.IsRunning()); in TEST()
24 timer.Fire(); in TEST()
25 EXPECT_FALSE(timer.IsRunning()); in TEST()
31 base::MockTimer timer(true, true); in TEST() local
33 timer.Start(FROM_HERE, delay, in TEST()
36 timer.Fire(); in TEST()
37 EXPECT_TRUE(timer.IsRunning()); in TEST()
[all …]
Dtimer_unittest.cc193 base::DelayTimer<DelayTimerTarget> timer(FROM_HERE, in RunTest_DelayTimer_NoCall() local
208 base::DelayTimer<DelayTimerTarget> timer(FROM_HERE, in RunTest_DelayTimer_OneCall() local
210 timer.Reset(); in RunTest_DelayTimer_OneCall()
221 ResetHelper(base::DelayTimer<DelayTimerTarget>* timer, in ResetHelper()
223 : timer_(timer), in ResetHelper()
242 base::DelayTimer<DelayTimerTarget> timer(FROM_HERE, in RunTest_DelayTimer_Reset() local
244 timer.Reset(); in RunTest_DelayTimer_Reset()
246 ResetHelper reset_helper(&timer, &target); in RunTest_DelayTimer_Reset()
276 base::DelayTimer<DelayTimerFatalTarget> timer( in RunTest_DelayTimer_Deleted() local
279 timer.Reset(); in RunTest_DelayTimer_Deleted()
[all …]
/external/chromium_org/tools/telemetry/telemetry/web_perf/metrics/
Drendering_stats_unittest.py245 timer = MockTimer()
256 AddMainThreadRenderingStats(timer, thread_without_frames, True, None)
263 AddImplThreadRenderingStats(timer, thread_with_frames, True, None)
268 timer = MockTimer()
277 timer.Advance(2, 4)
278 renderer_main.BeginSlice('webkit.console', 'ActionA', timer.Get(), '')
281 AddMainThreadRenderingStats(timer, renderer_main, first, None)
282 AddImplThreadRenderingStats(timer, renderer_compositor, first, None)
283 timer.Advance(2, 4)
284 renderer_main.EndSlice(timer.Get())
[all …]
/external/pixman/pixman/
Dpixman-timer.c37 pixman_timer_t *timer; in dump_timers() local
39 for (timer = timers; timer != NULL; timer = timer->next) in dump_timers()
42 timer->name, in dump_timers()
43 timer->total, in dump_timers()
44 timer->n_times, in dump_timers()
45 timer->total / (double)timer->n_times); in dump_timers()
50 pixman_timer_register (pixman_timer_t *timer) in pixman_timer_register() argument
62 timer->next = timers; in pixman_timer_register()
63 timers = timer; in pixman_timer_register()
/external/eigen/bench/
Dsparse_dense_product.cpp29 timer.reset(); \
31 timer.start(); \
34 } timer.stop(); }
62 BenchTimer timer; in main() local
75 timer.reset(); in main()
76 timer.start(); in main()
79 timer.stop(); in main()
80 …std::cout << " a * v:\t" << timer.best() << " " << double(REPEAT)/timer.best() << " * / sec " <… in main()
82 timer.reset(); in main()
83 timer.start(); in main()
[all …]
Dsparse_lu.cpp34 timer.reset(); \
36 timer.start(); \
39 } timer.stop(); }
49 BenchTimer timer; timer.start(); in doEigen() local
51 timer.stop(); in doEigen()
53 std::cout << ":\t" << timer.value() << endl; in doEigen()
61 timer.reset(); timer.start(); in doEigen()
63 timer.stop(); in doEigen()
65 std::cout << " solve:\t" << timer.value() << endl; in doEigen()
77 BenchTimer timer; in main() local
[all …]
Dsparse_product.cpp31 timer.reset(); \
33 timer.start(); \
36 } timer.stop(); }
106 BenchTimer timer; in main() local
123 timer.reset(); in main()
124 timer.start(); in main()
127 timer.stop(); in main()
128 std::cout << " a * b:\t" << timer.value() << endl; in main()
130 timer.reset(); in main()
131 timer.start(); in main()
[all …]
Dsparse_cholesky.cpp34 timer.reset(); \
36 timer.start(); \
39 } timer.stop(); }
67 BenchTimer timer; in doEigen() local
68 timer.start(); in doEigen()
70 timer.stop(); in doEigen()
71 std::cout << ":\t" << timer.value() << endl; in doEigen()
82 BenchTimer timer; in main() local
111 BenchTimer timer; in main() local
112 timer.start(); in main()
[all …]
Dsparse_trisolver.cpp30 timer.reset(); \
32 timer.start(); \
35 } timer.stop(); }
61 BenchTimer timer; in main() local
87 std::cout << " colmajor^-1 * b:\t" << timer.value() << endl; in main()
91 std::cout << " rowmajor^-1 * b:\t" << timer.value() << endl; in main()
102 std::cout << " colmajor^-1 * b:\t" << timer.value() << endl; in main()
106 std::cout << " rowmajor^-1 * b:\t" << timer.value() << endl; in main()
130 std::cout << " colmajor^-1 * b:\t" << timer.value() << endl; in main()
148 std::cout << " colmajor^-1 * b:\t" << timer.value() << endl; in main()
[all …]
/external/chromium_org/components/domain_reliability/
Dutil_unittest.cc46 scoped_ptr<MockTime::Timer> timer(time_.CreateTimer()); in TEST_F() local
53 scoped_ptr<MockTime::Timer> timer(time_.CreateTimer()); in TEST_F() local
54 EXPECT_FALSE(timer->IsRunning()); in TEST_F()
55 timer->Start(FROM_HERE, delta, callback.callback()); in TEST_F()
56 EXPECT_TRUE(timer->IsRunning()); in TEST_F()
57 timer->Stop(); in TEST_F()
58 EXPECT_FALSE(timer->IsRunning()); in TEST_F()
65 scoped_ptr<MockTime::Timer> timer(time_.CreateTimer()); in TEST_F() local
67 timer->Start(FROM_HERE, 2 * delta, callback.callback()); in TEST_F()
78 scoped_ptr<MockTime::Timer> timer(time_.CreateTimer()); in TEST_F() local
[all …]
/external/qemu/android/
Dlooper.h92 void (*timer_init)(Looper* looper, LoopTimer* timer, LoopTimerFunc callback, void* opaque);
129 loopTimer_init(LoopTimer* timer, in loopTimer_init() argument
134 looper->timer_init(looper, timer, callback, opaque); in loopTimer_init()
139 loopTimer_done(LoopTimer* timer) in loopTimer_done() argument
141 timer->clazz->done(timer->impl); in loopTimer_done()
142 timer->clazz = NULL; in loopTimer_done()
143 timer->impl = NULL; in loopTimer_done()
151 loopTimer_startRelative(LoopTimer* timer, Duration timeout_ms) in loopTimer_startRelative() argument
153 timer->clazz->startRelative(timer->impl, timeout_ms); in loopTimer_startRelative()
163 loopTimer_startAbsolute(LoopTimer* timer, Duration deadline_ms) in loopTimer_startAbsolute() argument
[all …]
/external/icu/icu4c/source/tools/ctestfw/unicode/
Dutimer.h170 static int uprv_initFrequency(UTimer* timer) in uprv_initFrequency() argument
172 return QueryPerformanceFrequency(&timer->placeHolder); in uprv_initFrequency()
174 static void uprv_start(UTimer* timer) in uprv_start() argument
176 QueryPerformanceCounter(&timer->start); in uprv_start()
196 static void uprv_start(UTimer* timer) in uprv_start() argument
198 gettimeofday(&timer->start, 0); in uprv_start()
218 utimer_getTime(UTimer* timer){ in utimer_getTime() argument
219 uprv_initFrequency(timer); in utimer_getTime()
220 uprv_start(timer); in utimer_getTime()
247 utimer_getElapsedSeconds(UTimer* timer){ in utimer_getElapsedSeconds() argument
[all …]
/external/chromium_org/third_party/icu/source/tools/ctestfw/unicode/
Dutimer.h170 static int uprv_initFrequency(UTimer* timer) in uprv_initFrequency() argument
172 return QueryPerformanceFrequency(&timer->placeHolder); in uprv_initFrequency()
174 static void uprv_start(UTimer* timer) in uprv_start() argument
176 QueryPerformanceCounter(&timer->start); in uprv_start()
196 static void uprv_start(UTimer* timer) in uprv_start() argument
198 gettimeofday(&timer->start, 0); in uprv_start()
218 utimer_getTime(UTimer* timer){ in utimer_getTime() argument
219 uprv_initFrequency(timer); in utimer_getTime()
220 uprv_start(timer); in utimer_getTime()
247 utimer_getElapsedSeconds(UTimer* timer){ in utimer_getElapsedSeconds() argument
[all …]
/external/qemu/distrib/sdl-1.2.15/src/timer/unix/
DSDL_systimer.c171 struct itimerval timer; in SDL_SYS_StartTimer() local
173 timer.it_value.tv_sec = (SDL_alarm_interval/1000); in SDL_SYS_StartTimer()
174 timer.it_value.tv_usec = (SDL_alarm_interval%1000)*1000; in SDL_SYS_StartTimer()
175 timer.it_interval.tv_sec = (SDL_alarm_interval/1000); in SDL_SYS_StartTimer()
176 timer.it_interval.tv_usec = (SDL_alarm_interval%1000)*1000; in SDL_SYS_StartTimer()
177 setitimer(ITIMER_REAL, &timer, NULL); in SDL_SYS_StartTimer()
183 struct itimerval timer; in SDL_SYS_StopTimer() local
185 SDL_memset(&timer, 0, (sizeof timer)); in SDL_SYS_StopTimer()
186 setitimer(ITIMER_REAL, &timer, NULL); in SDL_SYS_StopTimer()
195 static SDL_Thread *timer = NULL; variable
[all …]
/external/chromium_org/third_party/WebKit/PerformanceTests/inspector/
Dheap-snapshot-performance-test.js20 function performanceTest(timer) argument
28 var fullTimerCookie = timer.start("full-summary-snapshot-time");
31 var backendTimerCookie = timer.start("take-snapshot");
36 timer.finish(backendTimerCookie);
37 transferTimerCookie = timer.start("transfer-snapshot");
47 timer.finish(transferTimerCookie);
48 showTimerCookie = timer.start("show-snapshot");
53 timer.finish(showTimerCookie);
54 changeViewTimerCookie = timer.start("switch-to-containment-view");
60 timer.finish(changeViewTimerCookie);
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/
DThreadTimers.cpp50 static MainThreadSharedTimer* timer = new MainThreadSharedTimer; in mainThreadSharedTimer() local
51 return timer; in mainThreadSharedTimer()
124 TimerBase& timer = *m_timerHeap.first(); in sharedTimerFiredInternal() local
125 timer.m_nextFireTime = 0; in sharedTimerFiredInternal()
126 timer.m_unalignedNextFireTime = 0; in sharedTimerFiredInternal()
127 timer.heapDeleteMin(); in sharedTimerFiredInternal()
129 double interval = timer.repeatInterval(); in sharedTimerFiredInternal()
130 timer.setNextFireTime(interval ? fireTime + interval : 0); in sharedTimerFiredInternal()
133 "src_file", timer.location().fileName(), in sharedTimerFiredInternal()
134 "src_func", timer.location().functionName()); in sharedTimerFiredInternal()
[all …]
/external/eigen/bench/spbench/
Dtest_sparseLU.cpp38 BenchTimer timer; in main() local
71 timer.start(); in main()
74 timer.stop(); in main()
75 cout << "Time to analyze " << timer.value() << std::endl; in main()
76 timer.reset(); in main()
77 timer.start(); in main()
79 timer.stop(); in main()
80 cout << "Factorize Time " << timer.value() << std::endl; in main()
81 timer.reset(); in main()
82 timer.start(); in main()
[all …]

12345678910>>...23