Home
last modified time | relevance | path

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

/system/core/include/log/
Dlogger.h36 int32_t nsec; /* nanoseconds */ member
51 int32_t nsec; /* nanoseconds */ member
62 int32_t nsec; /* nanoseconds */ member
73 uint32_t nsec; /* nanoseconds */ member
108 return (entry.sec == T.entry.sec) && (entry.nsec == T.entry.nsec);
118 && (entry.nsec < T.entry.nsec));
128 && (entry.nsec > T.entry.nsec));
134 uint64_t nsec() const in nsec() function
136 return static_cast<uint64_t>(entry.sec) * NS_PER_SEC + entry.nsec; in nsec()
Dlog_read.h44 log_time(uint32_t sec, uint32_t nsec) in log_time()
47 tv_nsec = nsec; in log_time()
150 uint64_t nsec() const in nsec() function
/system/core/liblog/
Dpmsg_reader.c224 log_msg->entry_v4.nsec = buf.l.realtime.tv_nsec; in pmsgRead()
339 if ((transp.logMsg.entry.nsec % ANDROID_LOG_PMSG_FILE_SEQUENCE) || in __android_log_pmsg_file_read()
340 ((transp.logMsg.entry.nsec / ANDROID_LOG_PMSG_FILE_SEQUENCE) >= in __android_log_pmsg_file_read()
467 if (transp.logMsg.entry.nsec == content->entry.nsec) { in __android_log_pmsg_file_read()
485 if ((node_to_item(node, struct content, node))->entry.nsec < in __android_log_pmsg_file_read()
486 transp.logMsg.entry.nsec) { in __android_log_pmsg_file_read()
530 while (sequence < content->entry.nsec) { in __android_log_pmsg_file_read()
560 sequence = content->entry.nsec + ANDROID_LOG_PMSG_FILE_SEQUENCE; in __android_log_pmsg_file_read()
Dlogprint.c466 entry->tv_nsec = buf->nsec; in android_log_processLogBuffer()
764 entry->tv_nsec = buf->nsec; in android_log_processBinaryLogBuffer()
1281 unsigned long nsec; in android_log_formatLogLine() local
1300 nsec = entry->tv_nsec; in android_log_formatLogLine()
1307 nsec = time.tv_nsec; in android_log_formatLogLine()
1311 nsec = NS_PER_SEC - nsec; in android_log_formatLogLine()
1331 ".%06ld", nsec / US_PER_NSEC); in android_log_formatLogLine()
1334 ".%03ld", nsec / MS_PER_NSEC); in android_log_formatLogLine()
Dlogger_read.c416 (oldest->logMsg.entry.nsec > in android_logger_list_read()
417 transp->logMsg.entry.nsec)))) { in android_logger_list_read()
/system/core/logd/
DLogReader.cpp79 log_time(CLOCK_REALTIME).nsec(); in onDataAvailable()
DLogBufferElement.cpp216 entry.nsec = mRealTime.tv_nsec; in flushTo()
DLogKlog.cpp228 signature.nsec()); in LogKlog()
574 if (sig == signature.nsec()) { in log()
DLogBuffer.cpp425 uint64_t current = element->getRealTime().nsec() in clear()
430 && (current > mapElement->getRealTime().nsec())) { in clear()
/system/core/liblog/tests/
Dliblog_benchmark.cpp557 uint64_t start = ts.nsec(); in BM_log_latency()
558 uint64_t end = log_msg.nsec(); in BM_log_latency()
/system/core/logd/tests/
Dlogd_test.cpp228 msg->entry.pid, msg->entry.tid, msg->entry.sec, msg->entry.nsec); in dump_log_msg()
683 log_time msg(msg_timeout.entry.sec, msg_timeout.entry.nsec); in TEST()
/system/core/debuggerd/
Dtombstone.cpp564 timeBuf, entry->nsec / 1000000, entry->pid, entry->tid, in dump_log_file()
591 timeBuf, entry->nsec / 1000000, entry->pid, entry->tid, in dump_log_file()