Home
last modified time | relevance | path

Searched refs:now (Results 1 – 16 of 16) sorted by relevance

/system/extras/tests/icachetest/
Dicache_main.c11 struct timeval now, tm; in main() local
19 gettimeofday(&now, 0); in main()
22 t = (tm.tv_sec*1000000LL+tm.tv_usec) - (now.tv_sec*1000000LL+now.tv_usec); in main()
26 gettimeofday(&now, 0); in main()
29 t = (tm.tv_sec*1000000LL+tm.tv_usec) - (now.tv_sec*1000000LL+now.tv_usec); in main()
/system/core/charger/
Dcharger.c692 static void update_screen_state(struct charger *charger, int64_t now) in update_screen_state() argument
698 if (!batt_anim->run || now < charger->next_screen_transition) in update_screen_state()
706 LOGV("[%lld] animation done\n", now); in update_screen_state()
719 LOGV("[%lld] animation starting\n", now); in update_screen_state()
749 LOGV("[%lld] animation missing or unknown battery status\n", now); in update_screen_state()
750 charger->next_screen_transition = now + BATTERY_UNKNOWN_TIME; in update_screen_state()
756 charger->next_screen_transition = now + disp_time; in update_screen_state()
782 int64_t now = curr_time_ms(); in set_key_callback() local
795 charger->keys[code].timestamp = now; in set_key_callback()
799 LOGV("[%lld] key[%d] down\n", now, code); in set_key_callback()
[all …]
/system/extras/tests/bionic/libc/other/
Dbench_locks.c7 static double now(void) in now() function
23 t0 = now(); in main()
28 t1 = now() - t0; in main()
/system/extras/tests/bionic/libc/common/
Dtest_tm_zone.c40 time_t now = time(NULL); in main()
49 tm = localtime_r( &now, &tm0 ); in main()
Dtest_strftime_2039.c11 time_t now = time(NULL); in main() local
12 struct tm tm = *localtime(&now); in main()
/system/core/init/
Dsignal_handler.c50 time_t now; in wait_for_one_process() local
92 now = gettime(); in wait_for_one_process()
94 if (svc->time_crashed + CRITICAL_CRASH_WINDOW >= now) { in wait_for_one_process()
103 svc->time_crashed = now; in wait_for_one_process()
Dbootchart.c132 struct tm now = *localtime(&now_t); in log_header() local
133 strftime(date, sizeof(date), "%x %X", &now); in log_header()
/system/extras/tests/framebuffer/
Drefresh.c159 int64_t now = systemTime(); in main() local
160 time = now - time; in main()
163 time = now; in main()
/system/core/fastboot/
Dengine.c52 double now() in now() function
185 double split = now(); in cb_default()
471 double split = now(); in cb_check()
483 double split = now(); in cb_check()
607 a->start = now(); in fb_execute_queue()
640 fprintf(stderr,"finished. total time: %.3fs\n", (now() - start)); in fb_execute_queue()
/system/core/libcorkscrew/
Dmap_info.c128 static int64_t now() { in now() function
146 int64_t time = now(); in acquire_my_map_info_list()
/system/core/toolbox/
Dgetevent.c652 int64_t now = event.time.tv_sec * 1000000LL + event.time.tv_usec; in getevent_main() local
654 printf(" rate %lld", 1000000LL / (now - last_sync_time)); in getevent_main()
655 last_sync_time = now; in getevent_main()
Dnewfs_msdos.c270 time_t now; in newfs_msdos_main() local
618 now = tv.tv_sec; in newfs_msdos_main()
619 tm = localtime(&now); in newfs_msdos_main()
/system/core/adb/
Dadb.c874 struct tm now; in start_device_log() local
887 localtime_r(&t, &now); in start_device_log()
890 &now); in start_device_log()
/system/core/logcat/
Devent.logtags5 # negative values alone for now.)
/system/core/rootdir/
Dinit.rc46 # Right now vendor lives on the same filesystem as system,
/system/core/sh/
DTOUR119 We now start a top-down look at the code: