Home
last modified time | relevance | path

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

12345678910>>...17

/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 …]
DdeTimerTest.c46 deTimer* timer = DE_NULL; in deTimer_selfTest() local
51 timer = deTimer_create(timerCallback, (void*)&numCalls); in deTimer_selfTest()
52 DE_TEST_ASSERT(timer); in deTimer_selfTest()
65 scheduleOk = deTimer_scheduleSingle(timer, interval); in deTimer_selfTest()
67 scheduleOk = deTimer_scheduleInterval(timer, interval); in deTimer_selfTest()
72 deTimer_disable(timer); in deTimer_selfTest()
79 deTimer_destroy(timer); in deTimer_selfTest()
DdeTimer.h35 void deTimer_destroy (deTimer* timer);
37 deBool deTimer_scheduleSingle (deTimer* timer, int milliseconds);
38 deBool deTimer_scheduleInterval (deTimer* timer, int milliseconds);
40 deBool deTimer_isActive (const deTimer* timer);
41 void deTimer_disable (deTimer* timer);
/external/chromium-trace/catapult/tracing/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/valgrind/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/libchrome/base/timer/
Dmock_timer_unittest.cc18 base::MockTimer timer(false, false); in TEST() local
20 timer.Start(FROM_HERE, delay, in TEST()
23 EXPECT_EQ(delay, timer.GetCurrentDelay()); in TEST()
24 EXPECT_TRUE(timer.IsRunning()); in TEST()
25 timer.Fire(); in TEST()
26 EXPECT_FALSE(timer.IsRunning()); in TEST()
32 base::MockTimer timer(true, true); in TEST() local
34 timer.Start(FROM_HERE, delay, in TEST()
37 timer.Fire(); in TEST()
38 EXPECT_TRUE(timer.IsRunning()); in TEST()
[all …]
Dtimer_unittest.cc210 base::DelayTimer timer(FROM_HERE, TimeDelta::FromMilliseconds(1), &target, in RunTest_DelayTimer_NoCall() local
225 base::DelayTimer timer(FROM_HERE, TimeDelta::FromMilliseconds(1), &target, in RunTest_DelayTimer_OneCall() local
227 timer.Reset(); in RunTest_DelayTimer_OneCall()
238 ResetHelper(base::DelayTimer* timer, DelayTimerTarget* target) in ResetHelper()
239 : timer_(timer), target_(target) {} in ResetHelper()
256 base::DelayTimer timer(FROM_HERE, TimeDelta::FromMilliseconds(50), &target, in RunTest_DelayTimer_Reset() local
258 timer.Reset(); in RunTest_DelayTimer_Reset()
260 ResetHelper reset_helper(&timer, &target); in RunTest_DelayTimer_Reset()
290 base::DelayTimer timer(FROM_HERE, TimeDelta::FromMilliseconds(50), &target, in RunTest_DelayTimer_Deleted() local
292 timer.Reset(); in RunTest_DelayTimer_Deleted()
[all …]
/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 …]
DbenchVecAdd.cpp34 BenchTimer timer; in main() local
36 timer.reset(); in main()
39 timer.start(); in main()
41 timer.stop(); in main()
43 …std::cout << timer.value() << "s " << (double(size2*REPEAT)/timer.value())/(1024.*1024.*1024.) <<… in main()
53 timer.reset(); in main()
56 timer.start(); in main()
58 timer.stop(); in main()
60 …ut << innersize << " x " << outersize << " " << timer.value() << "s " << (double(size2*REPEAT)/ in main()
67 timer.reset(); in main()
[all …]
Dsparse_transpose.cpp29 timer.reset(); \
31 timer.start(); \
34 } timer.stop(); }
44 BenchTimer timer; in main() local
55 std::cout << " Eigen dense:\t" << timer.value() << endl; in main()
64 std::cout << " Eigen:\t" << timer.value() << endl; in main()
74 std::cout << " CSparse:\t" << timer.value() << endl; in main()
85 std::cout << " GMM:\t\t" << timer.value() << endl; in main()
95 std::cout << " MTL4:\t\t" << timer.value() << endl; in main()
DbenchBlasGemm.cpp107 Eigen::BenchTimer timer; in main() local
117 timer.reset(); in main()
120 timer.start(); in main()
127 timer.stop(); in main()
130 …std::cout << "cblas: " << timer.value() << " (" << 1e-3*floor(1e-6*nbmad/timer.value()) << " GFlop… in main()
132 … std::cout << M << " : " << timer.value() << " ; " << 1e-3*floor(1e-6*nbmad/timer.value()) << "\n"; in main()
143 timer.reset(); in main()
146 timer.start(); in main()
148 timer.stop(); in main()
151 …std::cout << "eigen : " << timer.value() << " (" << 1e-3*floor(1e-6*nbmad/timer.value()) << " GFlo… in main()
[all …]
/external/libcxxabi/test/support/
Dtimer.hpp10 class timer class
16 timer() : m_start(Clock::now()) {} in timer() function in timer
18 timer(timer const &) = delete;
19 timer & operator=(timer const &) = delete;
21 ~timer() in ~timer()
35 class timer class
38 timer() {} in timer() function in timer
39 timer(timer const &) = delete;
40 timer & operator=(timer const &) = delete;
41 ~timer() {} in ~timer()
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
Drendering_stats_unittest.py252 timer = MockTimer()
269 AddImplThreadRenderingStats(timer, thread_with_frames, True, None)
275 timer = MockTimer()
286 timer.AdvanceAndGet(2, 4), '')
291 AddSurfaceFlingerStats(timer, surface_flinger_thread, first, ref_stats)
292 timer.Advance(2, 4)
296 AddDisplayRenderingStats(timer, browser_main, first, None)
297 timer.Advance(5, 10)
299 browser_main.EndSlice(timer.AdvanceAndGet())
300 timer.Advance(2, 4)
[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/eigen/bench/spbench/
Dsp_solver.cpp27 BenchTimer timer,totaltime; in main() local
39 timer.start(); in main()
53 timer.stop(); in main()
71 cout<< "Time to load the matrix " << timer.value() <<endl; in main()
91 timer.reset(); in main()
92 timer.start(); in main()
102 timer.stop(); in main()
103 float time_comp = timer.value(); in main()
106 timer.reset(); in main()
107 timer.start(); in main()
[all …]
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 …]
/external/jemalloc/test/src/
Dtimer.c4 timer_start(timedelta_t *timer) in timer_start() argument
7 nstime_init(&timer->t0, 0); in timer_start()
8 nstime_update(&timer->t0); in timer_start()
12 timer_stop(timedelta_t *timer) in timer_stop() argument
15 nstime_copy(&timer->t1, &timer->t0); in timer_stop()
16 nstime_update(&timer->t1); in timer_stop()
20 timer_usec(const timedelta_t *timer) in timer_usec() argument
24 nstime_copy(&delta, &timer->t1); in timer_usec()
25 nstime_subtract(&delta, &timer->t0); in timer_usec()
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
Dtrafficshaper_test.py33 TIMER = platformsettings.timer
61 read_time = self.server.timer()
75 read_time = self.server.timer()
91 def __init__(self, host, port, timer=TIMER): argument
94 self.timer = timer
107 def __init__(self, host, port, timer=TIMER): argument
110 self.timer = timer
152 self.timer = TIMER
162 start_time = self.timer()
185 return GetElapsedMs(read_time, self.timer())
[all …]
/external/autotest/scheduler/
Dmonitor_db_cleanup.py54 timer = autotest_stats.Timer('monitor_db_cleanup.user_cleanup') variable in UserCleanup
62 @timer.decorate
73 @timer.decorate
84 @timer.decorate
104 @timer.decorate
160 @timer.decorate
190 @timer.decorate
216 @timer.decorate
230 timer = autotest_stats.Timer('monitor_db_cleanup.twentyfourhour_cleanup') variable in TwentyFourHourUpkeep
248 @timer.decorate
[all …]
/external/valgrind/none/tests/darwin/
Dbug228343.c25 struct itimerval timer; in EnableSigprof() local
26 timer.it_interval.tv_sec = 0; in EnableSigprof()
27 timer.it_interval.tv_usec = 1000000 / 10000; in EnableSigprof()
28 timer.it_value = timer.it_interval; in EnableSigprof()
29 if (setitimer(ITIMER_PROF, &timer, 0) != 0) { in EnableSigprof()
/external/compiler-rt/test/asan/TestCases/Linux/
Duar_signals.cc32 struct itimerval timer; in EnableSigprof() local
33 timer.it_interval.tv_sec = 0; in EnableSigprof()
34 timer.it_interval.tv_usec = 1; in EnableSigprof()
35 timer.it_value = timer.it_interval; in EnableSigprof()
36 if (setitimer(ITIMER_PROF, &timer, 0) != 0) { in EnableSigprof()

12345678910>>...17