Defining Styles for Tasks and Markers

With the Intel® GPA Platform Analyzer you can assign your own types to your tasks and markers. It enables you to control the way tasks that are tagged with your user-defined types appear in the Intel® GPA Platform Analyzer Timeline, so that you can quickly identify such tasks through visual queues.

You can control the foreground text color (via number R, G, B values) of task and marker presentation.

Here is the example of the text-based “style sheet” file mapping types to styles:

# filename: styles.csv

# in the GPA4.3 directory (where trace files are)

# All styles and groups must be defined before they are used. Interleaving

# is okay.

# Group and task names CANNOT conflict. Group names are assumed.

style,”My Style0″,fill=0xAARRGGBB,text=0xAARRGGBB,,

style,”My Style1″,fill=0xAARRGGBB,text=0xAARRGGBB,,

# Fixed length to one object/group

apply_style,”My Style0″,”My Task0″,,

# Not fixed length

group, “My Group”, “My Task 1″, “My Task2″, …

# Fixed length to one object/group

apply_style,”My Style1″, “My Group”,,

 

See Also

Viewing Queue Track Tasks Instrumented with States

Defining Styles for Tasks and Markers