Home
last modified time | relevance | path

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

/system/core/liblog/include/log/
Dlog_read.h61 int32_t nsec; /* nanoseconds */ member
79 int32_t nsec; /* nanoseconds */ member
98 int32_t nsec; /* nanoseconds */ member
117 uint32_t nsec; /* nanoseconds */ member
154 return (entry.sec == T.entry.sec) && (entry.nsec == T.entry.nsec);
161 ((entry.sec == T.entry.sec) && (entry.nsec < T.entry.nsec));
168 ((entry.sec == T.entry.sec) && (entry.nsec > T.entry.nsec));
173 uint64_t nsec() const { in nsec() function
174 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec; in nsec()
Dlog_time.h48 explicit log_time(uint32_t sec, uint32_t nsec = 0)
49 : tv_sec(sec), tv_nsec(nsec) { in tv_sec()
148 uint64_t nsec() const { in nsec() function
/system/core/liblog/include_vndk/log/
Dlog_read.h61 int32_t nsec; /* nanoseconds */ member
79 int32_t nsec; /* nanoseconds */ member
98 int32_t nsec; /* nanoseconds */ member
117 uint32_t nsec; /* nanoseconds */ member
154 return (entry.sec == T.entry.sec) && (entry.nsec == T.entry.nsec);
161 ((entry.sec == T.entry.sec) && (entry.nsec < T.entry.nsec));
168 ((entry.sec == T.entry.sec) && (entry.nsec > T.entry.nsec));
173 uint64_t nsec() const { in nsec() function
174 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec; in nsec()
Dlog_time.h48 explicit log_time(uint32_t sec, uint32_t nsec = 0)
49 : tv_sec(sec), tv_nsec(nsec) { in tv_sec()
148 uint64_t nsec() const { in nsec() function
/system/core/liblog/
Dpmsg_reader.c231 log_msg->entry_v4.nsec = buf.l.realtime.tv_nsec; in pmsgRead()
353 if ((transp.logMsg.entry.nsec % ANDROID_LOG_PMSG_FILE_SEQUENCE) || in __android_log_pmsg_file_read()
354 ((transp.logMsg.entry.nsec / ANDROID_LOG_PMSG_FILE_SEQUENCE) >= in __android_log_pmsg_file_read()
479 if (transp.logMsg.entry.nsec == content->entry.nsec) { in __android_log_pmsg_file_read()
497 if ((node_to_item(node, struct content, node))->entry.nsec < in __android_log_pmsg_file_read()
498 transp.logMsg.entry.nsec) { in __android_log_pmsg_file_read()
542 while (sequence < content->entry.nsec) { in __android_log_pmsg_file_read()
572 sequence = content->entry.nsec + ANDROID_LOG_PMSG_FILE_SEQUENCE; in __android_log_pmsg_file_read()
Dlogprint.c509 entry->tv_nsec = buf->nsec; in android_log_processLogBuffer()
988 entry->tv_nsec = buf->nsec; in android_log_processBinaryLogBuffer()
1527 unsigned long nsec; in android_log_formatLogLine() local
1546 nsec = entry->tv_nsec; in android_log_formatLogLine()
1554 nsec = time.tv_nsec; in android_log_formatLogLine()
1559 nsec = NS_PER_SEC - nsec; in android_log_formatLogLine()
1576 len += snprintf(timeBuf + len, sizeof(timeBuf) - len, ".%09ld", nsec); in android_log_formatLogLine()
1579 nsec / US_PER_NSEC); in android_log_formatLogLine()
1582 nsec / MS_PER_NSEC); in android_log_formatLogLine()
Dstderr_write.c171 log_msg.entry.nsec = ts->tv_nsec; in stderrWrite()
Dlogger_read.c431 (oldest->logMsg.entry.nsec > transp->logMsg.entry.nsec)))) { in android_logger_list_read()
Dlocal_logger.c412 log_msg->entry_v3.nsec = element->timestamp.tv_nsec; in writeToLocalRead()
/system/connectivity/wifilogd/
Dcommand_processor.cpp44 uint32_t NsecToUsec(uint32_t nsec);
120 uint32_t NsecToUsec(uint32_t nsec) { return nsec / 1000; } in NsecToUsec() argument
/system/core/logd/
DLogReader.cpp79 log_time(CLOCK_REALTIME).nsec(); in onDataAvailable()
DLogBufferElement.cpp220 entry.nsec = mRealTime.tv_nsec; in flushTo()
DLogKlog.cpp218 signature.nsec()); in LogKlog()
562 if (sig == signature.nsec()) { in log()
DLogBuffer.cpp148 if (elem->getRealTime().nsec() > in identical()
149 (last->getRealTime().nsec() + 60 * NS_PER_SEC)) in identical()
/system/core/logd/tests/
Dlogd_test.cpp241 msg->entry.sec, msg->entry.nsec); in dump_log_msg()
727 log_time msg(msg_timeout.entry.sec, msg_timeout.entry.nsec); in TEST()
730 msg_timeout.entry.nsec, (unsigned)now.tv_sec, in TEST()
863 snprintf(name, sizeof(name), "a%" PRIu64, now.nsec()); in TEST()
/system/core/liblog/tests/
Dliblog_benchmark.cpp643 uint64_t start = ts.nsec(); in BM_log_latency()
644 uint64_t end = log_msg.nsec(); in BM_log_latency()
949 snprintf(name, sizeof(name), "a%" PRIu64, now.nsec()); in BM_lookupEventTagNum_logd_new()
/system/core/debuggerd/libdebuggerd/
Dtombstone.cpp597 timeBuf, entry->nsec / 1000000, entry->pid, entry->tid, in dump_log_file()
624 timeBuf, entry->nsec / 1000000, entry->pid, entry->tid, in dump_log_file()