Searched refs:time (Results 1 - 25 of 118) sorted by relevance

12345

/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;
105 fprintf(stderr, "Could not get monotonic time\
[all...]
H A Dprlimit.c35 #include <sys/time.h>
H A Dwatchprops.c3 #include <time.h>
30 fprintf(stderr,"%10d %s = '%s'\n", (int) time(0), name, value);
H A Dalarm.c6 #include <time.h>
102 time(&tv.tv_sec);
105 time(&ts.tv_sec);
116 fprintf(stderr, "Unable to get current time: %s\n", strerror(errno));
122 printf("time %s -> %ld.%09ld\n", argv[optind], ts.tv_sec, ts.tv_nsec);
/system/extras/tests/bionic/libstdc++/
H A Dtest_ctime.cpp56 #ifdef time
78 using std::time;
90 volatile std::time_t time; local
/system/extras/tests/sdcard/
H A Dstopwatch.h34 #include <time.h>
51 // If the time measure is associated with some volume of data, use
55 // To capture the time accurately and since the runs are not too long,
56 // we collect the raw start and stop time in an array that get
94 // A StopWatch instance measures time intervals. Use setDataSize
99 // Starts and stops the timer. The time between the 2 calls is an
106 // is a pair (time, duration). The 1st sample is always at time
126 double timespecToDouble(const struct timespec& time);
H A Dplot_sdcard.py23 -t x axis is time
48 """Dataset holds the summary and data (time,value pairs)."""
53 self.time = []
61 return str(zip(self.time, self.data))
63 def Add(self, time, value):
64 self.time.append(time)
75 for t, d in izip(self.time, self.data):
82 self.time = new_time
164 (time, valu
[all...]
/system/extras/tests/bionic/libc/common/
H A Dtest_clock.c22 #include <time.h>
H A Dtest_pthread_once.c31 #include <time.h>
/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/core/include/log/
H A Dlogd.h26 #include <time.h>
/system/media/audio_utils/include/audio_utils/
H A Decho_reference.h21 #include <sys/time.h>
25 /* Buffer descriptor used by read() and write() methods, including the time stamp and delay. */
30 struct timespec time_stamp; // time stamp for this buffer (see comment below)
36 * - time_stamp is the time stamp corresponding to the delay calculation
42 * - time_stamp is the time stamp corresponding to the delay calculation
44 * - delay_ns is the delay between the returned frames and the capture time derived from
45 * delay and time stamp indicated as input. This delay is to be communicated to the AEC.
H A Dresampler.h21 #include <sys/time.h>
/system/core/adb/
H A Dfile_sync_service.h59 unsigned time; member in struct:__anon6::__anon8
65 unsigned time; member in struct:__anon6::__anon9
H A Dfile_sync_client.c22 #include <sys/time.h>
23 #include <time.h>
92 typedef void (*sync_ls_cb)(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie);
124 ltohl(msg.dent.time),
165 *timestamp = ltohl(msg.stat.time);
197 *timestamp = ltohl(msg.stat.time);
543 static void do_sync_ls_cb(unsigned mode, unsigned size, unsigned time, argument
546 printf("%08x %08x %08x %s\n", mode, size, time, name);
572 unsigned int time; member in struct:copyinfo
595 ci->time
822 sync_ls_build_list_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument
883 set_time_and_mode(const char *lpath, unsigned int time, unsigned int mode) argument
954 unsigned mode, time; local
[all...]
/system/core/libutils/
H A DTimers.cpp26 #include <sys/time.h>
27 #include <time.h>
/system/extras/tests/pftest/
H A Dpftest.c21 #include <sys/time.h>
22 #include <time.h>
/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...]
/system/keymaster/include/keymaster/
H A Dgoogle_keymaster_utils.h22 #include <time.h> // for time_t.
31 * Convert the specified time value into "Java time", which is a signed 64-bit integer representing
34 inline int64_t java_time(time_t time) { argument
38 return time * 1000;
/system/core/fastboot/
H A Dutil.c34 #include <sys/time.h>
/system/core/include/utils/
H A DProcessCallStack.h25 #include <time.h>
/system/extras/tests/icachetest/
H A Dicache_main.c2 #include <sys/time.h>
/system/extras/tests/include/
H A DtestUtil.h23 #include <sys/time.h>
/system/vold/
H A DCheckBattery.cpp47 time_t now = time(NULL);
/system/core/libcutils/
H A Dashmem-host.c32 #include <time.h>
43 srand(time(NULL) + getpid());

Completed in 4717 milliseconds

12345