| /openbsd-src/lib/libc/arch/sparc64/gen/ |
| H A D | usertc.c | 24 u_int64_t tick; in tick_get_timecount() local 26 __asm volatile("rd %%tick, %0" : "=r" (tick)); in tick_get_timecount() 28 return (tick & ~0u); in tick_get_timecount() 34 u_int64_t tick; in sys_tick_get_timecount() local 36 __asm volatile("rd %%sys_tick, %0" : "=r" (tick)); in sys_tick_get_timecount() 38 return (tick & ~0u); in sys_tick_get_timecount()
|
| /openbsd-src/gnu/usr.bin/perl/dist/Time-HiRes/t/ |
| H A D | ualarm.t | 19 my $tick = 0; 20 local $SIG{ ALRM } = sub { $tick++ }; 23 $tick = 0; Time::HiRes::ualarm(10_000); while ($tick == 0) { } 25 $tick = 0; Time::HiRes::ualarm(10_000); while ($tick == 0) { } 29 print("# tick = $tick, one = $one, two = $two, three = $three\n"); 31 $tick = 0; Time::HiRes::ualarm(10_000, 10_000); while ($tick < 3) { } 34 print("# tick = $tick, one = $one, two = $two, three = $three\n");
|
| H A D | alarm.t | 40 printf("# sigaction tick, ALRM = %d\n", &POSIX::SIGALRM); 49 POSIX::SigAction->new("tick"), 53 print("# SIG tick\n"); 54 $SIG{ALRM} = "tick"; 92 sub tick { 98 $not = "tick: divisor became zero"; 104 $not = "tick: $exp sleep took $ival ratio $ratio";
|
| /openbsd-src/gnu/usr.bin/perl/lib/ |
| H A D | dumpvar.pl | 24 $tick = "auto" unless defined $tick; 74 my $tick = $tick; 82 if ($tick eq 'auto') { 84 $tick = '"'; 86 $tick = "'"; 89 if ($tick eq "'") { 98 s/([\"\\\$\@])/\\$1/g if $tick eq '"'; 106 : $tick . $_ . $tick; 366 $tick = '"'; 369 $tick = 'auto'; [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/Dumpvalue/lib/ |
| H A D | Dumpvalue.pm | 36 tick => "auto", 102 my $tick = $self->{tick}; 112 if ($tick eq 'auto') { 114 $tick = '"'; 116 $tick = "'"; 119 if ($tick eq "'") { 127 s/([\"\\\$\@])/\\$1/g if $tick eq '"'; 134 : $tick . $_ . $tick; 337 $self->{tick} = '"'; 340 $self->{tick} = 'auto'; [all …]
|
| /openbsd-src/sys/kern/ |
| H A D | kern_clock.c | 188 nticks = (sec * 1000000 + (unsigned long)usec + (tick - 1)) in tvtohz() 189 / tick + 1; in tvtohz() 192 + ((unsigned long)usec + (tick - 1)) / tick + 1; in tvtohz() 348 clkinfo.tick = tick; in sysctl_clockrate()
|
| H A D | kern_srp.c | 96 struct timeout tick; member 163 timeout_set(&ctx->tick, srp_v_gc, ctx); in srp_v_gc_start() 164 timeout_add(&ctx->tick, 1); in srp_v_gc_start() 174 timeout_add(&ctx->tick, 1); in srp_v_gc()
|
| /openbsd-src/lib/libcrypto/ |
| H A D | sparccpuid.S | |
| /openbsd-src/sys/arch/sparc64/sparc64/ |
| H A D | clock.c | 479 tick = 1000000 / hz; in cpu_initclocks() 606 t0 = tick(); in tick_rearm() 608 if (cycles <= ((tick() - t0) & TICK_COUNT_MASK)) in tick_rearm() 691 u_int64_t tick; in tick_get_timecount() local 693 __asm volatile("rd %%tick, %0" : "=r" (tick)); in tick_get_timecount() 695 return (tick & ~0u); in tick_get_timecount() 701 u_int64_t tick; in sys_tick_get_timecount() local 703 __asm volatile("rd %%sys_tick, %0" : "=r" (tick)); in sys_tick_get_timecount() 705 return (tick & ~0u); in sys_tick_get_timecount()
|
| /openbsd-src/regress/sbin/isakmpd/exchange/ |
| H A D | run.pl | 36 $conaddr, $sec, $tick, $action, $template, $data, $next, 69 ($tick, $action, $template, $data) = split ' ', $_, 4; 79 $next = $sec + $tick * $tickfac;
|
| /openbsd-src/sys/arch/amd64/isa/ |
| H A D | clock.c | 234 int limit, tick, otick; in i8254_delay() local 257 tick = gettick(); in i8254_delay() 258 if (tick > otick) in i8254_delay() 259 n -= limit - (tick - otick); in i8254_delay() 261 n -= otick - tick; in i8254_delay() 262 otick = tick; in i8254_delay()
|
| /openbsd-src/sys/arch/sparc64/include/ |
| H A D | cpu.h | 228 u_int64_t tick; in cpu_rnd_messybits() 230 __asm volatile("rd %%tick, %0" : "=r" (tick) :); in cpu_rnd_messybits() 232 return ((tick >> 32) ^ tick); in cpu_rnd_messybits() 307 * Give a profiling tick to the current process when the user profiling 309 * through trap(), marking the proc as needing a profiling tick. 227 u_int64_t tick; cpu_rnd_messybits() local
|
| H A D | ctlreg.h | 558 GEN_RDPR(tick); 703 #define tick() (sparc_rdpr(tick) & TICK_TICKS) macro
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/f/ |
| H A D | global.c | 116 g->tick = 0; in ffeglobal_new_() 162 if (g->tick == ffe_count_2) in ffeglobal_init_common() 165 if (g->tick != 0) in ffeglobal_init_common() 193 g->tick = ffe_count_2; in ffeglobal_init_common() 415 if ((g->tick == 0) in ffeglobal_new_progunit_() 425 if ((g->tick != 0) in ffeglobal_new_progunit_() 428 g->tick = ffe_count_2; in ffeglobal_new_progunit_() 1209 g->tick = ffe_count_2; in ffeglobal_ref_intrinsic() 1217 && (g->tick != ffe_count_2) in ffeglobal_ref_intrinsic() 1325 if ((g->tick == ffe_count_2) in ffeglobal_ref_progunit_() [all …]
|
| H A D | global.h | 95 ffeCounter tick; /* Recent transition in this progunit. */ member 158 #define ffeglobal_common_init(g) ((g)->tick != 0)
|
| /openbsd-src/sys/arch/i386/isa/ |
| H A D | clock.c | 314 int limit, tick, otick; in i8254_delay() local 354 tick = gettick(); in i8254_delay() 355 if (tick > otick) in i8254_delay() 356 n -= limit - (tick - otick); in i8254_delay() 358 n -= otick - tick; in i8254_delay() 359 otick = tick; in i8254_delay()
|
| /openbsd-src/sys/arch/i386/i386/ |
| H A D | lapic.c | 338 unsigned int tick, tlast; in wait_next_cycle() local 342 tick = gettick(); in wait_next_cycle() 343 if (tick > tlast) in wait_next_cycle() 345 tlast = tick; in wait_next_cycle()
|
| /openbsd-src/gnu/usr.bin/cvs/os2/ |
| H A D | run.c | 548 time_t tick; in sleep() local 553 time (&tick); in sleep() 556 while (difftime (tick, base) < seconds) in sleep() 562 time (&tick); in sleep()
|
| /openbsd-src/gnu/gcc/gcc/ |
| H A D | haifa-sched.c | 190 #define INSN_TICK(INSN) (h_i_d[INSN_UID (INSN)].tick) 2815 h_i_d[i].tick = INVALID_TICK; in sched_init() 2943 int tick; in fix_inter_tick() local 2946 tick = INSN_TICK (head); in fix_inter_tick() 2947 gcc_assert (tick >= MIN_TICK); in fix_inter_tick() 2953 tick -= next_clock; in fix_inter_tick() 2955 if (tick < MIN_TICK) in fix_inter_tick() 2956 tick = MIN_TICK; in fix_inter_tick() 2958 INSN_TICK (head) = tick; in fix_inter_tick() 2966 tick = INSN_TICK (next); in fix_inter_tick() [all …]
|
| H A D | cfgloopanal.c | 149 int i, tick = 0, v, comp = 0, top; in dfs() local 182 qt[tick] = v; in dfs() 183 g->vertices[v].post = tick++; in dfs()
|
| /openbsd-src/sys/arch/amd64/amd64/ |
| H A D | lapic.c | 518 unsigned int tick, tlast; in wait_next_cycle() 522 tick = gettick(); 523 if (tick > tlast) 525 tlast = tick; 511 unsigned int tick, tlast; wait_next_cycle() local
|
| /openbsd-src/sys/dev/pci/drm/include/linux/ |
| H A D | processor.h | 17 delay(tick); in cpu_relax()
|
| /openbsd-src/sys/sys/ |
| H A D | kernel.h | 52 extern int tick; /* usec per tick (1000000 / hz) */ 53 extern int tick_nsec; /* nsec per tick */
|
| /openbsd-src/sys/conf/ |
| H A D | param.c | 68 int tick = 1000000 / HZ; 63 int tick = 1000000 / HZ; global() variable
|
| /openbsd-src/sys/arch/luna88k/stand/boot/ |
| H A D | samachdep.h | 100 extern volatile uint32_t tick;
|