Searched refs:cookie (Results 1 – 3 of 3) sorted by relevance
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/ |
D | AsyncSlicesBuilder.kt | 26 val cookie: Int, constant in trebuchet.model.fragments.AsyncSlice 36 private fun key(name: String, cookie: Int): String { in key() 37 return "$name:$cookie" in key() 40 fun openAsyncSlice(pid: Int, name: String, cookie: Int, startTime: Double) { in openAsyncSlice() 41 openSlices[key(name, cookie)] = AsyncSlice(startTime, Double.NaN, name, cookie, in openAsyncSlice() 45 fun closeAsyncSlice(pid: Int, name: String, cookie: Int, endTime: Double) { in closeAsyncSlice() 46 val slice = openSlices.remove(key(name, cookie)) ?: return in closeAsyncSlice()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/ |
D | TraceMarkerEvent.kt | 47 class StartAsyncSliceEvent(val tgid: Int, val name: String, val cookie: Int) : FtraceEventDetails { constant in trebuchet.importers.ftrace.events.StartAsyncSliceEvent 50 .openAsyncSlice(event.pid, name, cookie, event.timestamp) in import() 54 class FinishAsyncSliceEvent(val tgid: Int, val name: String, val cookie: Int) : FtraceEventDetails { constant in trebuchet.importers.ftrace.events.FinishAsyncSliceEvent 57 .closeAsyncSlice(event.pid, name, cookie, event.timestamp) in import() 88 val cookie = readInt() in BufferReader() constant 89 return StartAsyncSliceEvent(tgid, name, cookie) in BufferReader() 99 val cookie = readInt() in BufferReader() constant 100 return FinishAsyncSliceEvent(tgid, name, cookie) in BufferReader()
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/ |
D | TracingMarkerEventTest.kt | 63 assertEquals(0, start.cookie) in testStartAsync() 70 assertEquals(0, finish.cookie) in testFinishAsync()
|