Searched refs:now (Results 1 - 25 of 210) sorted by relevance

123456789

/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D950628-1.c9 T now; local
11 now.hours = 1;
12 now.day = 2;
13 now.month = 3;
14 now.year = 4;
15 return now;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/30_threads/this_thread/
H A D58038.cc28 auto now = std::chrono::system_clock::now(); local
29 std::this_thread::sleep_until(now - 1ul * std::chrono::seconds(1));
35 auto now = std::chrono::steady_clock::now(); local
36 std::this_thread::sleep_until(now - 1ul * std::chrono::seconds(1));
H A D4.cc38 chr::system_clock::time_point begin = chr::system_clock::now();
41 std::this_thread::sleep_until(chr::system_clock::now() + ms);
43 VERIFY( (chr::system_clock::now() - begin) >= ms );
/haiku-buildtools/legacy/gcc/libchill/
H A Dwaituntil.c60 RtsTime now, delta, abs_rtstime; local
63 __rtstime (&now);
68 if (abs_rtstime.nanosecs < now.nanosecs)
74 delta.secs = abs_rtstime.secs - now.secs;
75 delta.nanosecs = abs_rtstime.nanosecs - now.nanosecs;
H A Dremaintime.c60 RtsTime now, dur_in_rtstime, tmp, diff; local
62 __rtstime (&now);
69 if (tmp.nanosecs > now.nanosecs)
74 diff.secs = now.secs - tmp.secs;
75 diff.nanosecs = now.nanosecs - tmp.nanosecs;
/haiku-buildtools/binutils/gold/
H A Dtimer.cc93 Timer::get_time(TimeStats *now) argument
97 now->wall = (times(&t) * 1000) / ticks_per_sec;
98 now->user = (t.tms_utime * 1000) / ticks_per_sec;
99 now->sys = (t.tms_stime * 1000) / ticks_per_sec;
101 now->wall = get_run_time() / 1000;
102 now->user = 0;
103 now->sys = 0;
111 TimeStats now; local
112 this->get_time(&now);
114 delta.wall = now
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A Dbcopy-1.c12 struct timeval past, now, then; local
/haiku-buildtools/binutils/ld/testsuite/ld-vxworks/
H A Dtls-3.d2 # ld: -shared -z now
H A Dplt-mips1.d3 # ld: -shared -z now
/haiku-buildtools/binutils/gas/testsuite/gas/mach-o/
H A Dsymbols-6-64.s0 # now look at what happens when we append some indirects to the normal
H A Dsymbols-6.s0 # now look at what happens when we append some indirects to the normal
/haiku-buildtools/gcc/libstdc++-v3/testsuite/util/performance/time/
H A Delapsed_timer.cc61 const clock_t now = ::clock(); local
63 return (((double)now - m_start) / CLOCKS_PER_SEC);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/30_threads/condition_variable/members/
H A D53841.cc40 static time_point now() function in struct:FPClock
41 { return time_point(duration(system_clock::now().time_since_epoch())); }
49 cv.wait_until(l, FPClock::now());
/haiku-buildtools/gcc/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/
H A D3.cc47 auto start = system_clock::now();
49 auto t = system_clock::now() - start;
53 start = system_clock::now();
55 t = system_clock::now() - start;
/haiku-buildtools/binutils/ld/testsuite/ld-d10v/
H A Dreloc-007.d4 # now that we treat addresses as wrapping, it isn't possible to fail
H A Dreloc-008.d4 # now that we treat addresses as wrapping, it isn't possible to fail
H A Dreloc-015.d4 # now that we treat addresses as wrapping, it isn't possible to fail
H A Dreloc-016.d4 # now that we treat addresses as wrapping, it isn't possible to fail
/haiku-buildtools/binutils/ld/testsuite/ld-elf/
H A Dnow-3.d3 #ld: -shared -z now
H A Dnow-4.d3 #ld: -shared -z now
/haiku-buildtools/binutils/gas/testsuite/gas/all/
H A Dbyte.d3 # Quoted expressions are now allowed in .byte (and similar) expressions.
/haiku-buildtools/gcc/gcc/
H A Dtimevar.c179 get_time (struct timevar_time_def *now) argument
181 now->user = 0;
182 now->sys = 0;
183 now->wall = 0;
184 now->ggc_mem = timevar_ggc_mem_total;
192 now->wall = times (&tms) * ticks_to_msec;
193 now->user = tms.tms_utime * ticks_to_msec;
194 now->sys = tms.tms_stime * ticks_to_msec;
199 now->user = rusage.ru_utime.tv_sec + rusage.ru_utime.tv_usec * 1e-6;
200 now
260 struct timevar_time_def now; local
305 struct timevar_time_def now; local
359 struct timevar_time_def now; local
410 struct timevar_time_def now; local
489 struct timevar_time_def now; local
[all...]
/haiku-buildtools/gcc/gmp/
H A Dtal-notreent.c59 unsigned long now; local
65 now = current_total_allocation + size;
66 if (now > max_total_allocation)
70 now = (now * 3 / 2 + __TMP_ALIGN - 1) & -__TMP_ALIGN;
71 chunk_size = now - current_total_allocation + HSIZ;
72 current_total_allocation = now;
/haiku-buildtools/gcc/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/
H A D57641.cc44 now() function in struct:clock
46 auto sys_time = C::system_clock::now().time_since_epoch();
56 test = mx.try_lock_until(clock::now() + C::milliseconds(1));
63 auto start = C::system_clock::now();
66 auto stop = C::system_clock::now();
/haiku-buildtools/gcc/libstdc++-v3/testsuite/30_threads/future/members/
H A Dwait_until.cc33 return std::chrono::system_clock::now() + std::chrono::milliseconds(i);
45 VERIFY( std::chrono::system_clock::now() >= when );
51 VERIFY( std::chrono::system_clock::now() < when );

Completed in 421 milliseconds

123456789