Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 25 of 65) sorted by relevance

123

/system/extras/tests/timetest/
Dtimetest.c15 struct timespec t; in nanotime()
26 static struct timespec ts_sub(struct timespec a, struct timespec b) in ts_sub()
28 struct timespec r; in ts_sub()
42 static struct timespec ts_min(struct timespec a, struct timespec b) in ts_min()
50 static struct timespec ts_max(struct timespec a, struct timespec b) in ts_max()
61 struct timespec t1, dtmin, dtminp, dtmax; in main()
80 struct timespec t, dt; in main()
/system/core/include/log/
Dlog_read.h39 log_time(const timespec &T) in log_time()
49 static const timespec EPOCH;
55 timespec T; in log_time()
68 bool operator== (const timespec &T) const
73 bool operator!= (const timespec &T) const
77 bool operator< (const timespec &T) const
83 bool operator>= (const timespec &T) const
87 bool operator> (const timespec &T) const
93 bool operator<= (const timespec &T) const
97 log_time operator-= (const timespec &T);
[all …]
/system/bt/osi/src/
Dtime.c26 struct timespec timespec; in time_get_os_boottime_ms() local
27 clock_gettime(CLOCK_BOOTTIME, &timespec); in time_get_os_boottime_ms()
28 return (timespec.tv_sec * 1000) + (timespec.tv_nsec / 1000000); in time_get_os_boottime_ms()
/system/extras/tests/include/
DtestUtil.h28 struct timespec double2ts(double amt);
30 double ts2double(const struct timespec *val);
32 struct timespec tsDelta(const struct timespec *first,
33 const struct timespec *second);
/system/extras/tests/lib/testUtil/
DtestUtil.c47 double ts2double(const struct timespec *val) in ts2double()
69 struct timespec double2ts(double amt) in double2ts()
71 struct timespec rv; in double2ts()
103 struct timespec tsDelta(const struct timespec *first, in tsDelta()
104 const struct timespec *second) in tsDelta()
106 struct timespec rv; in tsDelta()
266 struct timespec start, current, delta; in testDelay()
267 struct timespec remaining; in testDelay()
292 struct timespec start, current, delta; in testDelaySpin()
/system/extras/tests/sdcard/
Dstopwatch.h79 struct timespec mTime;
126 double timespecToDouble(const struct timespec& time);
133 struct timespec mStart;
/system/extras/tests/suspend_stress/
Dsuspend_stress.cpp35 long long timediff_ns(const struct timespec *a, const struct timespec *b) { in timediff_ns()
119 struct timespec expected_time; in main()
120 struct timespec actual_time; in main()
/system/update_engine/common/
Dclock.cc28 struct timespec now_ts; in GetMonotonicTime()
44 struct timespec now_ts; in GetBootTime()
/system/core/liblog/
Dlog_time.cpp27 LIBLOG_ABI_PRIVATE const timespec log_time::EPOCH = { 0, 0 };
137 LIBLOG_ABI_PRIVATE log_time log_time::operator-= (const timespec &T) { in operator -=()
154 LIBLOG_ABI_PRIVATE log_time log_time::operator+= (const timespec &T) { in operator +=()
Dfake_writer.c30 static int fakeWrite(log_id_t log_id, struct timespec *ts,
65 static int fakeWrite(log_id_t log_id, struct timespec *ts __unused, in fakeWrite()
Dlogprint.c977 static char *readSeconds(char *e, struct timespec *t) in readSeconds()
993 static struct timespec *sumTimespec(struct timespec *left, in sumTimespec()
994 struct timespec *right) in sumTimespec()
1005 static struct timespec *subTimespec(struct timespec *result, in subTimespec()
1006 struct timespec *left, in subTimespec()
1007 struct timespec *right) in subTimespec()
1018 static long long nsecTimespec(struct timespec *now) in nsecTimespec()
1023 static void convertMonotonic(struct timespec *result, in convertMonotonic()
1029 struct timespec time; in convertMonotonic()
1030 struct timespec convert; in convertMonotonic()
[all …]
Dpmsg_writer.c41 static int pmsgWrite(log_id_t logId, struct timespec *ts,
98 static int pmsgWrite(log_id_t logId, struct timespec *ts, in pmsgWrite()
213 struct timespec ts; in __android_log_pmsg_file_write()
Dlogd_writer.c51 static int logdWrite(log_id_t logId, struct timespec *ts,
117 static int logdWrite(log_id_t logId, struct timespec *ts, in logdWrite()
/system/core/include/utils/
DCondition.h110 struct timespec ts; in waitRelative()
115 struct timespec ts; in waitRelative()
/system/core/liblog/tests/
Dlibc_test.cpp42 struct timespec ts; in TEST()
103 struct timespec ts; in TEST()
Dliblog_benchmark.cpp123 struct timespec ts; in BM_pmsg_short()
200 struct timespec ts; in BM_pmsg_short_aligned()
276 struct timespec ts; in BM_pmsg_short_unaligned1()
352 struct timespec ts; in BM_pmsg_long_aligned()
425 struct timespec ts; in BM_pmsg_long_unaligned1()
/system/connectivity/shill/net/
Dshill_time.cc69 struct timespec ts; in GetTimeMonotonic()
80 struct timespec ts; in GetTimeBoottime()
/system/media/audio_utils/include/audio_utils/
Decho_reference.h30 struct timespec time_stamp; // time stamp for this buffer (see comment below)
/system/media/alsa_utils/include/
Dalsa_device_proxy.h47 uint64_t *frames, struct timespec *timestamp);
/system/bt/osi/test/
Dtime_test.cpp63 struct timespec delay; in TEST_F()
/system/core/libutils/
DTimers.cpp36 struct timespec t; in systemTime()
DSystemClock.cpp111 struct timespec ts; in elapsedRealtimeNano()
/system/security/keystore/
Dkeystore_keymaster_enforcement.h33 struct timespec tp; in get_current_time()
/system/extras/tests/pftest/
Dpftest.c39 struct timespec t; in stop_watch()
/system/core/logd/
DLogTimes.h58 struct timespec mTimeout;

123