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

/system/extras/tests/icachetest/
H A Dicache_main.c11 struct timeval now, tm; local
19 gettimeofday(&now, 0);
22 t = (tm.tv_sec*1000000LL+tm.tv_usec) - (now.tv_sec*1000000LL+now.tv_usec);
26 gettimeofday(&now, 0);
29 t = (tm.tv_sec*1000000LL+tm.tv_usec) - (now.tv_sec*1000000LL+now.tv_usec);
/system/extras/tests/bionic/libc/other/
H A Dbench_locks.c7 static double now(void) function
23 t0 = now();
28 t1 = now() - t0;
/system/extras/tests/bionic/libc/common/
H A Dtest_tm_zone.c40 time_t now = time(NULL);
49 tm = localtime_r( &now, &tm0 );
H A Dtest_strftime_2039.c11 time_t now = time(NULL); local
12 struct tm tm = *localtime(&now);
/system/core/init/
H A Dsignal_handler.c50 time_t now; local
92 now = gettime();
94 if (svc->time_crashed + CRITICAL_CRASH_WINDOW >= now) {
103 svc->time_crashed = now;
H A Dbootchart.c132 struct tm now = *localtime(&now_t); local
133 strftime(date, sizeof(date), "%x %X", &now);
/system/core/charger/
H A Dcharger.c444 /* only pick up the first battery for now */
673 static void update_screen_state(struct charger *charger, int64_t now) argument
679 if (!batt_anim->run || now < charger->next_screen_transition)
687 LOGV("[%lld] animation done\n", now);
698 LOGV("[%lld] animation starting\n", now);
728 LOGV("[%lld] animation missing or unknown battery status\n", now);
729 charger->next_screen_transition = now + BATTERY_UNKNOWN_TIME;
735 charger->next_screen_transition = now + disp_time;
761 int64_t now = curr_time_ms(); local
774 charger->keys[code].timestamp = now;
808 process_key(struct charger *charger, int code, int64_t now) argument
835 handle_input_state(struct charger *charger, int64_t now) argument
843 handle_power_supply_state(struct charger *charger, int64_t now) argument
866 wait_next_event(struct charger *charger, int64_t now) argument
912 int64_t now = curr_time_ms(); local
931 int64_t now = curr_time_ms() - 1; local
[all...]
/system/extras/tests/framebuffer/
H A Drefresh.c131 // at least for now, always clear the fb
159 int64_t now = systemTime(); local
160 time = now - time;
163 time = now;
/system/core/libcorkscrew/
H A Dmap_info.c128 static int64_t now() { function
146 int64_t time = now();
/system/core/fastboot/
H A Dengine.c52 double now() function
185 double split = now();
471 double split = now();
483 double split = now();
607 a->start = now();
640 fprintf(stderr,"finished. total time: %.3fs\n", (now() - start));
/system/core/toolbox/
H A Dgetevent.c652 int64_t now = event.time.tv_sec * 1000000LL + event.time.tv_usec; local
654 printf(" rate %lld", 1000000LL / (now - last_sync_time));
655 last_sync_time = now;
H A Dnewfs_msdos.c270 time_t now; local
618 now = tv.tv_sec;
619 tm = localtime(&now);
/system/core/adb/
H A Dadb.c874 struct tm now; local
887 localtime_r(&t, &now);
890 &now);

Completed in 663 milliseconds