Home
last modified time | relevance | path

Searched refs:realtime (Results 1 – 25 of 32) sorted by relevance

12

/system/core/logd/
DSerializedLogEntry.h36 SerializedLogEntry(uid_t uid, pid_t pid, pid_t tid, uint64_t sequence, log_time realtime, in SerializedLogEntry() argument
42 realtime_(realtime), in SerializedLogEntry()
57 .realtime = realtime(), in ToLogStatisticsElement()
74 entry.sec = realtime().tv_sec; in Flush()
75 entry.nsec = realtime().tv_nsec; in Flush()
86 log_time realtime() const { return realtime_; } in realtime() function
DRecordingLogBuffer.cpp26 void RecordingLogBuffer::RecordLogMessage(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, in RecordLogMessage() argument
37 .realtime = realtime, in RecordLogMessage()
58 int RecordingLogBuffer::Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, in Log() argument
60 RecordLogMessage(log_id, realtime, uid, pid, tid, msg, len); in Log()
61 return SimpleLogBuffer::Log(log_id, realtime, uid, pid, tid, msg, len); in Log()
DLogReaderThread.cpp72 [this](log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime) { in ThreadFunction() argument
73 return FilterFirstPass(log_id, pid, sequence, realtime); in ThreadFunction()
78 [this](log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime) { in ThreadFunction() argument
79 return FilterSecondPass(log_id, pid, sequence, realtime); in ThreadFunction()
120 FilterResult LogReaderThread::FilterFirstPass(log_id_t, pid_t pid, uint64_t, log_time realtime) { in FilterFirstPass() argument
123 if ((!pid_ || pid_ == pid) && (start_time_ == log_time::EPOCH || start_time_ <= realtime)) { in FilterFirstPass()
132 log_time realtime) { in FilterSecondPass() argument
149 if (start_time_ != log_time::EPOCH && realtime <= start_time_) { in FilterSecondPass()
DRecordingLogBuffer.h34 int Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, const char* msg,
38 void RecordLogMessage(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid,
DSimpleLogBuffer.cpp80 int SimpleLogBuffer::Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, in Log() argument
95 if ((realtime.tv_nsec % 1000) == 0) ++realtime.tv_nsec; in Log()
99 LogInternal(LogBufferElement(log_id, realtime, uid, pid, tid, sequence, msg, len)); in Log()
137 log_time realtime)>& filter) { in FlushTo()
176 filter(element.log_id(), element.pid(), element.sequence(), element.realtime()); in FlushTo()
DLogBuffer.h61 virtual int Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid,
68 log_time realtime)>& filter) = 0;
DLogBufferElement.h37 LogBufferElement(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid,
57 log_time realtime() const { return realtime_; } in realtime() function
DLogReaderThread.h68 FilterResult FilterFirstPass(log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime);
69 FilterResult FilterSecondPass(log_id_t log_id, pid_t pid, uint64_t sequence, log_time realtime);
DSerializedLogChunk.cpp106 SerializedLogEntry* SerializedLogChunk::Log(uint64_t sequence, log_time realtime, uid_t uid, in Log() argument
109 auto* entry = new (new_log_address) SerializedLogEntry(uid, pid, tid, sequence, realtime, len); in Log()
DRecordedLogMessage.h27 log_time realtime; member
DSerializedLogBuffer.h42 int Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, const char* msg,
47 log_time realtime)>& filter) override;
DChattyLogBuffer.cpp61 if (elem.realtime().nsec() > (last.realtime().nsec() + 60 * NS_PER_SEC)) return DIFFERENT; in Identical()
265 uint64_t current = element->realtime().nsec() - (EXPIRE_RATELIMIT * NS_PER_SEC); in clear()
269 current > mapElement->realtime().nsec()) { in clear()
493 if (element.realtime() < (lastt->realtime() - too_old) || in Prune()
494 element.realtime() > lastt->realtime()) { in Prune()
DLogBufferElement.cpp33 LogBufferElement::LogBufferElement(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, in LogBufferElement() argument
39 realtime_(realtime), in LogBufferElement()
111 .realtime = realtime(), in ToLogStatisticsElement()
DSimpleLogBuffer.h36 int Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, const char* msg,
41 log_time realtime)>& filter) override;
DReplayMessages.cpp117 return meta->realtime; in GetFirstTimeStamp()
194 simple_log_buffer_.Log(static_cast<log_id_t>(meta.log_id), meta.realtime, meta.uid, in Log()
197 chatty_log_buffer_.Log(static_cast<log_id_t>(meta.log_id), meta.realtime, meta.uid, in Log()
200 serialized_log_buffer_.Log(static_cast<log_id_t>(meta.log_id), meta.realtime, meta.uid, in Log()
251 log_buffer_->Log(static_cast<log_id_t>(meta.log_id), meta.realtime, meta.uid, meta.pid, in Log()
DSerializedLogBuffer.cpp71 int SerializedLogBuffer::Log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, pid_t tid, in Log() argument
96 auto entry = logs_[log_id].back().Log(sequence, realtime, uid, pid, tid, msg, len); in Log()
224 log_time realtime)>& filter) { in FlushTo()
245 auto ret = filter(log_id, entry->pid(), entry->sequence(), entry->realtime()); in FlushTo()
DSerializedLogChunk.h39 SerializedLogEntry* Log(uint64_t sequence, log_time realtime, uid_t uid, pid_t pid, pid_t tid,
/system/core/liblog/
Dpmsg_reader.cpp82 (buf.l.realtime.tv_nsec >= NS_PER_SEC) || in PmsgRead()
95 ((logger_list->start.tv_sec <= buf.l.realtime.tv_sec) && in PmsgRead()
96 ((logger_list->start.tv_sec != buf.l.realtime.tv_sec) || in PmsgRead()
97 (logger_list->start.tv_nsec <= buf.l.realtime.tv_nsec)))) && in PmsgRead()
117 log_msg->entry.sec = buf.l.realtime.tv_sec; in PmsgRead()
118 log_msg->entry.nsec = buf.l.realtime.tv_nsec; in PmsgRead()
Dlogd_writer.cpp114 header.realtime.tv_sec = ts->tv_sec; in LogdWrite()
115 header.realtime.tv_nsec = ts->tv_nsec; in LogdWrite()
Dpmsg_writer.cpp119 header.realtime.tv_sec = ts->tv_sec; in PmsgWrite()
120 header.realtime.tv_nsec = ts->tv_nsec; in PmsgWrite()
/system/core/liblog/tests/
Dliblog_benchmark.cpp198 header.realtime.tv_sec = ts.tv_sec; in BM_pmsg_short()
199 header.realtime.tv_nsec = ts.tv_nsec; in BM_pmsg_short()
285 buffer->header.realtime.tv_sec = ts.tv_sec; in BM_pmsg_short_aligned()
286 buffer->header.realtime.tv_nsec = ts.tv_nsec; in BM_pmsg_short_aligned()
360 buffer->header.realtime.tv_sec = ts.tv_sec; in BM_pmsg_short_unaligned1()
361 buffer->header.realtime.tv_nsec = ts.tv_nsec; in BM_pmsg_short_unaligned1()
435 buffer->header.realtime.tv_sec = ts.tv_sec; in BM_pmsg_long_aligned()
436 buffer->header.realtime.tv_nsec = ts.tv_nsec; in BM_pmsg_long_aligned()
508 buffer->header.realtime.tv_sec = ts.tv_sec; in BM_pmsg_long_unaligned1()
509 buffer->header.realtime.tv_nsec = ts.tv_nsec; in BM_pmsg_long_unaligned1()
/system/core/logd/fuzz/
Dlog_buffer_log_fuzzer.cpp50 log_time realtime; member
91 log_buffer->Log(log_id, logInput->realtime, logInput->uid, logInput->pid, logInput->tid, msg, in write_log_messages()
/system/core/libstats/socket/
Dstatsd_writer.c192 header.realtime.tv_sec = ts->tv_sec; in statsdWrite()
193 header.realtime.tv_nsec = ts->tv_nsec; in statsdWrite()
/system/core/libstats/push_compat/
Dstatsd_writer.c192 header.realtime.tv_sec = ts->tv_sec; in statsdWrite()
193 header.realtime.tv_nsec = ts->tv_nsec; in statsdWrite()
/system/core/liblog/include/private/
Dandroid_logger.h52 log_time realtime; member

12