Searched refs:pending_slice_idx (Results 1 – 1 of 1) sorted by relevance
93 uint32_t pending_slice_idx = pending_sched->pending_slice_storage_idx; in PushSchedSwitch() local94 if (pending_slice_idx < std::numeric_limits<uint32_t>::max()) { in PushSchedSwitch()97 ClosePendingSlice(pending_slice_idx, ts, prev_state); in PushSchedSwitch()162 uint32_t pending_slice_idx = pending_sched->pending_slice_storage_idx; in PushSchedSwitchCompact() local163 if (pending_slice_idx < std::numeric_limits<uint32_t>::max()) in PushSchedSwitchCompact()164 ClosePendingSlice(pending_slice_idx, ts, prev_state); in PushSchedSwitchCompact()236 void SchedEventTracker::ClosePendingSlice(uint32_t pending_slice_idx, in ClosePendingSlice() argument241 int64_t duration = ts - slices->ts()[pending_slice_idx]; in ClosePendingSlice()242 slices->mutable_dur()->Set(pending_slice_idx, duration); in ClosePendingSlice()257 slices->mutable_end_state()->Set(pending_slice_idx, id); in ClosePendingSlice()