/barrelfish-master/kernel/arch/x86/ |
H A D | misc.c | 36 wait_cycles(uint64_t duration) argument 40 printk(LOG_NOTE, "Waiting %" PRIu64 " cycles...\n", duration); 44 while (elapsed < duration) {
|
/barrelfish-master/lib/phoenix/ |
H A D | stddefines.h | 84 #define GET_TIME(start, end, duration) \ 85 duration.tv_sec = (end.tv_sec - start.tv_sec); \ 87 duration.tv_nsec = (end.tv_nsec - start.tv_nsec); \ 90 duration.tv_nsec = (1000000000L - (start.tv_nsec - end.tv_nsec)); \ 91 duration.tv_sec--; \ 93 if (duration.tv_nsec >= 1000000000L) { \ 94 duration.tv_sec++; \ 95 duration.tv_nsec -= 1000000000L; \
|
/barrelfish-master/include/timer/ |
H A D | timer.h | 34 uint64_t duration; member in struct:timer 49 * \brief Set timer duration. 51 * \param timer Pointer to timer to set duration for. 52 * \param duration Duration in us to set. 55 static inline void timer_set_duration(struct timer *timer, uint64_t duration, argument 58 timer->duration = duration; 76 static inline struct timer *timer_create(uint64_t duration, bool periodic, argument 82 timer_set_duration(newtimer, duration, periodic);
|
/barrelfish-master/usr/tests/cxx/ |
H A D | stl_chrono.cpp | 24 if (duration_cast<std::chrono::duration<double>> 30 long diff = duration_cast<std::chrono::duration 34 diff = duration_cast<std::chrono::duration
|
/barrelfish-master/lib/cxx/cxx/filesystem/ |
H A D | filesystem_common.h | 197 using chrono::duration; 207 using fs_duration = typename FileTimeT::duration; 208 using fs_seconds = duration<rep>; 209 using fs_nanoseconds = duration<rep, nano>; 210 using fs_microseconds = duration<rep, micro>; 213 duration_cast<fs_seconds>(FileTimeT::duration::max()).count(); 216 duration_cast<fs_nanoseconds>(FileTimeT::duration::max() - 221 duration_cast<fs_seconds>(FileTimeT::duration::min()).count(); 225 (FileTimeT::duration::min() - fs_seconds(min_seconds)) + 238 FileTimeT::duration [all...] |
/barrelfish-master/usr/bench/ |
H A D | bench.c | 251 uint64_t duration = rdtsc() - start; 253 sum += duration; 255 minres = maxres = duration; 257 if(duration < minres) { 258 minres = duration; 260 if(duration > maxres) { 261 maxres = duration;
|
/barrelfish-master/lib/cxx/cxx/ |
H A D | chrono.cpp | 59 _VSTD::chrono::duration<__int64, 79 return time_point(duration_cast<duration>(d - nt_to_unix_epoch)); 178 return time_point(duration(fp())); 204 return time_point(duration(counter.QuadPart * nano::den / freq.QuadPart));
|
/barrelfish-master/include/trace/ |
H A D | trace.h | 201 uint64_t duration; // Max trace duration member in struct:trace_buffer 232 uint64_t duration); 235 uint64_t duration, 362 if (master->duration) 363 master->stop_time = ev->timestamp + master->duration; 480 if (master->duration != 0) { 481 master->stop_time = master->t0 + master->duration;
|
/barrelfish-master/lib/timer/ |
H A D | timer.c | 220 TIMER_DEBUG("timer_queue_add: called for %p of duration %lu, expiring %lu\n", 221 q, q->duration, q->expires); 224 TIMER_DEBUG("timer_queue_add: loop for timer %p duration %lu expiring %lu \n", 225 i, i->duration, i->expires); 349 TIMER_DEBUG("timer_wakeup: periodic timer %lu ticks\n", t->duration); 350 t->expires = t->duration; 432 t->duration = 0; 445 * This sets off a timer. It will start running for the duration set 458 assert(timer->duration > 0); 460 timer->expires = timer->duration; [all...] |
/barrelfish-master/usr/eclipseclp/icparc_solvers/ilog/ |
H A D | scheduler.cc | 57 duration = var_or_int(EC_arg(4)); local 59 IlcIntervalActivity activity(schedule, start, end, duration);
|
H A D | scheduler.pl | 67 :- define_struct(activity(handle, start, end, duration)).
|
/barrelfish-master/lib/bomp/backends/ |
H A D | xomp_master.c | 303 cycles_t duration = bench_tsc() - worker->start; local 304 remote_timer += duration; 306 worker->id, duration, bench_tsc_to_ms(duration)); 330 cycles_t duration = bench_tsc() - worker->start; local 331 local_timer += duration; 333 worker->id, duration, bench_tsc_to_ms(duration)); 364 cycles_t duration = bench_tsc()- worker->start; local 366 (uint16_t)worker->id, duration, bench_tsc_to_m 943 cycles_t duration = bench_tsc() - worker->start; local [all...] |
/barrelfish-master/lib/trace/ |
H A D | control.c | 75 * \param duration - Maximum trace duration in cycles (0 is infinite) 79 uint64_t duration) 82 duration, 0); 87 uint64_t duration, 101 master->duration = duration; 206 master->t0, master->duration, master->stop_time); 77 trace_control(uint64_t start_trigger, uint64_t stop_trigger, uint64_t duration) argument 85 trace_control_fixed_events_counter(uint64_t start_trigger, uint64_t stop_trigger, uint64_t duration, uint64_t event_counter) argument
|
/barrelfish-master/lib/posixcompat/ |
H A D | termios.c | 141 * \brief Send a break for a specific duration. 143 int tcsendbreak(int fd, int duration) argument
|
/barrelfish-master/lib/cxx/cxx/support/win32/ |
H A D | thread_win32.cpp | 117 auto duration = seconds(__ts->tv_sec) + nanoseconds(__ts->tv_nsec); 119 system_clock::time_point(duration_cast<system_clock::duration>(duration));
|
/barrelfish-master/usr/eclipseclp/icparc_solvers/ |
H A D | ic_make_overlap_bivs.pl | 109 Task2 = task with [start:S2,duration:D2], 114 Task2 = task with [start:S2,duration:D2,resource:R2], 121 Task2 = task with [start:S2,duration:D2,resource:R2], 164 This sets up the propagation from start time and duration tentative 182 Task2 = task with [start:S2,duration:D2,resource:R2],
|
H A D | make_overlap_bivs.pl | 109 Task2 = task with [start:S2,duration:D2], 114 Task2 = task with [start:S2,duration:D2,resource:R2], 121 Task2 = task with [start:S2,duration:D2,resource:R2], 164 This sets up the propagation from start time and duration tentative 182 Task2 = task with [start:S2,duration:D2,resource:R2],
|
H A D | ic_probe_support.pl | 37 :- export struct(task(start,duration,resource)). 53 (foreach(task with [start:S,duration:D,resource:R],Tasks), 236 task(start,duration,resource)
|
H A D | probe_support.pl | 36 :- export struct(task(start,duration,resource)). 52 (foreach(task with [start:S,duration:D,resource:R],Tasks), 235 task(start,duration,resource)
|
H A D | ic_probing_for_scheduling.pl | 58 :- use_module(ic_probe_support). % For the task structure: task(id,start,duration) 191 % is at least one duration that COULD increase! 194 member(task with duration:D,Tasks), 202 ( foreach(task with duration:D,Tasks),
|
H A D | probing_for_scheduling.pl | 57 :- use_module(probe_support). % For the task structure: task(id,start,duration) 190 % is at least one duration that COULD increase! 193 member(task with duration:D,Tasks), 202 ( foreach(task with duration:D,Tasks),
|
/barrelfish-master/kernel/include/ |
H A D | kernel.h | 110 void wait_cycles(uint64_t duration);
|
/barrelfish-master/usr/eclipseclp/documents/libman/ |
H A D | fdglobal.tex | 150 a certain duration and consuming a certain (constant) amount of 187 and duration do not overlap at any point in time. 195 a certain duration and consuming a certain (constant) amount of 203 In this variant, an area (the product of duration and resource usage of 204 a task) can be specified, e.g.\ if duration or resource usage are not
|
/barrelfish-master/usr/eclipseclp/documents/tutorial/ |
H A D | hybrid.tex | 143 Each task has a start time $Start$ and a duration $Duration$. 148 % Bool is 1 if the task with start time Start and duration 161 % the task with start time Start and duration Duration is 171 % exactly one of task 1 with duration 3 and task 2 with 172 % duration 5 overlaps time point Time 179 % task 1 with duration 3 and task 2 with duration 5 are both 327 % duration Duration overlaps time point Time 396 % task 1 with duration 3 and task 2 with duration [all...] |
/barrelfish-master/lib/usb/class/ |
H A D | usb_hid.c | 886 * \param duration the interval in 2 ms setps 889 usb_error_t usb_hid_set_idle(uint8_t iface, uint8_t duration, uint8_t id) argument 898 req.wValue = (duration << 8) | id;
|