tracetools_analysis.processor.cpu_time module
Module for CPU time events processing.
- class tracetools_analysis.processor.cpu_time.CpuTimeHandler(**kwargs)
Bases:
EventHandler
Handler that extracts data for CPU time.
It extracts timestamps from sched_switch events to later compute CPU time per thread.
- property data: CpuTimeDataModel
Get the data model.
- static required_events() Set[str]
Get the set of events required by this EventHandler.
Without these events, the EventHandler would be invalid/useless. Inheriting classes can decide not to declare that they require specific events.