Searched refs:pending_slice_idx (Results 1 – 1 of 1) sorted by relevance
91 uint32_t pending_slice_idx = pending_sched->pending_slice_storage_idx; in PushSchedSwitch() local92 if (pending_slice_idx < std::numeric_limits<uint32_t>::max()) { in PushSchedSwitch()95 ClosePendingSlice(pending_slice_idx, ts, prev_state); in PushSchedSwitch()158 uint32_t pending_slice_idx = pending_sched->pending_slice_storage_idx; in PushSchedSwitchCompact() local159 if (pending_slice_idx < std::numeric_limits<uint32_t>::max()) in PushSchedSwitchCompact()160 ClosePendingSlice(pending_slice_idx, ts, prev_state); in PushSchedSwitchCompact()232 void SchedEventTracker::ClosePendingSlice(uint32_t pending_slice_idx, in ClosePendingSlice() argument237 int64_t duration = ts - slices->ts()[pending_slice_idx]; in ClosePendingSlice()238 slices->mutable_dur()->Set(pending_slice_idx, duration); in ClosePendingSlice()253 slices->mutable_end_state()->Set(pending_slice_idx, id); in ClosePendingSlice()