Home
last modified time | relevance | path

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

/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/
DSchedulingSliceFragment.kt29 private val _slices = mutableListOf<SchedulingSliceFragment>() constant in trebuchet.model.fragments.SchedulingSliceFragment.Builder
30 val slices: List<SchedulingSliceFragment> get() = _slices
33 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()
DSchedulingProcessFragment.kt25 private val _slices = mutableListOf<SchedulingProcessFragment>() constant in trebuchet.model.fragments.SchedulingProcessFragment.Builder
26 val slices: List<SchedulingProcessFragment> get() = _slices
28 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()