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.cpp175 std::unordered_map<pid_t, std::unique_ptr<SampleRecord>> next_sample_cache_; member in simpleperf::ReportLib
234 auto it = next_sample_cache_.find(r->tid_data.tid); in GetNextSample()
235 if (it == next_sample_cache_.end()) { in GetNextSample()
236 next_sample_cache_[r->tid_data.tid].reset(r); in GetNextSample()
269 std::max(next_sample_cache_[r.tid_data.tid]->time_data.time, r.time_data.time + 1); in SetCurrentSample()
Dcmd_report.cpp289 auto it = next_sample_cache_.find(tid); in ReportCmdProcessSampleRecord()
290 if (it == next_sample_cache_.end()) { in ReportCmdProcessSampleRecord()
291 next_sample_cache_[tid] = r; in ReportCmdProcessSampleRecord()
301 auto it = next_sample_cache_.find(r.tid_data.tid); in GetPeriod()
302 CHECK(it != next_sample_cache_.end()); in GetPeriod()
311 std::unordered_map<pid_t, std::shared_ptr<SampleRecord>> next_sample_cache_; member in simpleperf::__anonf73725a60111::TimestampSampleTreeBuilder