Searched refs:_slices (Results 1 – 2 of 2) sorted by relevance
29 private val _slices = mutableListOf<SchedulingSliceFragment>() constant in trebuchet.model.fragments.SchedulingSliceFragment.Builder30 val slices: List<SchedulingSliceFragment> get() = _slices33 if (_slices.isNotEmpty()) { in switchState()34 if (_slices.last().state == newState) { in switchState()38 _slices.last().endTime = timestamp in switchState()40 _slices.add(SchedulingSliceFragment(newState, timestamp)) in switchState()
25 private val _slices = mutableListOf<SchedulingProcessFragment>() constant in trebuchet.model.fragments.SchedulingProcessFragment.Builder26 val slices: List<SchedulingProcessFragment> get() = _slices28 if (_slices.isNotEmpty()) { in switchProcess()29 if (_slices.last().endTime == Double.MAX_VALUE) { in switchProcess()30 _slices.last().endTime = timestamp in switchProcess()34 _slices.add(SchedulingProcessFragment(process, thread, timestamp)) in switchProcess()