/system/core/liblog/include/log/ |
D | log_read.h | 61 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()
|
D | log_time.h | 48 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/ |
D | log_read.h | 61 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()
|
D | log_time.h | 48 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/ |
D | pmsg_reader.c | 231 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()
|
D | logprint.c | 509 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()
|
D | stderr_write.c | 171 log_msg.entry.nsec = ts->tv_nsec; in stderrWrite()
|
D | logger_read.c | 431 (oldest->logMsg.entry.nsec > transp->logMsg.entry.nsec)))) { in android_logger_list_read()
|
D | local_logger.c | 412 log_msg->entry_v3.nsec = element->timestamp.tv_nsec; in writeToLocalRead()
|
/system/connectivity/wifilogd/ |
D | command_processor.cpp | 44 uint32_t NsecToUsec(uint32_t nsec); 120 uint32_t NsecToUsec(uint32_t nsec) { return nsec / 1000; } in NsecToUsec() argument
|
/system/core/logd/ |
D | LogReader.cpp | 79 log_time(CLOCK_REALTIME).nsec(); in onDataAvailable()
|
D | LogBufferElement.cpp | 220 entry.nsec = mRealTime.tv_nsec; in flushTo()
|
D | LogKlog.cpp | 218 signature.nsec()); in LogKlog() 562 if (sig == signature.nsec()) { in log()
|
D | LogBuffer.cpp | 148 if (elem->getRealTime().nsec() > in identical() 149 (last->getRealTime().nsec() + 60 * NS_PER_SEC)) in identical()
|
/system/core/logd/tests/ |
D | logd_test.cpp | 241 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/ |
D | liblog_benchmark.cpp | 643 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/ |
D | tombstone.cpp | 597 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()
|