Home
last modified time | relevance | path

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

/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/
DFtraceImporterTest.kt51 val modelFragment = importer.import(traceData.makeReader()) in testImporterTimestamp() constant
52 assertNotNull(modelFragment) in testImporterTimestamp()
53 if (modelFragment == null) return // just to make Kotlin happy in testImporterTimestamp()
54 assertEquals(23816.083984, modelFragment.parentTimestamp, .001) in testImporterTimestamp()
55 assertEquals(1491850748338, modelFragment.realtimeTimestamp) in testImporterTimestamp()
70 val modelFragment = importer.import(traceData.makeReader()) in testImportBeginEnd() constant
71 assertNotNull(modelFragment) in testImportBeginEnd()
72 if (modelFragment == null) return // just to make Kotlin happy in testImportBeginEnd()
73 assertEquals(1, modelFragment.processes.size) in testImportBeginEnd()
74 val process = modelFragment.processes[0] in testImportBeginEnd()
[all …]
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/
DFtraceImporterState.kt30 val modelFragment = ModelFragment() in <lambda>() constant
33 return modelFragment in <lambda>()
37 if (modelFragment.globalStartTime == 0.0) { in <lambda>()
38 modelFragment.globalStartTime = event.timestamp in <lambda>()
40 modelFragment.globalEndTime = event.timestamp in <lambda>()
46 modelFragment.processes.add(proc) in <lambda>()
70 if (modelFragment.processes.none { it.id == process.id }) { in <lambda>()
71 modelFragment.processes.add(process) in <lambda>()
99 modelFragment.cpus.add(cpu) in <lambda>()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/
DTraceMarkerEvent.kt105 state.modelFragment.parentTimestamp = parentTimestamp in import()
111 state.modelFragment.realtimeTimestamp = realtimeTimestamp in import()