Home
last modified time | relevance | path

Searched refs:slices (Results 1 – 15 of 15) sorted by relevance

/tools/trebuchet/trebuchet/analyzer/src/
DAnalyzer.kt19 import trebuchet.queries.slices.* in <lambda>()
25 val slices = model.slices().filter { it.name.startsWith("MergeShot") } in <lambda>() constant
26 slices.forEach { println("${it.name} took ${it.duration}") } in <lambda>()
27 val totalDuration = slices.map { it.duration }.reduce { a, b -> a+b } in <lambda>()
34 it.slices.any { in measureStartup()
40 val start = uiThread.slices.first { in measureStartup()
43 val end = rtThread.slices.first { in measureStartup()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/model/
DSliceGroupBuilderTest.kt37 assertEquals(slice, group.slices.first()) in testSimpleBuild()
56 assertEquals(0, group.slices.size) in testNestedBuild()
63 assertEquals(1, group.slices.size) in testNestedBuild()
64 assertEquals(slice, group.slices.first()) in testNestedBuild()
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/
DCpuModel.kt22 val slices = fragment.slices constant
23 val hasContent = slices.isNotEmpty()
DThreadModel.kt24 val slices = fragment.slices constant
26 val hasContent = slices.isNotEmpty() || schedSlices.isNotEmpty()
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/
DThreadModelFragment.kt35 val slices: List<SliceGroup> get() { constant in trebuchet.model.fragments.ThreadModelFragment
39 return slicesBuilder.slices
44 return schedulingStateBuilder.slices
DCpuModelFragment.kt26 val slices: List<CpuProcessSlice> get() { constant in trebuchet.model.fragments.CpuModelFragment
27 return schedulingProcessBuilder.slices
DSliceGroupBuilder.kt22 val slices: MutableList<MutableSliceGroup> = mutableListOf() constant in trebuchet.model.fragments.SliceGroupBuilder
42 slices.add(builder) in endSlice()
DSchedulingSliceFragment.kt30 val slices: List<SchedulingSliceFragment> get() = _slices constant in trebuchet.model.fragments.SchedulingSliceFragment.Builder
DSchedulingProcessFragment.kt26 val slices: List<SchedulingProcessFragment> get() = _slices constant in trebuchet.model.fragments.SchedulingProcessFragment.Builder
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/
DSliceTrack.kt28 open class SliceTrack<in T : Slice>(private val slices: List<T>, private val renderState: RenderSta… constant in traceviewer.ui.tracks.SliceTrack
50 slices.forEach { in paintComponent()
88 private fun sliceAt(timestamp: Double) = slices.binarySearch { in <lambda>()
94 }.let { if (it < 0) null else slices[it] } in <lambda>()
DMultiLineTrack.kt36 val rows = RowCreater(thread.slices).rows
42 class RowCreater constructor(slices: List<SliceGroup>) {
48 slices.forEach { addSlice(it) } in <lambda>()
DSchedTrack.kt27 class SchedTrack(slices: List<SchedSlice>, renderState: RenderState)
28 … : SliceTrack<SchedSlice>(slices, renderState, trackHeight = LayoutConstants.SchedTrackHeight) {
/tools/trebuchet/trebuchet/system-server-analyzer/src/
DSystemServerAnalyzer.kt34 import trebuchet.queries.slices.slices in <lambda>()
77 model.slices().firstOrNull { in measureServiceStartup()
/tools/trebuchet/trebuchet/startup-common/src/
DStartupCommon.kt32 import trebuchet.queries.slices.* in <lambda>()
33 import trebuchet.util.slices.* in <lambda>()
115 map { it.slices }. in findProcess()
145 …val firstSliceTime = newProc.threads.map { it.slices.firstOrNull()?.startTime ?: Double.POSITIVE_I… in Model()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DSlices.kt17 package trebuchet.util.slices