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

/system/extras/tests/bionic/libstdc++/
H A Dtest_ctime.cpp56 #ifdef time
78 using std::time;
90 volatile std::time_t time; local
/system/core/toolbox/
H A Duptime.c32 #include <sys/time.h>
38 #include <time.h>
41 static void format_time(int time, char* buffer) { argument
44 seconds = time % 60;
45 time /= 60;
46 minutes = time % 60;
47 time /= 60;
48 hours = time % 24;
49 days = time / 24;
94 fprintf(stderr, "Could not get monotonic time\
[all...]
H A Dsendevent.c14 struct timeval time; member in struct:input_event
40 #define EVIOCGEFFECTS _IOR('E', 0x84, int) /* Report number of effects playable at the same time */
H A Dnewfs_msdos.c47 #include <sys/time.h>
58 #include <time.h>
149 u_int8_t time[2]; /* creation time */ member in struct:de
715 mk2(de->time, x);
/system/extras/tests/framebuffer/
H A Drefresh.c10 #include <time.h>
146 int64_t time = systemTime(); local
160 time = now - time;
161 printf("refresh rate = %f Hz\n", (c*1000000000.0 / (double)time));
163 time = now;
/system/extras/tests/sdcard/
H A Dstopwatch.cpp32 #include <time.h>
209 double StopWatch::timespecToDouble(const struct timespec& time) argument
211 double val = double(time.tv_nsec) / 1.0e9 + double(time.tv_sec);
/system/core/adb/
H A Dfile_sync_service.h59 unsigned time; member in struct:__anon274::__anon276
65 unsigned time; member in struct:__anon274::__anon277
H A Dfile_sync_client.c22 #include <sys/time.h>
23 #include <time.h>
75 typedef void (*sync_ls_cb)(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie);
107 ltohl(msg.dent.time),
147 *timestamp = ltohl(msg.stat.time);
178 *timestamp = ltohl(msg.stat.time);
535 static void do_sync_ls_cb(unsigned mode, unsigned size, unsigned time, argument
538 printf("%08x %08x %08x %s\n", mode, size, time, name);
564 unsigned int time; member in struct:copyinfo
587 ci->time
810 sync_ls_build_list_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument
[all...]
/system/core/libcorkscrew/
H A Dmap_info.c29 #include <sys/time.h>
145 int64_t time = now(); local
148 int64_t age = time - data->timestamp;
165 data->timestamp = time;
/system/extras/cpustats/
H A Dcpustats.c40 long unsigned time; member in struct:freq_info
245 new_total_cpu.freqs[i].time = 0;
272 &new_cpus[cpu].freqs[i].time);
275 new_total_cpu.freqs[i].time += new_cpus[cpu].freqs[i].time;
282 * Get the sum of the cpu time from all categories.
355 delta_time = new_cpu->freqs[i].time - old_cpu->freqs[i].time;
368 new_cpu->freqs[i].time - old_cpu->freqs[i].time);
[all...]

Completed in 172 milliseconds