Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 40) sorted by relevance

12

/system/core/toolbox/
Duptime.c41 static void format_time(int time, char* buffer) { in format_time() argument
44 seconds = time % 60; in format_time()
45 time /= 60; in format_time()
46 minutes = time % 60; in format_time()
47 time /= 60; in format_time()
48 hours = time % 24; in format_time()
49 days = time / 24; in format_time()
Dalarm.c102 time(&tv.tv_sec); in alarm_main()
105 time(&ts.tv_sec); in alarm_main()
Dwatchprops.c30 fprintf(stderr,"%10d %s = '%s'\n", (int) time(0), name, value); in announce()
Dsendevent.c14 struct timeval time; member
Dgetevent.c651 printf("[%8ld.%06ld] ", event.time.tv_sec, event.time.tv_usec); in getevent_main()
657 int64_t now = event.time.tv_sec * 1000000LL + event.time.tv_usec; in getevent_main()
/system/core/logcat/
Devent.logtags52 # contacts aggregation: time and number of contacts.
54 2747 contacts_aggregation (aggregation time|2|3), (count|1|1)
60 3000 boot_progress_start (time|2|3)
62 3020 boot_progress_preload_start (time|2|3)
64 3030 boot_progress_preload_end (time|2|3)
67 20003 dvm_lock_sample (process|3),(main|1|5),(thread|3),(time|1|3),(file|3),(line|1|5),(ownerfile|3…
96 # time: cpu time millis (not wall time), including lock acquisition
99 52000 db_sample (db|3),(sql|3),(time|1|3),(blocking_package|3),(sample_percent|1|6)
103 60000 viewroot_draw (Draw time|1|3)
104 60001 viewroot_layout (Layout time|1|3)
[all …]
/system/extras/tests/sdcard/
Dplot_sdcard.py53 self.time = []
61 return str(zip(self.time, self.data))
63 def Add(self, time, value): argument
64 self.time.append(time)
75 for t, d in izip(self.time, self.data):
82 self.time = new_time
164 (time, value) = line.split(None, 1)
170 dataset.Add(float(time), float(value))
247 x = numpy.array(dataset.time, dtype='float_')
277 x = numpy.array(dataset.time, dtype='int_')
Dstopwatch.cpp209 double StopWatch::timespecToDouble(const struct timespec& time) in timespecToDouble() argument
211 double val = double(time.tv_nsec) / 1.0e9 + double(time.tv_sec); in timespecToDouble()
Dstopwatch.h126 double timespecToDouble(const struct timespec& time);
/system/extras/cpustats/
Dcpustats.c40 long unsigned time; member
245 new_total_cpu.freqs[i].time = 0; in read_stats()
272 &new_cpus[cpu].freqs[i].time); in read_freq_stats()
275 new_total_cpu.freqs[i].time += new_cpus[cpu].freqs[i].time; in read_freq_stats()
355 delta_time = new_cpu->freqs[i].time - old_cpu->freqs[i].time; in print_freq_stats()
368 new_cpu->freqs[i].time - old_cpu->freqs[i].time); in print_freq_stats()
386 if (new_cpus[i].freqs[j].time - old_cpus[i].freqs[j].time != in should_print_freq_stats()
387 new_cpus[0].freqs[j].time - old_cpus[0].freqs[j].time) { in should_print_freq_stats()
/system/extras/tests/bionic/libstdc++/
Dtest_ctime.cpp56 #ifdef time
78 using std::time;
90 volatile std::time_t time; in testTypesStd() local
/system/extras/tests/framebuffer/
Drefresh.c146 int64_t time = systemTime(); in main() local
160 time = now - time; in main()
161 printf("refresh rate = %f Hz\n", (c*1000000000.0 / (double)time)); in main()
163 time = now; in main()
/system/core/adb/
Dfile_sync_client.c92 typedef void (*sync_ls_cb)(unsigned mode, unsigned size, unsigned time, const char *name, void *coo…
124 ltohl(msg.dent.time), in sync_ls()
165 *timestamp = ltohl(msg.stat.time); in sync_readtime()
197 *timestamp = ltohl(msg.stat.time); in sync_finish_readtime()
543 static void do_sync_ls_cb(unsigned mode, unsigned size, unsigned time, in do_sync_ls_cb() argument
546 printf("%08x %08x %08x %s\n", mode, size, time, name); in do_sync_ls_cb()
572 unsigned int time; member
595 ci->time = 0; in mkcopyinfo()
661 ci->time = st.st_mtime; in local_build_list()
724 if((S_ISREG(ci->mode & mode) && timestamp == ci->time) || in copy_local_dir_remote()
[all …]
Dfile_sync_service.h59 unsigned time; member
65 unsigned time; member
Dfile_sync_service.c93 msg.stat.time = 0; in do_stat()
97 msg.stat.time = htoll(st.st_mtime); in do_stat()
135 msg.dent.time = htoll(st.st_mtime); in do_list()
152 msg.dent.time = 0; in do_list()
DSYNC.TXT46 4. A four-byte integer representing last modified time.
70 to the last modified time for the file. The server responds to this last
/system/core/liblog/
Dlog_time.cpp36 time(&now); in strptime()
129 time(&now); in strptime()
DREADME107 multiply, retrieving a log entry at a time in time sorted order,
/system/keymaster/include/keymaster/
Dgoogle_keymaster_utils.h34 inline int64_t java_time(time_t time) { in java_time() argument
38 return time * 1000; in java_time()
/system/vold/
DCheckBattery.cpp47 time_t now = time(NULL); in is_battery_ok()
/system/core/libcutils/
Dashmem-host.c43 srand(time(NULL) + getpid()); in initialize_random()
/system/core/libsync/tests/
Dsync_test.cpp286 timeval time = {0}; in TEST() local
287 ASSERT_EQ(select(fence.getFd() + 1, &set, nullptr, nullptr, &time), 0); in TEST()
297 ASSERT_EQ(select(fence.getFd() + 1, &set, nullptr, nullptr, &time), 1); in TEST()
/system/extras/tests/suspend_stress/
Dsuspend_stress.cpp177 time_t t = time(NULL); in main()
/system/core/debuggerd/
Dbacktrace.cpp48 time_t t = time(NULL); in dump_process_header()
Dcrasher.c30 if (time(0) != 42) { in maybe_abort()

12