Home
last modified time | relevance | path

Searched refs:nsec (Results 1 – 20 of 20) sorted by relevance

/system/logging/logd/
DLogBufferTest.cpp64 if (expected.nsec != result.nsec) { in CompareLoggerEntries()
66 StringPrintf("nsec: expected %" PRIu32 " vs %" PRIu32, expected.nsec, result.nsec)); in CompareLoggerEntries()
183 .nsec = 323001, in TEST_P()
199 {{.pid = 1, .tid = 2, .sec = 10000, .nsec = 20001, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
201 {{.pid = 10, .tid = 2, .sec = 10000, .nsec = 20002, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
203 {{.pid = 100, .tid = 2, .sec = 10000, .nsec = 20003, .lid = LOG_ID_KERNEL, .uid = 0}, in TEST_P()
205 {{.pid = 10, .tid = 2, .sec = 10000, .nsec = 20004, .lid = LOG_ID_MAIN, .uid = 0}, in TEST_P()
207 {{.pid = 1, .tid = 2, .sec = 10000, .nsec = 20005, .lid = LOG_ID_RADIO, .uid = 0}, in TEST_P()
209 {{.pid = 2, .tid = 2, .sec = 10000, .nsec = 20006, .lid = LOG_ID_RADIO, .uid = 0}, in TEST_P()
211 {{.pid = 3, .tid = 2, .sec = 10000, .nsec = 20007, .lid = LOG_ID_RADIO, .uid = 0}, in TEST_P()
[all …]
Dlogd_test.cpp153 msg->entry.nsec); in dump_log_msg()
385 log_time msg(msg_timeout.entry.sec, msg_timeout.entry.nsec); in TEST()
388 msg_timeout.entry.nsec, (unsigned)start.tv_sec, in TEST()
520 name = android::base::StringPrintf("a%" PRIu64, now.nsec()); in TEST()
DSerializedLogEntry.h74 entry.nsec = realtime().tv_nsec; in Flush()
DLogBufferElement.cpp154 entry.nsec = realtime_.tv_nsec; in FlushTo()
DLogBufferTest.h90 log_time(entry.sec, entry.nsec), entry.uid, entry.pid, in LogMessages()
DLogReader.cpp237 (int)pid, start.nsec(), static_cast<int64_t>(deadline.time_since_epoch().count())); in onDataAvailable()
DLogKlog.cpp213 signature.nsec()); in LogKlog()
/system/chre/platform/slpi/
Dsystem_time_util.cc36 uint64_t nsec = 0; in getNanosecondsFromQTimerTicks() local
41 nsec = (seconds * kOneSecondInNanoseconds); in getNanosecondsFromQTimerTicks()
43 nsec += (ticks * kOneSecondInNanoseconds) / kClockFreq; in getNanosecondsFromQTimerTicks()
44 return nsec; in getNanosecondsFromQTimerTicks()
/system/logging/liblog/include/log/
Dlog_read.h45 uint32_t nsec; /* nanoseconds */ member
63 uint64_t nsec() const { in nsec() function
64 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec; in nsec()
Dlog_time.h45 explicit log_time(uint32_t sec, uint32_t nsec = 0)
46 : tv_sec(sec), tv_nsec(nsec) { in tv_sec()
138 uint64_t nsec() const { in nsec() function
/system/logging/liblog/include_vndk/log/
Dlog_read.h45 uint32_t nsec; /* nanoseconds */ member
63 uint64_t nsec() const { in nsec() function
64 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec; in nsec()
/system/logging/liblog/
Dpmsg_reader.cpp118 log_msg->entry.nsec = buf.l.realtime.tv_nsec; in PmsgRead()
227 if (log_msg.entry.nsec % ANDROID_LOG_PMSG_FILE_SEQUENCE || in __android_log_pmsg_file_read()
228 (log_msg.entry.nsec / ANDROID_LOG_PMSG_FILE_SEQUENCE) >= in __android_log_pmsg_file_read()
351 if (log_msg.entry.nsec == content->entry.nsec) { in __android_log_pmsg_file_read()
368 if ((node_to_item(node, struct content, node))->entry.nsec < log_msg.entry.nsec) { in __android_log_pmsg_file_read()
412 while (sequence < content->entry.nsec) { in __android_log_pmsg_file_read()
440 sequence = content->entry.nsec + ANDROID_LOG_PMSG_FILE_SEQUENCE; in __android_log_pmsg_file_read()
Dlogprint.cpp497 entry->tv_nsec = buf->nsec; in android_log_processLogBuffer()
976 entry->tv_nsec = buf->nsec; in android_log_processBinaryLogBuffer()
1427 unsigned long nsec; in android_log_formatLogLine() local
1446 nsec = entry->tv_nsec; in android_log_formatLogLine()
1452 nsec = time.tv_nsec; in android_log_formatLogLine()
1456 nsec = NS_PER_SEC - nsec; in android_log_formatLogLine()
1468 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%09ld", nsec); in android_log_formatLogLine()
1470 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%06ld", nsec / US_PER_NSEC); in android_log_formatLogLine()
1472 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%03ld", nsec / MS_PER_NSEC); in android_log_formatLogLine()
/system/logging/liblog/tests/
Dlog_wrap_test.cpp47 log_time start(log_msg.entry.sec, log_msg.entry.nsec); in read_with_wrap()
Dlogprint_test.cpp127 header->nsec = kNsec; in TEST()
Dliblog_benchmark.cpp697 uint64_t start = ts.nsec(); in BM_log_latency()
698 uint64_t end = log_msg.nsec(); in BM_log_latency()
935 snprintf(name, sizeof(name), "a%" PRIu64, now.nsec()); in BM_lookupEventTagNum_logd_new()
/system/core/fs_mgr/tests/
Dadb-remount-test.sh626 adb_logcat -b all -v nsec -d
630 adb_logcat -b all -v nsec -t ${2}
632 adb_logcat -b all -v nsec -d
/system/core/debuggerd/libdebuggerd/
Dtombstone_proto.cpp617 StringPrintf("%s.%03d", timestamp_secs, log_entry.entry.nsec / 1'000'000); in dump_log_file()
/system/core/libutils/abi-dumps/arm64/source-based/
Dlibutils.so.lsdump13050 "field_name" : "nsec",
/system/core/libutils/abi-dumps/arm_arm64/source-based/
Dlibutils.so.lsdump13090 "field_name" : "nsec",