/system/core/toolbox/ |
H A D | uptime.c | 32 #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 D | prlimit.c | 35 #include <sys/time.h>
|
H A D | watchprops.c | 3 #include <time.h> 30 fprintf(stderr,"%10d %s = '%s'\n", (int) time(0), name, value);
|
H A D | alarm.c | 6 #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 D | test_ctime.cpp | 56 #ifdef time 78 using std::time; 90 volatile std::time_t time; local
|
/system/extras/tests/sdcard/ |
H A D | stopwatch.h | 34 #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 D | plot_sdcard.py | 23 -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 D | test_clock.c | 22 #include <time.h>
|
H A D | test_pthread_once.c | 31 #include <time.h>
|
/system/extras/tests/framebuffer/ |
H A D | refresh.c | 10 #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 D | logd.h | 26 #include <time.h>
|
/system/media/audio_utils/include/audio_utils/ |
H A D | echo_reference.h | 21 #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 D | resampler.h | 21 #include <sys/time.h>
|
/system/core/adb/ |
H A D | file_sync_service.h | 59 unsigned time; member in struct:__anon6::__anon8 65 unsigned time; member in struct:__anon6::__anon9
|
H A D | file_sync_client.c | 22 #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 D | Timers.cpp | 26 #include <sys/time.h> 27 #include <time.h>
|
/system/extras/tests/pftest/ |
H A D | pftest.c | 21 #include <sys/time.h> 22 #include <time.h>
|
/system/extras/cpustats/ |
H A D | cpustats.c | 40 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 D | google_keymaster_utils.h | 22 #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 D | util.c | 34 #include <sys/time.h>
|
/system/core/include/utils/ |
H A D | ProcessCallStack.h | 25 #include <time.h>
|
/system/extras/tests/icachetest/ |
H A D | icache_main.c | 2 #include <sys/time.h>
|
/system/extras/tests/include/ |
H A D | testUtil.h | 23 #include <sys/time.h>
|
/system/vold/ |
H A D | CheckBattery.cpp | 47 time_t now = time(NULL);
|
/system/core/libcutils/ |
H A D | ashmem-host.c | 32 #include <time.h> 43 srand(time(NULL) + getpid());
|