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

1234

/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 Dwatchprops.c3 #include <time.h>
37 fprintf(stderr,"%10d %s = '%s'\n", (int) time(0), name, value);
/system/extras/tests/bionic/libc/common/
H A Dtest_tm_zone.c29 #include <time.h>
36 fprintf(stderr, "TM_ZONE is not defined in <time.h> !!\n" );
40 time_t now = time(NULL);
H A Dtest_strftime_2039.c4 #include <time.h>
11 time_t now = time(NULL);
H A Dtest_clock.c22 #include <time.h>
H A Dtest_strptime.c22 #include <time.h>
H A Dtest_pthread_once.c31 #include <time.h>
/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/core/include/cutils/
H A Dlogd.h26 #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/extras/tests/bionic/libc/other/
H A Dbench_locks.c4 #include <sys/time.h>
H A Dtest_thread_max.c30 #include <time.h>
H A Dtest_timer_create.c29 #include <time.h>
41 time(&t);
H A Dtest_timer_create2.c29 #include <time.h>
41 time(&t);
H A Dtest_timer_create3.c29 #include <time.h>
49 time(&t);
/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:__anon275::__anon277
65 unsigned time; member in struct:__anon275::__anon278
/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/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/core/libcutils/
H A Dashmem-host.c30 #include <time.h>
44 srand(time(NULL) + pid);

Completed in 505 milliseconds

1234