/barrelfish-2018-10-04/include/timer/ |
H A D | timer.h | 3 * \brief Barrelfish timer interface. 24 struct timer; 29 typedef void (*timer_callback_fn)(struct timer *, void *); 31 struct timer { struct 32 struct timer *prev, *next; 41 struct timer *timer_new(void); 42 void timer_start(struct timer *timer); 43 void timer_stop(struct timer *timer); 55 timer_set_duration(struct timer *timer, uint64_t duration, bool periodic) argument 69 timer_set_callback(struct timer *timer, timer_callback_fn callback, void *data) argument [all...] |
/barrelfish-2018-10-04/kernel/arch/x86/ |
H A D | pit.c | 3 * \brief x86 legacy timer driver (PIT). 22 static struct lpc_timer_t timer; ///< Mackerel state for timer registers variable in typeref:struct:lpc_timer_t 25 * \brief Set hardware timer mode and count value 27 * Sets timer 0 as either a rate generator (mode 2) or one-shot timer (mode 0) 31 * \param count Count for oneshot timer, rate for ticker 32 * \param periodic True for a periodic timer, false for oneshot 43 // Prepare timer 0 to set its count 44 lpc_timer_tcw_wr(&timer, tc [all...] |
/barrelfish-2018-10-04/kernel/ |
H A D | timer.c | 5 * To simplify things we maintain one timer for the scheduler, and one for the 7 * their timer value. When an update happens, we update the hardware timer if 8 * the previous (global) timer has changed. 20 #include <timer.h> 24 static systime_t next_sched_timer = TIMER_INF; //< timer for scheduler 25 static systime_t next_wakeup_timer = TIMER_INF; //< timer for wakeups 26 static systime_t last_timer; //< last set timer 32 systime_t timer = MIN(next_sched_timer, next_wakeup_timer); local 33 assert(timer ! [all...] |
/barrelfish-2018-10-04/tools/harness/ |
H A D | subprocess_timeout.py | 29 timer = Timer(timeout, cleanup, [p]) 31 timer.start() 34 timer.cancel()
|
/barrelfish-2018-10-04/lib/timer/ |
H A D | timer.c | 3 * \brief Generic timer library. 19 #include <timer/timer.h> 42 * The timer priority queue (sorted by expiration time) 45 static struct timer *timer_queue = NULL; 53 static struct timer *timers_pending_insertion; 66 * Mutex protecting timer library state. 75 * Are we connected to the timer driver? 100 * \brief Handle a wakeup event from the timer driver. 105 // top timer jus 450 timer_start(struct timer *timer) argument 511 timer_stop(struct timer *timer) argument 559 timer_remaining(struct timer *timer) argument 602 timer_destroy(struct timer *timer) argument 661 timer_is_running(struct timer *timer) argument [all...] |
/barrelfish-2018-10-04/usr/bench/rcce/pingpong/ |
H A D | RCCE_pingpong.c | 22 double timer; local 24 uint64_t timer = 0, sum = 0; local 39 // synchronize before starting the timer 45 timer = RCCE_wtime(); 73 timer = rdtsc(); 81 sum += rdtsc() - timer; 85 timer = RCCE_wtime()-timer; 87 if (!ME) printf("Round trip latency for %d bytes = %1.9lf\n", BUFSIZE, timer/MAXROUND);
|
/barrelfish-2018-10-04/usr/drivers/lpc_timer/ |
H A D | timer.c | 3 * \brief x86 legacy timer driver. 19 #include "timer.h" 25 /// Period of LPC timer 0 counter, in nanoseconds 39 static struct lpc_timer_t timer; ///< Mackerel state for timer registers variable in typeref:struct:lpc_timer_t 42 /// Remaining value of current timeout, in timer ticks 59 * \brief Set hardware timer mode and count value 61 * Sets timer 0 as either a rate generator (mode 2) or one-shot timer (mode 0) 65 * \param count Count for oneshot timer, rat [all...] |
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ |
H A D | o_time.h | 64 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
|
/barrelfish-2018-10-04/include/openssl/local/ |
H A D | o_time.h | 64 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
|
/barrelfish-2018-10-04/lib/posixcompat/ |
H A D | time.c | 100 time(time_t *timer) argument 122 if (timer) 123 *timer = val;
|
/barrelfish-2018-10-04/lib/tommath/etc/ |
H A D | makefile.icc | 37 nasm -f coff timer.asm 38 $(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86 42 nasm -f gnuwin32 timer.asm 43 $(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86 47 nasm -f elf -DUSE_ELF timer.asm 48 $(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86l
|
H A D | makefile | 19 nasm -f coff timer.asm 20 $(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86 24 nasm -f gnuwin32 timer.asm 25 $(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86 29 nasm -f elf -DUSE_ELF timer.asm 30 $(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86l
|
H A D | timer.asm | 1 ; x86 timer in NASM
|
/barrelfish-2018-10-04/usr/bench/scheduling/ |
H A D | placement.c | 25 uint64_t timer = 0, sum = 0; local 36 // synchronize before starting the timer 44 timer = rdtsc(); 47 sum += rdtsc() - timer;
|
/barrelfish-2018-10-04/lib/libc/isc/ |
H A D | ev_timers.c | 68 evTimer * timer; member in struct:__anon983 248 ctx->cur->u.timer.this == del) { 249 evPrintf(ctx, 8, "deferring delete of timer (executing)\n"); 252 * clean up the timer. 280 evTimer *timer = id.opaque; local 285 if (heap_element(ctx->timers, timer->index) != timer) 289 timer->mode |= EV_TMR_RATE; 291 timer->mode &= ~EV_TMR_RATE; 307 evTimer *timer local 404 evTimer *timer = opaqueID.opaque; local 457 evTimer *timer; local [all...] |
/barrelfish-2018-10-04/usr/tests/timer/ |
H A D | timer.c | 4 * It tests periodic timers implemented by timer library. 10 * will run test_B. This test registers three periodic timer and stops 32 #include <timer/timer.h> 51 struct timer *timer; member in struct:client_data 85 timer_stop(cl->timer); 86 // timer_destroy(cl->timer); 87 // printf("### timer destroyed\n"); 98 static void callback(struct timer *time argument [all...] |
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/infiniband/hw/mthca/ |
H A D | mthca_catas.c | 34 #include <linux/timer.h> 143 mod_timer(&dev->catas_err.timer, 151 init_timer(&dev->catas_err.timer); 165 dev->catas_err.timer.data = (unsigned long) dev; 166 dev->catas_err.timer.function = poll_catas; 167 dev->catas_err.timer.expires = jiffies + MTHCA_CATAS_POLL_INTERVAL; 169 add_timer(&dev->catas_err.timer); 174 del_timer_sync(&dev->catas_err.timer);
|
/barrelfish-2018-10-04/include/lwip/lwip/ |
H A D | ip_frag.h | 48 /* The IP reassembly timer interval in milliseconds. */ 60 u8_t timer; member in struct:ip_reassdata
|
/barrelfish-2018-10-04/usr/bench/rcce/ipi_test/ |
H A D | mainrc.c | 34 uint64_t timer = 0, sum = 0; local 50 // synchronize before starting the timer 82 timer = rdtsc(); 95 sum += rdtsc() - timer;
|
/barrelfish-2018-10-04/include/lwip2/lwip/ |
H A D | ip4_frag.h | 55 /* The IP reassembly timer interval in milliseconds. */ 67 u8_t timer; member in struct:ip_reassdata
|
H A D | ip6_frag.h | 64 /** The IPv6 reassembly timer interval in milliseconds. */ 87 u8_t timer; member in struct:ip6_reassdata
|
H A D | mld6.h | 67 /** timer for reporting */ 68 u16_t timer; member in struct:mld_group
|
/barrelfish-2018-10-04/lib/bomp/backends/ |
H A D | xomp_master.c | 294 cycles_t timer = bench_tsc(); local 296 timer = bench_time_diff(worker->start, timer); 297 bench_ctl_add_run(xomp_bench_mem_add[1], &timer); 298 bench_ctl_add_run(xomp_bench_mem_add[2+worker->index], &timer); 321 cycles_t timer = bench_tsc(); local 323 timer = bench_time_diff(worker->start, timer); 324 bench_ctl_add_run(xomp_bench_mem_add[0], &timer); 325 bench_ctl_add_run(xomp_bench_mem_add[2+worker->index], &timer); 351 cycles_t timer = bench_tsc(); local 838 cycles_t timer = bench_tsc(); local 936 cycles_t timer = bench_tsc(); local [all...] |
/barrelfish-2018-10-04/usr/arrakismon/ |
H A D | lpc.c | 267 val = (timer_remaining(l->timer[reg]) * 1000 / 385 rtc_timer_callback (struct timer *t, void *data) 452 handle_counter_timer (struct timer *t, void *user_data) 457 if (t == l->timer[0]) { 461 } else if (t == l->timer[2]) { 464 assert(!"timer callback for unknown counter!"); 472 // destroy the timer 474 l->timer[reg] = NULL; 486 // the running timer is peridic therefore we do not need to do anything 512 // counter 0 asserts an interrupt so start a timer o [all...] |
/barrelfish-2018-10-04/usr/vmkitmon/ |
H A D | lpc.c | 276 val = (timer_remaining(l->timer[reg]) * 1000 / 393 rtc_timer_callback (struct timer *t, void *data) 459 handle_counter_timer (struct timer *t, void *user_data) 464 if (t == l->timer[0]) { 468 } else if (t == l->timer[2]) { 471 assert(!"timer callback for unknown counter!"); 479 // destroy the timer 481 l->timer[reg] = NULL; 493 // the running timer is peridic therefore we do not need to do anything 519 // counter 0 asserts an interrupt so start a timer o [all...] |