Home
last modified time | relevance | path

Searched refs:ThreadModelFragment (Results 1 – 5 of 5) sorted by relevance

/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/
DProcessModelFragment.kt35 private val _threads = mutableMapOf<Int, ThreadModelFragment>() in <lambda>()
38 val threads: Collection<ThreadModelFragment> get() = _threads.values in <lambda>()
48 fun threadFor(pid: Int, name: String? = null): ThreadModelFragment { in <lambda>()
51 thread = ThreadModelFragment(pid, this, name) in <lambda>()
DSchedulingProcessFragment.kt21 class SchedulingProcessFragment(val process: ProcessModelFragment, val thread: ThreadModelFragment,…
27 … fun switchProcess(process: ProcessModelFragment, thread: ThreadModelFragment, timestamp: Double) { in switchProcess()
DThreadModelFragment.kt24 class ThreadModelFragment(var id: Int, var process: ProcessModelFragment, var name: String? = null)… class
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/
DFtraceImporterState.kt25 import trebuchet.model.fragments.ThreadModelFragment in <lambda>()
28 private val pidMap = SparseArray<ThreadModelFragment>(50) in <lambda>()
44 private fun createProcess(tgid: Int, name: String? = null): ThreadModelFragment { in <lambda>()
76 fun threadFor(pid: Int, tgid: Int = InvalidId, task: String? = null): ThreadModelFragment { in <lambda>()
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/
DThreadModel.kt19 import trebuchet.model.fragments.ThreadModelFragment
21 class ThreadModel constructor(val process: ProcessModel, fragment: ThreadModelFragment) {