Searched refs:ClockPath (Results 1 – 2 of 2) sorted by relevance
214 struct ClockPath { struct216 ClockPath() = default; argument217 ClockPath(const ClockPath&) = default;220 explicit ClockPath(ClockId clock_id) : last(clock_id) {} in ClockPath() argument224 ClockPath(const ClockPath& prefix, ClockId clock_id, SnapshotHash hash) { in ClockPath() argument296 ClockPath FindPath(ClockId src, ClockId target);
170 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()