/system/extras/tests/memtest/ |
H A D | memtest.h | 20 typedef long long nsecs_t; typedef 23 nsecs_t system_time();
|
H A D | fptest.cpp | 34 typedef long long nsecs_t; typedef 35 static nsecs_t gTime; 38 static nsecs_t system_time() 43 return nsecs_t(t.tv_sec)*1000000000LL + t.tv_nsec; 53 nsecs_t t = system_time() - gTime;
|
H A D | memtest.cpp | 31 nsecs_t system_time() { 35 return nsecs_t(t.tv_sec)*1000000000LL + t.tv_nsec;
|
H A D | bandwidth.h | 45 nsecs_t t = system_time();
|
/system/core/include/utils/ |
H A D | Timers.h | 36 typedef int64_t nsecs_t; // nano-seconds typedef 38 static CONSTEXPR inline nsecs_t seconds_to_nanoseconds(nsecs_t secs) 43 static CONSTEXPR inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs) 48 static CONSTEXPR inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs) 53 static CONSTEXPR inline nsecs_t nanoseconds_to_seconds(nsecs_t secs) 58 static CONSTEXPR inline nsecs_t nanoseconds_to_millisecond [all...] |
H A D | StopWatch.h | 38 nsecs_t lap(); 39 nsecs_t elapsedTime() const; 49 nsecs_t soFar; 50 nsecs_t thisLap; 53 nsecs_t mStartTime;
|
H A D | Looper.h | 358 void sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandler>& handler, 369 void sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, 439 MessageEnvelope(nsecs_t u, const sp<MessageHandler> h, 443 nsecs_t uptime; 471 nsecs_t mNextMessageUptime; // set to LLONG_MAX when none
|
H A D | Mutex.h | 78 status_t timedLock(nsecs_t timeoutNs); 141 inline status_t Mutex::timedLock(nsecs_t timeoutNs) {
|
H A D | Condition.h | 69 status_t waitRelative(Mutex& mutex, nsecs_t reltime); 118 inline status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime) {
|
/system/core/libutils/include/utils/ |
H A D | Timers.h | 36 typedef int64_t nsecs_t; // nano-seconds typedef 38 static CONSTEXPR inline nsecs_t seconds_to_nanoseconds(nsecs_t secs) 43 static CONSTEXPR inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs) 48 static CONSTEXPR inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs) 53 static CONSTEXPR inline nsecs_t nanoseconds_to_seconds(nsecs_t secs) 58 static CONSTEXPR inline nsecs_t nanoseconds_to_millisecond [all...] |
H A D | StopWatch.h | 38 nsecs_t lap(); 39 nsecs_t elapsedTime() const; 49 nsecs_t soFar; 50 nsecs_t thisLap; 53 nsecs_t mStartTime;
|
H A D | Looper.h | 358 void sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandler>& handler, 369 void sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, 439 MessageEnvelope(nsecs_t u, const sp<MessageHandler> h, 443 nsecs_t uptime; 471 nsecs_t mNextMessageUptime; // set to LLONG_MAX when none
|
H A D | Mutex.h | 78 status_t timedLock(nsecs_t timeoutNs); 141 inline status_t Mutex::timedLock(nsecs_t timeoutNs) {
|
H A D | Condition.h | 69 status_t waitRelative(Mutex& mutex, nsecs_t reltime); 118 inline status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime) {
|
/system/core/libutils/ |
H A D | Timers.cpp | 26 nsecs_t systemTime(int clock) 38 return nsecs_t(t.tv_sec)*1000000000LL + t.tv_nsec; 41 nsecs_t systemTime(int /*clock*/) 49 return nsecs_t(t.tv_sec)*1000000000LL + nsecs_t(t.tv_usec)*1000LL; 53 int toMillisecondTimeoutDelay(nsecs_t referenceTime, nsecs_t timeoutTime) 55 nsecs_t timeoutDelayMillis;
|
H A D | StopWatch.cpp | 42 nsecs_t elapsed = elapsedTime(); 46 const nsecs_t soFar = mLaps[i].soFar; 47 const nsecs_t thisLap = mLaps[i].thisLap; 57 nsecs_t StopWatch::lap() 59 nsecs_t elapsed = elapsedTime(); 71 nsecs_t StopWatch::elapsedTime() const
|
H A D | Looper.cpp | 221 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); 310 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); 380 nsecs_t endTime = systemTime(SYSTEM_TIME_MONOTONIC) 389 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); 579 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); 583 void Looper::sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandler>& handler, 585 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); 589 void Looper::sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler,
|
H A D | PropertyMap.cpp | 128 nsecs_t startTime = systemTime(SYSTEM_TIME_MONOTONIC); 133 nsecs_t elapsedTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime;
|
H A D | Threads.cpp | 452 status_t wait(WinCondition* condState, HANDLE hMutex, nsecs_t* abstime) 463 nsecs_t reltime = *abstime - systemTime(); 555 status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime) 559 nsecs_t absTime = systemTime()+reltime;
|
/system/vold/ |
H A D | Benchmark.h | 29 nsecs_t BenchmarkPrivate(const std::string& path);
|
H A D | Benchmark.cpp | 51 static nsecs_t benchmark(const std::string& path) { 87 nsecs_t start = systemTime(SYSTEM_TIME_BOOTTIME); 91 nsecs_t create = systemTime(SYSTEM_TIME_BOOTTIME); 100 nsecs_t drop = systemTime(SYSTEM_TIME_BOOTTIME); 104 nsecs_t run = systemTime(SYSTEM_TIME_BOOTTIME); 108 nsecs_t destroy = systemTime(SYSTEM_TIME_BOOTTIME); 120 nsecs_t create_d = create - start; 121 nsecs_t drop_d = drop - create; 122 nsecs_t run_d = run - drop; 123 nsecs_t destroy_ [all...] |
H A D | TrimTask.cpp | 129 nsecs_t start = systemTime(SYSTEM_TIME_BOOTTIME); 134 nsecs_t delta = systemTime(SYSTEM_TIME_BOOTTIME) - start;
|
H A D | VolumeManager.h | 123 nsecs_t benchmarkPrivate(const std::string& id);
|
/system/tools/hidl/test/ |
H A D | FooCallback.cpp | 32 nsecs_t start = systemTime(); 34 nsecs_t end = systemTime(); 46 nsecs_t start = systemTime(); 50 nsecs_t end = systemTime(); 62 nsecs_t start = systemTime(); 66 nsecs_t end = systemTime(); 79 nsecs_t leftToWaitNs = ns; 90 nsecs_t start = systemTime();
|
/system/core/libutils/tests/ |
H A D | Looper_test.cpp | 561 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); 598 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); 617 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC);
|