/tools/trebuchet/core/common/src/test/kotlin/trebuchet/task/ |
D | ImportTaskTest.kt | 28 import trebuchet.queries.slices.* in <lambda>() 36 val slices = model.selectAll { it.name.startsWith("MergeShot")} in <lambda>() constant 37 assertEquals(2, slices.size) in <lambda>() 38 assertEquals(0.868, slices[0].duration, .001) in <lambda>() 39 assertEquals(0.866, slices[1].duration, .001) in <lambda>() 48 val slices = thread.selectAll { it.name == "handleMessageRefresh" } in <lambda>() constant 49 assertEquals(103, slices.size) in <lambda>() 50 assertFalse(slices.any { it.duration <= 0.0 }) in <lambda>() 51 val totalDuration = slices.map { it.duration }.reduce { a,b -> a+b } in <lambda>()
|
/tools/trebuchet/trebuchet/analyzer/src/ |
D | Analyzer.kt | 19 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/main/kotlin/trebuchet/queries/ |
D | SliceQueries.kt | 17 package trebuchet.queries.slices in <lambda>() 27 import trebuchet.util.slices.parseSliceName in <lambda>() 198 this.slices.traverseSlices(visitor) in traverseSlices() 237 this.slices.iterSlices(consumer) in ThreadModel() 401 private suspend fun SequenceScope<Slice>.yieldSlices(slices: List<SliceGroup>) { in yieldSlices() 402 slices.forEach { in yieldSlices() 408 fun Model.slices(includeAsync: Boolean = true): Sequence<Slice> { in slices() method 416 yieldSlices(thread.slices) in slices()
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/model/ |
D | SliceGroupBuilderTest.kt | 37 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/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/ |
D | SliceTrack.kt | 28 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>()
|
D | MultiLineTrack.kt | 36 val rows = RowCreater(thread.slices).rows 42 class RowCreater constructor(slices: List<SliceGroup>) { 48 slices.forEach { addSlice(it) } in <lambda>()
|
D | SchedTrack.kt | 27 class SchedTrack(slices: List<SchedSlice>, renderState: RenderState) 28 … : SliceTrack<SchedSlice>(slices, renderState, trackHeight = LayoutConstants.SchedTrackHeight) {
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/ |
D | CpuModel.kt | 22 val slices = fragment.slices constant 23 val hasContent = slices.isNotEmpty()
|
D | ThreadModel.kt | 24 val slices = fragment.slices constant 26 val hasContent = slices.isNotEmpty() || schedSlices.isNotEmpty()
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/ |
D | ThreadModelFragment.kt | 35 val slices: List<SliceGroup> get() { constant in trebuchet.model.fragments.ThreadModelFragment 39 return slicesBuilder.slices 44 return schedulingStateBuilder.slices
|
D | CpuModelFragment.kt | 26 val slices: List<CpuProcessSlice> get() { constant in trebuchet.model.fragments.CpuModelFragment 27 return schedulingProcessBuilder.slices
|
D | SliceGroupBuilder.kt | 22 val slices: MutableList<MutableSliceGroup> = mutableListOf() constant in trebuchet.model.fragments.SliceGroupBuilder 42 slices.add(builder) in endSlice()
|
D | SchedulingSliceFragment.kt | 30 val slices: List<SchedulingSliceFragment> get() = _slices constant in trebuchet.model.fragments.SchedulingSliceFragment.Builder
|
D | SchedulingProcessFragment.kt | 26 val slices: List<SchedulingProcessFragment> get() = _slices constant in trebuchet.model.fragments.SchedulingProcessFragment.Builder
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/ |
D | FtraceImporterTest.kt | 83 assertEquals(1, sliceGroup.slices.size) in testImportBeginEnd() 84 val doFrameSlice = sliceGroup.slices[0] in testImportBeginEnd() 119 assertEquals(1, sliceGroup.slices.size) in testImportBeginEndNoTgids() 120 val doFrameSlice = sliceGroup.slices[0] in testImportBeginEndNoTgids()
|
/tools/trebuchet/trebuchet/startup-common/src/ |
D | StartupCommon.kt | 32 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/ |
D | Slices.kt | 17 package trebuchet.util.slices
|
/tools/trebuchet/trebuchet/startup-summarizer/src/ |
D | StartupSummarizer.kt | 36 import trebuchet.util.slices.* in <lambda>()
|