Home
last modified time | relevance | path

Searched refs:next_sample_cache_ (Results 1 – 2 of 2) sorted by relevance

/system/extras/simpleperf/
Dreport_lib_interface.cpp192 std::unordered_map<pid_t, std::unique_ptr<SampleRecord>> next_sample_cache_; member in ReportLib
260 auto it = next_sample_cache_.find(r->tid_data.tid); in GetNextSample()
261 if (it == next_sample_cache_.end()) { in GetNextSample()
262 next_sample_cache_[r->tid_data.tid].reset(r); in GetNextSample()
294 uint64_t next_time = std::max(next_sample_cache_[r.tid_data.tid]->time_data.time, in SetCurrentSample()
Dcmd_report.cpp285 auto it = next_sample_cache_.find(tid); in ReportCmdProcessSampleRecord()
286 if (it == next_sample_cache_.end()) { in ReportCmdProcessSampleRecord()
287 next_sample_cache_[tid] = r; in ReportCmdProcessSampleRecord()
297 auto it = next_sample_cache_.find(r.tid_data.tid); in GetPeriod()
298 CHECK(it != next_sample_cache_.end()); in GetPeriod()
307 std::unordered_map<pid_t, std::shared_ptr<SampleRecord>> next_sample_cache_; member in __anona4eb4dc80111::TimestampSampleTreeBuilder