Searched refs:now (Results 1 – 16 of 16) sorted by relevance
/system/extras/tests/icachetest/ |
D | icache_main.c | 11 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/ |
D | charger.c | 692 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/ |
D | bench_locks.c | 7 static double now(void) in now() function 23 t0 = now(); in main() 28 t1 = now() - t0; in main()
|
/system/extras/tests/bionic/libc/common/ |
D | test_tm_zone.c | 40 time_t now = time(NULL); in main() 49 tm = localtime_r( &now, &tm0 ); in main()
|
D | test_strftime_2039.c | 11 time_t now = time(NULL); in main() local 12 struct tm tm = *localtime(&now); in main()
|
/system/core/init/ |
D | signal_handler.c | 50 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()
|
D | bootchart.c | 132 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/ |
D | refresh.c | 159 int64_t now = systemTime(); in main() local 160 time = now - time; in main() 163 time = now; in main()
|
/system/core/fastboot/ |
D | engine.c | 52 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/ |
D | map_info.c | 128 static int64_t now() { in now() function 146 int64_t time = now(); in acquire_my_map_info_list()
|
/system/core/toolbox/ |
D | getevent.c | 652 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()
|
D | newfs_msdos.c | 270 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/ |
D | adb.c | 874 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/ |
D | event.logtags | 5 # negative values alone for now.)
|
/system/core/rootdir/ |
D | init.rc | 46 # Right now vendor lives on the same filesystem as system,
|
/system/core/sh/ |
D | TOUR | 119 We now start a top-down look at the code:
|