Home
last modified time | relevance | path

Searched refs:InvalidId (Results 1 – 13 of 13) sorted by relevance

/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/
DThreadModelFragment.kt19 import trebuchet.model.InvalidId
28 …fun hint(pid: Int = InvalidId, name: String? = null, tgid: Int = InvalidId, processName: String? =… in hint()
29 if (this.id == InvalidId) this.id = pid in hint()
31 if (this.process.id == InvalidId) this.process.id = tgid in hint()
DProcessModelFragment.kt19 import trebuchet.model.InvalidId in <lambda>()
29 if (_id != InvalidId) { in <lambda>()
83 fun hint(id: Int = InvalidId, name: String? = null) { in <lambda>()
84 if (this.id == InvalidId) this.id = id in <lambda>()
DAsyncSlicesBuilder.kt19 import trebuchet.model.InvalidId
42 true, pid, InvalidId) in openAsyncSlice()
57 slice.endThreadId = InvalidId in autoCloseOpenSlices()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/
DFtraceEvent.kt21 import trebuchet.model.InvalidId in <lambda>()
23 val CpuBufferStarted = FtraceEvent(null, InvalidId, InvalidId, -1, -1.0, in <lambda>()
54 tgid = intOr(3, InvalidId), in <lambda>()
DEventParserState.kt22 import trebuchet.model.InvalidId in <lambda>()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/
DFtraceEventTest.kt21 import trebuchet.model.InvalidId
47 assertEquals(InvalidId, event.tgid) in testParseLineUnknownTgid()
59 assertEquals(InvalidId, event.tgid) in testParseLineNoTgid()
78 assertEquals(InvalidId, event.tgid) in testParseLineLegacy()
DFtraceLineTest.kt22 import trebuchet.model.InvalidId in <lambda>()
51 assertEquals(InvalidId, line.tgid) in <lambda>()
68 assertEquals(InvalidId, line.tgid) in <lambda>()
84 assertEquals(InvalidId, line.tgid) in <lambda>()
128 assertEquals(InvalidId, line.tgid) in <lambda>()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/
DFtraceLine.kt21 import trebuchet.model.InvalidId
40 val hasTgid: Boolean get() = _tgid != InvalidId
86 if (matcher!!.start(3) == -1) InvalidId else int(3), in create()
114 if (matcher!!.start(3) == -1) InvalidId else int(3), in parseLine_new()
126 var tgid: Int = InvalidId in parseLine()
DFtraceImporterState.kt21 import trebuchet.model.InvalidId in <lambda>()
62 return ProcessModelFragment(InvalidId, hasIdCb = { process -> in <lambda>()
76 fun threadFor(pid: Int, tgid: Int = InvalidId, task: String? = null): ThreadModelFragment { in <lambda>()
84 if (tgid != InvalidId) processFor(tgid) in <lambda>()
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/
DConstants.kt19 const val InvalidId = -1 constant
DCpuModel.kt26 if (id == InvalidId) throw IllegalArgumentException("Cpu has invalid id")
DThreadModel.kt29 if (id == InvalidId) throw IllegalArgumentException("Thread has invalid id")
DModel.kt44 if (it.id != InvalidId) { in <lambda>()