Home
last modified time | relevance | path

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

/external/perfetto/src/trace_processor/importers/common/
Dclock_tracker.h214 struct ClockPath { struct
216 ClockPath() = default; argument
217 ClockPath(const ClockPath&) = default;
220 explicit ClockPath(ClockId clock_id) : last(clock_id) {} in ClockPath() argument
224 ClockPath(const ClockPath& prefix, ClockId clock_id, SnapshotHash hash) { in ClockPath() argument
296 ClockPath FindPath(ClockId src, ClockId target);
Dclock_tracker.cc170 ClockTracker::ClockPath ClockTracker::FindPath(ClockId src, ClockId target) { in FindPath()
176 std::queue<ClockPath> queue; in FindPath()
180 ClockPath cur_path = queue.front(); in FindPath()
187 if (cur_path.len >= ClockPath::kMaxLen) in FindPath()
198 queue.push(ClockPath(cur_path, next_clock_id, hash)); in FindPath()
201 return ClockPath(); // invalid path. in FindPath()
212 ClockPath path = FindPath(src_clock_id, target_clock_id); in ConvertSlowpath()