Searched refs:now (Results 26 - 50 of 69) sorted by relevance

123

/fuchsia/zircon/kernel/lib/version/
H A Drules.mk15 # if no one else has defined it by now, build us a default buildid
/fuchsia/zircon/kernel/tests/
H A Dpreempt_disable_tests.cpp18 static void timer_callback_func(timer_t* timer, zx_time_t now, void* arg) { argument
30 // possible that preempt_pending is true now: it might have been set by
223 static void timer_set_preempt_pending(timer_t* timer, zx_time_t now, argument
/fuchsia/zircon/kernel/vm/
H A Dpmm.cpp114 static void pmm_dump_timer(struct timer* t, zx_time_t now, void*) { argument
115 zx_time_t deadline = zx_time_add_duration(now, ZX_SEC(1));
/fuchsia/zircon/system/uapp/kstress/
H A Dmain.cpp173 zx::time now = zx::clock::get_monotonic(); local
174 if (now - start_time >= run_duration) {
/fuchsia/zircon/system/utest/fit/
H A Drules.mk14 # Disabled for now because libstdc++ isn't available for Zircon targets yet.
/fuchsia/zircon/system/host/bootserver/
H A Dnetboot.c337 struct timeval now; local
338 gettimeofday(&now, NULL);
339 us_since_last_packet = (int64_t)(now.tv_sec - packet_start_time.tv_sec) * 1000000 +
340 ((int64_t)now.tv_usec - (int64_t)packet_start_time.tv_usec);
H A Dbootserver.c133 struct timeval now; local
134 gettimeofday(&now, NULL);
135 int64_t sec = (int64_t)(now.tv_sec - start_time.tv_sec);
136 int64_t usec = (int64_t)(now.tv_usec - start_time.tv_usec);
/fuchsia/zircon/system/ulib/async/
H A Dops.c12 return dispatcher->ops->v1.now(dispatcher);
/fuchsia/zircon/kernel/kernel/
H A Ddebug.cpp157 static void CallbackWrapper(timer_t* t, zx_time_t now, void* arg);
165 void RecurringCallback::CallbackWrapper(timer_t* t, zx_time_t now, void* arg) { argument
173 zx_time_t deadline = zx_time_add_duration(now, ZX_SEC(1));
218 // if the cpu is currently idle, add the time since it went idle up until now to the idle counter
H A Dthread.cpp807 // our earlier check. Its value now cannot change because
808 // interrupts are now disabled.
817 static void thread_sleep_handler(timer_t* timer, zx_time_t now, void* arg) { argument
849 static uint64_t sleep_slack(zx_time_t deadline, zx_time_t now) { argument
850 if (deadline < now) {
853 zx_duration_t slack = zx_time_sub_time(deadline, now) / DIV_SLEEP_SLACK;
872 zx_time_t now = current_time(); local
880 if (deadline <= now) {
900 TIMER_SLACK_LATE, sleep_slack(deadline, now), thread_sleep_handler, current_thread);
1053 // Cpu is active now
[all...]
/fuchsia/zircon/system/ulib/unittest/
H A Dunittest.cpp25 static nsecs_t now() { function
198 nsecs_t start_time = now();
235 nsecs_t end_time = now();
/fuchsia/zircon/system/utest/core/futex/
H A Dfutex.cpp43 zx_time_t now = zx_clock_get_monotonic(); local
46 zx_duration_t elapsed = zx_time_sub_time(zx_clock_get_monotonic(), now);
379 // thread1 and thread2 should now both be waiting on futex_value2.
469 zx_time_t now = zx_clock_get_monotonic(); local
471 now / 1000000000, now % 1000000000, str);
/fuchsia/zircon/system/dev/input/i2c-hid/
H A Di2c-hid.c259 zx_time_t now = zx_clock_get_monotonic(); local
260 if (now - last_timeout_warning > kMinTimeBetweenWarnings) {
262 last_timeout_warning = now;
355 zx_time_t now = zx_clock_get_monotonic(); local
356 if (now - last_timeout_warning > kMinTimeBetweenWarnings) {
358 last_timeout_warning = now;
/fuchsia/zircon/kernel/object/
H A Dtimer_dispatcher.cpp21 static void timer_irq_callback(timer* timer, zx_time_t now, void* arg) { argument
/fuchsia/zircon/system/uapp/psutils/
H A Dmemgraph.cpp527 struct timespec now; local
528 timespec_get(&now, TIME_UTC);
546 gmtime_r(&now.tv_sec, &nowtm);
552 tbuf, now.tv_nsec / (1000 * 1000));
/fuchsia/zircon/system/ulib/async-testutils/
H A Ddispatcher_stub.cpp56 .now = stub_now,
/fuchsia/zircon/system/ulib/fs-test-utils/include/fs-test-utils/
H A Dfixture.h58 options.seed = static_cast<unsigned int>(zx::ticks::now().get());
/fuchsia/zircon/third_party/lib/jitterentropy/
H A DMakefile7 LDFLAGS +=-Wl,-z,relro,-z,now
/fuchsia/zircon/system/utest/timers/
H A Dtimers.cpp153 zx::time now = zx::clock::get_monotonic(); local
155 EXPECT_EQ(timer.set(now, zx::nsec(0)), ZX_OK);
/fuchsia/zircon/third_party/uapp/kilo/
H A Drules.mk34 # NOTE(raggi): kilo.c inclusion is disabled for now, as it is the only
/fuchsia/zircon/kernel/platform/pc/
H A Dtimer.cpp568 const zx_time_t now = current_time(); local
569 if (now >= deadline) {
575 const zx_duration_t interval = zx_time_sub_time(deadline, now);
H A Ddebug.cpp112 static void uart_rx_poll(timer_t* t, zx_time_t now, void* arg) { argument
113 zx_time_t deadline = zx_time_add_duration(now, ZX_MSEC(10));
246 // For now, we don't support non-ISA IRQs
406 // Fifo is completely empty now, we can shove an entire
/fuchsia/zircon/bootloader/
H A Dbuild.mk105 # x86 only by default for now
/fuchsia/zircon/third_party/uapp/mkfs-msdosfs/
H A Dmkfs_msdos.c194 time_t now; local
492 tv.tv_sec = now = o.timestamp;
494 tm = gmtime(&now);
497 now = tv.tv_sec;
498 tm = localtime(&now);
/fuchsia/zircon/system/ulib/audio-utils/
H A Daudio-device-stream.cpp263 printf("Stream is now %smuted\n", mute ? "" : "un");
282 printf("Stream AGC is now %sabled\n", enabled ? "en" : "dis");
300 printf("Gain is now %.2f dB. Stream is %smuted.\n",
361 printf("Plug State now : %s (%.3lf sec since last change).\n",
417 zx_time_t now = zx_clock_get_monotonic(); local
418 if (now >= deadline)
421 zx_time_t next_wake = fbl::min(deadline, zx_time_add_duration(now, ZX_MSEC(100u)));

Completed in 137 milliseconds

123