Home
last modified time | relevance | path

Searched refs:openSlices (Results 1 – 3 of 3) sorted by relevance

/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/
DSliceGroupBuilder.kt23 val openSlices: MutableList<MutableSliceGroup> = mutableListOf() constant in trebuchet.model.fragments.SliceGroupBuilder
25 fun hasOpenSlices() = openSlices.isNotEmpty() in hasOpenSlices()
30 openSlices.add(builder) in hasOpenSlices()
36 val builder = openSlices.removeAt(openSlices.lastIndex) in endSlice()
39 if (openSlices.isNotEmpty()) { in endSlice()
40 openSlices.last().add(builder) in endSlice()
DAsyncSlicesBuilder.kt33 val openSlices = mutableMapOf<String, AsyncSlice>() constant in trebuchet.model.fragments.AsyncSlicesBuilder
41 openSlices[key(name, cookie)] = AsyncSlice(startTime, Double.NaN, name, cookie, in openAsyncSlice()
46 val slice = openSlices.remove(key(name, cookie)) ?: return in closeAsyncSlice()
54 for (slice in openSlices.values) { in autoCloseOpenSlices()
60 openSlices.clear() in autoCloseOpenSlices()
DProcessModelFragment.kt42 if (asyncSlicesBuilder.openSlices.isNotEmpty()) { in <lambda>()