/system/core/liblog/ |
log_time.cpp | 105 unsigned long mul = NS_PER_SEC; 145 this->tv_nsec = NS_PER_SEC + this->tv_nsec - T.tv_nsec; 156 if (this->tv_nsec >= NS_PER_SEC) { 157 this->tv_nsec -= NS_PER_SEC; 173 this->tv_nsec = NS_PER_SEC + this->tv_nsec - T.tv_nsec; 184 if (this->tv_nsec >= NS_PER_SEC) { 185 this->tv_nsec -= NS_PER_SEC;
|
logprint.c | 986 multiplier = NS_PER_SEC; 998 if (left->tv_nsec >= (long)NS_PER_SEC) { 999 left->tv_nsec -= NS_PER_SEC; 1012 result->tv_nsec += NS_PER_SEC; 1020 return (long long)now->tv_sec * NS_PER_SEC + now->tv_nsec; [all...] |
pmsg_reader.c | 187 || (buf.l.realtime.tv_nsec >= NS_PER_SEC)) {
|
/device/htc/flounder/sensor_hub/libsensors/ |
SensorBase.h | 30 #define NS_PER_SEC 1000000000LL 44 return t.tv_sec*NS_PER_SEC + t.tv_usec*NS_PER_US;
|
SensorBase.cpp | 114 return int64_t(t.tv_sec)*NS_PER_SEC + t.tv_nsec;
|
/system/core/include/log/ |
log_read.h | 24 #define NS_PER_SEC 1000000000ULL 152 return static_cast<uint64_t>(tv_sec) * NS_PER_SEC + tv_nsec;
|
logger.h | 93 #define NS_PER_SEC 1000000000ULL 136 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec;
|
/system/extras/memtrack/ |
memtrack.h | 27 #define NS_PER_SEC 1000000000LL
|
memtrack.cpp | 351 nsecs = (unsigned long long)t.tv_sec*NS_PER_SEC + t.tv_nsec; 357 nsecs = ((unsigned long long)t.tv_sec*NS_PER_SEC + t.tv_nsec) - nsecs; 358 printf("Scan Time %0.4f\n", ((double)nsecs)/NS_PER_SEC);
|
/system/core/logd/ |
LogTimes.cpp | 46 mTimeout.tv_sec = timeout / NS_PER_SEC; 47 mTimeout.tv_nsec = timeout % NS_PER_SEC;
|
LogReader.cpp | 78 timeout = atol(cp + sizeof(_timeout) - 1) * NS_PER_SEC +
|
LogKlog.cpp | 377 unsigned long multiplier = NS_PER_SEC;
|
LogBuffer.cpp | 426 - (EXPIRE_RATELIMIT * NS_PER_SEC); [all...] |
/system/extras/micro_bench/ |
micro_bench.cpp | 42 #define NS_PER_SEC 1000000000 91 return static_cast<uint64_t>(t.tv_sec) * NS_PER_SEC + t.tv_nsec; 136 return ((size/1024.0) * copies) / ((double)time_ns/NS_PER_SEC); 153 name, copies, size, (double)time_ns/NS_PER_SEC, avg/1024.0); 182 return ((size/1024.0) * copies * num_buffers) / ((double)time_ns/NS_PER_SEC); 187 name, copies, num_buffers, size, (double)time_ns/NS_PER_SEC, avg/1024.0); 384 (double)time_ns/NS_PER_SEC, [all...] |
/frameworks/base/core/jni/ |
android_app_admin_SecurityLog.cpp | 133 log_time(startTime / NS_PER_SEC, startTime % NS_PER_SEC), 0);
|
/system/core/libbacktrace/ |
backtrace_test.cpp | 59 #define NS_PER_SEC 1000000000ULL 91 return static_cast<uint64_t>(t.tv_sec * NS_PER_SEC + t.tv_nsec); 111 if ((NanoTime() - start) > NS_PER_SEC) { 216 } while ((NanoTime() - start) < seconds * NS_PER_SEC); 335 } while (!verified && (NanoTime() - start) <= 5 * NS_PER_SEC); 453 ((NanoTime() - start) <= 5 * NS_PER_SEC)); [all...] |
/system/core/logcat/ |
logcat.cpp | 475 log_time modulo(0, NS_PER_SEC); [all...] |