/**
* Class used to build a state system of the context switches of a trace
*
+ * Attribute tree:
+ *
+ * <pre>
+ * |- CPUs
+ * | |- <CPU number> -> Number of context switches
+ * </pre>
+ *
* @author Alexis Cabana-Loriaux
* @since 2.0
*/
*
* It requires only the 'sched_switch' events enabled on the trace.
*
+ * Attribute tree:
+ *
+ * <pre>
+ * |- CPUS
+ * | |- <CPU number>
+ * | | |- <TID> -> cumulative time spent on the source CPU by the currently running thread (ns)
+ * </pre>
+ *
* @author François Rajotte
*/
public class KernelCpuUsageStateProvider extends AbstractTmfStateProvider {
*
* The state provider also contains code that can query the state system.
*
+ * Attribute tree:
+ *
+ * <pre>
+ * |- <TID number> -> current memory usage
+ * | |- THREAD_LOWEST_MEMORY_VALUE -> lowest memory value for thread
+ * </pre>
+ *
* @author Samuel Gagnon
* @since 2.0
*/
*
* Note 2: this is deliberately only package visible.
*
+ * Attribute tree:
+ *
+ * <pre>
+ * |- <CPU number> -> Active TID number
+ * </pre>
+ *
* @author Matthew Khouzam
*/
class ActiveTidStateProvider extends AbstractTmfStateProvider {
/**
* State provider for the I/O analysis
*
+ * Attribute tree:
+ *
+ * <pre>
+ * |- SYSTEM_CALLS
+ * | |- <TID> -> System Call Name
+ * |- THREADS
+ * | |- <TID number>
+ * | | |- BYTES_READ
+ * | | |- BYTES_WRITTEN
+ * |- Disks
+ * | |- <Disk number> -> Disk Name
+ * | | |- SECTORS_READ
+ * | | |- SECTORS_WRITTEN
+ * | | |- WAITING_QUEUE -> Root for the Attribute pool for waiting queue
+ * | | | |- <slot #1> -> Status
+ * | | | | |- CURRENT_REQUEST
+ * | | | | |- REQUEST_SIZE
+ * | | | | |- MERGED_IN
+ * | | | |- <slot #2>
+ * | | |- WAITING_QUEUE_LENGTH
+ * | | |- DRIVER_QUEUE -> Root for the Attribute pool for driver queue
+ * | | | |- <slot #1> -> Status
+ * | | | | |- CURRENT_REQUEST
+ * | | | | |- REQUEST_SIZE
+ * | | | | |- ISSUED_FROM
+ * | | | |- <slot #2>
+ * | | |- DRIVER_QUEUE_LENGTH
+ * </pre>
+ *
* @author Houssem Daoud
* @since 2.0
*/
* This is the state change input plugin for the state system which handles the
* kernel traces.
*
+ * Attribute tree:
+ *
+ * <pre>
+ * |- CPUs
+ * | |- <CPU number> -> CPU Status
+ * | | |- CURRENT_THREAD
+ * | | |- SOFT_IRQS
+ * | | | |- <Soft IRQ number> -> Soft IRQ Status
+ * | | |- IRQS
+ * | | | |- <IRQ number> -> IRQ Status
+ * |- THREADS
+ * | |- <Thread number> -> Thread Status
+ * | | |- PPID
+ * | | |- EXEC_NAME
+ * | | |- PRIO
+ * | | |- SYSTEM_CALL
+ * </pre>
+ *
* @author Alexandre Montplaisir
*/
public class KernelStateProvider extends AbstractTmfStateProvider {