Searched defs:now (Results 1 - 10 of 10) sorted by relevance

/system/extras/tests/bionic/libc/common/
H A Dtest_strftime_2039.c11 time_t now = time(NULL); local
12 struct tm tm = *localtime(&now);
/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/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/framebuffer/
H A Drefresh.c133 // at least for now, always clear the fb
161 int64_t now = systemTime(); local
162 time = now - time;
165 time = now;
/system/core/fastboot/
H A Dengine.c37 double now() function
89 double split = now();
184 double split = now();
285 a->start = now();
309 fprintf(stderr,"finished. total time: %.3fs\n", (now() - start));
/system/core/toolbox/
H A Dgetevent.c456 int64_t now = event.time.tv_sec * 1000000LL + event.time.tv_usec; local
458 printf(" rate %lld", 1000000LL / (now - last_sync_time));
459 last_sync_time = now;
H A Dnewfs_msdos.c270 time_t now; local
617 now = tv.tv_sec;
618 tm = localtime(&now);
/system/core/init/
H A Dbootchart.c132 struct tm now = *localtime(&now_t); local
133 strftime(date, sizeof(date), "%x %X", &now);
H A Dinit.c340 time_t now; local
382 now = gettime();
384 if (svc->time_crashed + CRITICAL_CRASH_WINDOW >= now) {
395 svc->time_crashed = now;
/system/core/adb/
H A Dadb.c664 struct tm now; local
677 localtime_r(&t, &now);
680 &now);

Completed in 122 milliseconds