HomeSort by relevance Sort by last modified time
    Searched refs:timer (Results 1 - 25 of 795) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/pixman/pixman/
pixman-timer.c 37 pixman_timer_t *timer; local
39 for (timer = timers; timer != NULL; timer = timer->next)
42 timer->name,
43 timer->total,
44 timer->n_times,
45 timer->total / (double)timer->n_times)
    [all...]
  /external/qemu/telephony/
test1.c 22 SysTimer timer = _timer; local
28 sys_timer_set( timer, now + 2000, timer_func, timer );
30 sys_timer_destroy( timer );
36 SysTimer timer; local
41 /* create timer and register it */
42 timer = sys_timer_create();
43 sys_timer_set( timer, sys_time_ms() + 1000, timer_func, timer );
sysdeps_qemu.c 15 #include "qemu-timer.h"
51 QEMUTimer* timer; member in struct:SysTimerRec_
75 SysTimer timer = _s_free_timers; local
77 if (timer != NULL) {
78 _s_free_timers = timer->next;
79 timer->next = NULL;
80 timer->timer = NULL;
82 return timer;
87 sys_timer_free( SysTimer timer )
101 SysTimer timer = sys_timer_alloc(); local
    [all...]
  /external/srec/portable/src/
ptimer.c 44 * Creates a new timer object.
46 ESR_ReturnCode PTimerCreate(PTimer **timer)
50 if (timer == NULL)
65 *timer = tmp;
69 ESR_ReturnCode PTimerDestroy(PTimer *timer)
71 if (timer == NULL) return ESR_INVALID_ARGUMENT;
72 FREE(timer);
77 * Starts the timer. This sets the reference time from which all new elapsed
79 * useful to pause the timer.
81 ESR_ReturnCode PTimerStart(PTimer *timer)
158 timer_t timer; member in struct:PTimer_t
    [all...]
pcputimer.c 42 * Creates a new timer object.
44 ESR_ReturnCode PCPUTimerCreate(PCPUTimer **timer)
48 if (timer == NULL)
56 *timer = tmp;
61 ESR_ReturnCode PCPUTimerDestroy(PCPUTimer *timer)
63 if (timer == NULL) return ESR_INVALID_ARGUMENT;
64 FREE(timer);
69 * Starts the timer. This sets the reference time from which all new elapsed
71 * useful to pause the timer.
73 ESR_ReturnCode PCPUTimerStart(PCPUTimer *timer)
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/timer/dummy/
SDL_systimer.c 48 static SDL_Thread *timer = NULL; variable
65 timer = SDL_CreateThread(RunTimer, NULL);
66 if ( timer == NULL )
74 if ( timer ) {
75 SDL_WaitThread(timer, NULL);
76 timer = NULL;
82 SDL_SetError("Internal logic error: threaded timer in use");
  /external/srec/portable/include/
pcputimer.h 38 * Creates a new timer object.
40 * @param timer PCPUTimer handle
41 * @return ESR_INVALID_ARGUMENT if timer is value it points to is null
43 PORTABLE_API ESR_ReturnCode PCPUTimerCreate(PCPUTimer **timer);
47 * Destroys timer object.
49 * @param timer PCPUTimer handle
50 * @return ESR_INVALID_ARGUMENT if timer is null
52 PORTABLE_API ESR_ReturnCode PCPUTimerDestroy(PCPUTimer *timer);
55 * Starts the timer. This sets the reference time from which all new elapsed
57 * useful to pause the timer
    [all...]
ptimer.h 40 * Creates a new timer object.
42 * @param timer PTimer handle.
44 PORTABLE_API ESR_ReturnCode PTimerCreate(PTimer **timer);
47 * Destroys the timer object.
49 * @param timer PTimer handle.
51 PORTABLE_API ESR_ReturnCode PTimerDestroy(PTimer *timer);
54 * Starts the timer. This sets the reference time from which all new elapsed
56 * useful to pause the timer.
58 PORTABLE_API ESR_ReturnCode PTimerStart(PTimer *timer);
61 * Stops the timer
    [all...]
  /external/kernel-headers/original/linux/sunrpc/
timer.h 2 * linux/include/linux/sunrpc/timer.h
4 * Declarations for the RPC transport timer.
23 extern void rpc_update_rtt(struct rpc_rtt *rt, unsigned timer, long m);
24 extern unsigned long rpc_calc_rto(struct rpc_rtt *rt, unsigned timer);
26 static inline void rpc_set_timeo(struct rpc_rtt *rt, int timer, int ntimeo)
29 if (!timer)
31 t = &rt->ntimeouts[timer-1];
42 static inline int rpc_ntimeo(struct rpc_rtt *rt, int timer)
44 if (!timer)
46 return rt->ntimeouts[timer-1]
    [all...]
  /external/kernel-headers/original/linux/
timer.h 33 void fastcall init_timer(struct timer_list * timer);
35 static inline void setup_timer(struct timer_list * timer,
39 timer->function = function;
40 timer->data = data;
41 init_timer(timer);
45 * timer_pending - is a timer pending?
46 * @timer: the timer in question
48 * timer_pending will tell whether a given timer is currently pending,
50 * to this timer, eg. interrupt contexts, or other CPUs on SMP
    [all...]
  /bionic/libc/bionic/
pthread-timers.c 53 // C library. We use a very basic scheme where each timer is associated to a
66 // A SIGEV_THREAD timer ID will always have its TIMER_ID_WRAP_BIT
68 // guaranteed to never be used by kernel-provided timer ids
84 /* True iff a timer id is valid */
107 * the timer thread and the timer_XXX() functions
149 thr_timer_t* timer; local
155 timer = t->free_timer;
156 if (timer != NULL) {
157 t->free_timer = timer->next;
158 timer->next = NULL
185 thr_timer_t* timer = &t->timers[nn]; local
207 thr_timer_t* timer; local
270 thr_timer_t* timer = thr_timer_table_from_id( table, id, 0 ); local
362 thr_timer_t* timer = thr_timer_table_alloc(table); local
414 thr_timer_t* timer = thr_timer_table_from_id(table, id, 1); local
474 thr_timer_t* timer = thr_timer_from_id(id); local
502 thr_timer_t* timer = thr_timer_from_id(id); local
546 thr_timer_t* timer = thr_timer_from_id(id); local
564 thr_timer_t* timer = arg; local
649 thr_timer_table_free(__timer_table_get(), timer); local
    [all...]
  /external/chromium_org/cc/scheduler/
delay_based_time_source_unittest.cc 24 scoped_refptr<FakeDelayBasedTimeSource> timer = local
26 timer->SetClient(&client);
28 timer->SetActive(true);
29 EXPECT_TRUE(timer->Active());
32 timer->SetNow(timer->Now() + base::TimeDelta::FromMilliseconds(16));
34 EXPECT_TRUE(timer->Active());
42 scoped_refptr<FakeDelayBasedTimeSource> timer = local
44 timer->SetClient(&client);
45 timer->SetActive(true)
56 scoped_refptr<FakeDelayBasedTimeSource> timer = local
70 scoped_refptr<FakeDelayBasedTimeSource> timer = local
87 scoped_refptr<FakeDelayBasedTimeSource> timer = local
108 scoped_refptr<FakeDelayBasedTimeSource> timer = local
130 scoped_refptr<FakeDelayBasedTimeSource> timer = local
151 scoped_refptr<FakeDelayBasedTimeSource> timer = local
173 scoped_refptr<FakeDelayBasedTimeSource> timer = local
195 scoped_refptr<FakeDelayBasedTimeSource> timer = local
226 scoped_refptr<FakeDelayBasedTimeSource> timer = local
270 scoped_refptr<FakeDelayBasedTimeSource> timer = local
314 scoped_refptr<FakeDelayBasedTimeSource> timer = local
339 scoped_refptr<FakeDelayBasedTimeSource> timer = local
354 scoped_refptr<FakeDelayBasedTimeSource> timer = local
379 scoped_refptr<FakeDelayBasedTimeSource> timer = local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/timer/beos/
SDL_systimer.c 52 static SDL_Thread *timer = NULL; variable
69 timer = SDL_CreateThread(RunTimer, NULL);
70 if ( timer == NULL )
78 if ( timer ) {
79 SDL_WaitThread(timer, NULL);
80 timer = NULL;
86 SDL_SetError("Internal logic error: BeOS uses threaded timer");
  /external/qemu/distrib/sdl-1.2.15/src/timer/dc/
SDL_systimer.c 57 static SDL_Thread *timer = NULL; variable
74 timer = SDL_CreateThread(RunTimer, NULL);
75 if ( timer == NULL )
83 if ( timer ) {
84 SDL_WaitThread(timer, NULL);
85 timer = NULL;
91 SDL_SetError("Internal logic error: DC uses threaded timer");
  /external/eigen/bench/
sparse_lu.cpp 34 timer.reset(); \
36 timer.start(); \
39 } timer.stop(); }
49 BenchTimer timer; timer.start(); local
51 timer.stop();
53 std::cout << ":\t" << timer.value() << endl;
61 timer.reset(); timer.start();
63 timer.stop()
77 BenchTimer timer; local
99 BenchTimer timer; local
    [all...]
  /external/valgrind/main/memcheck/tests/linux/
timerfd-syscall.stderr.exp 8 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/qemu/distrib/sdl-1.2.15/src/timer/symbian/
SDL_systimer.cpp 66 static SDL_Thread *timer = NULL; variable
84 if(timer != NULL)
87 timer = SDL_CreateThread(RunTimer, NULL);
88 if ( timer == NULL )
96 if ( timer )
98 SDL_WaitThread(timer, NULL);
99 timer = NULL;
105 SDL_SetError("Internal logic error: Epoc uses threaded timer");
  /external/chromium_org/third_party/icu/source/tools/ctestfw/unicode/
utimer.h 56 * UTimer timer;
126 * void perf(UTimer* timer, UChar* source, int32_t sourceLen, UChar* target, int32_t targetLen, int32_t loopCount,UNormalizationMode mode, UErrorCode* error){
131 * utimer_getTime(timer);
170 int uprv_initFrequency(UTimer* timer)
172 return QueryPerformanceFrequency(&timer->placeHolder);
174 void uprv_start(UTimer* timer)
176 QueryPerformanceCounter(&timer->start);
192 int32_t uprv_initFrequency(UTimer* /*timer*/)
196 void uprv_start(UTimer* timer)
198 gettimeofday(&timer->start, 0)
267 UTimer timer; local
    [all...]
  /external/icu4c/tools/ctestfw/unicode/
utimer.h 56 * UTimer timer;
126 * void perf(UTimer* timer, UChar* source, int32_t sourceLen, UChar* target, int32_t targetLen, int32_t loopCount,UNormalizationMode mode, UErrorCode* error){
131 * utimer_getTime(timer);
170 static int uprv_initFrequency(UTimer* timer)
172 return QueryPerformanceFrequency(&timer->placeHolder);
174 static void uprv_start(UTimer* timer)
176 QueryPerformanceCounter(&timer->start);
192 static int32_t uprv_initFrequency(UTimer* /*timer*/)
196 static void uprv_start(UTimer* timer)
198 gettimeofday(&timer->start, 0)
267 UTimer timer; local
    [all...]
  /external/chromium_org/chrome/test/pyautolib/
timer_queue.py 38 """Adds a timer to the queue.
52 """Sets the timer check frequency, in seconds."""
56 """Removes a timer from the queue.
59 method: the timer containing the given method to be removed
62 for timer in self.timers:
63 if timer['method'] == method:
64 self.timers.remove(timer)
69 """Stops the timer."""
73 """Primary run loop for the timer."""
77 for timer in self.timers
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/
ThreadTimers.cpp 32 #include "core/platform/Timer.h"
51 static MainThreadSharedTimer* timer = new MainThreadSharedTimer; local
52 return timer;
94 // No need to restart the timer if both the pending fire time and the new fire time are in the past.
125 TimerBase* timer = m_timerHeap.first(); local
126 timer->m_nextFireTime = 0;
127 timer->m_unalignedNextFireTime = 0;
128 timer->heapDeleteMin();
130 double interval = timer->repeatInterval();
131 timer->setNextFireTime(interval ? fireTime + interval : 0)
    [all...]
  /external/chromium_org/webkit/browser/fileapi/
timed_task_helper_unittest.cc 28 TimedTaskHelper* timer() { return &timer_; } function in class:fileapi::__anon17203::Embedder
43 ASSERT_FALSE(embedder.timer()->IsRunning());
45 embedder.timer()->Start(
50 ASSERT_TRUE(embedder.timer()->IsRunning());
51 embedder.timer()->Reset();
52 ASSERT_TRUE(embedder.timer()->IsRunning());
68 ASSERT_FALSE(embedder.timer()->IsRunning());
70 embedder.timer()->Start(
75 ASSERT_TRUE(embedder.timer()->IsRunning());
timed_task_helper.cc 14 explicit Tracker(TimedTaskHelper* timer) : timer(timer) {}
17 if (timer)
18 timer->tracker_ = NULL;
21 TimedTaskHelper* timer; member in struct:fileapi::TimedTaskHelper::Tracker
32 tracker_->timer = NULL;
65 if (!tracker->timer)
67 TimedTaskHelper* timer = tracker->timer;
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/
timer.h 5 * Timer abstract layer
29 #define snd_timer_chip(timer) ((timer)->private_data)
37 #define SNDRV_TIMER_HW_SLAVE 0x00000004 /* only slave timer (variable resolution) */
39 #define SNDRV_TIMER_HW_TASKLET 0x00000010 /* timer is called from tasklet */
46 #define SNDRV_TIMER_IFLG_CALLBACK 0x00000020 /* timer callback is active */
58 unsigned long resolution; /* average timer resolution for one tick in nsec */
61 unsigned long ticks; /* max timer ticks per interrupt */
63 int (*open) (struct snd_timer * timer);
64 int (*close) (struct snd_timer * timer);
96 struct snd_timer *timer; member in struct:snd_timer_instance
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/
timer.h 5 * Timer abstract layer
29 #define snd_timer_chip(timer) ((timer)->private_data)
37 #define SNDRV_TIMER_HW_SLAVE 0x00000004 /* only slave timer (variable resolution) */
39 #define SNDRV_TIMER_HW_TASKLET 0x00000010 /* timer is called from tasklet */
46 #define SNDRV_TIMER_IFLG_CALLBACK 0x00000020 /* timer callback is active */
58 unsigned long resolution; /* average timer resolution for one tick in nsec */
61 unsigned long ticks; /* max timer ticks per interrupt */
63 int (*open) (struct snd_timer * timer);
64 int (*close) (struct snd_timer * timer);
96 struct snd_timer *timer; member in struct:snd_timer_instance
    [all...]

Completed in 648 milliseconds

1 2 3 4 5 6 7 8 91011>>