Heat Map mode in the Timeline view shows you a list of processes and threads that were active during the capture session. The entries are derived from process and thread trace data from the Linux kernel scheduler. Weighted colors reflect the number of samples in each process or thread.
Open Heat Map mode using the mode menu in the bottom left of the Timeline view.
Here is what each of the colored bins represent:
The process is not running.
The process has started, but is dormant. It could be sleeping, waiting on user input, or waiting for some other process to finish.
The process is responsible for a percentage of total instructions during this bin. Red indicates a higher percentage.
Note
The [idle] process is color-coded differently to the other processes in the Timeline view. When the system is fully idle, it is bright blue. When it is partially idle it is a lighter shade of blue, and when the system is fully active, it is gray.
CPU contention caused a delay. CPU contention can happen if there are too many processes and not enough cores to handle them.
If you select one or more processes or threads, the filterable chart series in the Timeline view update to show only activity caused by the selected processes and threads. Other chart series remain unchanged.
Each of the multi-threaded or annotated processes in the list have a disclosure control. Use the control to show each of the threads and annotations for that process. Annotations shown here can be hierarchical, with annotation groups each containing a set of channels, as defined by the macros inserted in your code.
Below the Heat Map are two filter fields. To filter the list of processes and threads, add a regex to the row filter. To filter the string annotations displayed in the Heat Map, add a regex to the annotation filter.
To export the Heat Map data to a text file, click Export Heat Map Data to a text file
to the right of the filter fields. This function exports all data that is displayed in the Heat Map, selected by any applicable filters, and within the calipers. The exported data is similar to the exported Timeline view data. Each process or thread is a column and each time bin is a row. The Heat Map values are exported as percentages, or the following characters:
Process not present. Equivalent to white or black time bins.
Process is idle.
Code contention. Equivalent to blue dashes in the time bins.
Note
Annotations are not exported.
You can export the Heat Map for any activity source.