Draft: Generate histogram with colors
hop% parahist -h -T 94998.730000 -p test/nosv/subsystem.pal < test/nosv/subsystem.csv
# value duration area accum count color label
11 1.210493e+06 0.749542 0.749542 20203 #004600 Task: In body
0 3.348368e+05 0.207332 0.956874 73 #000000 value 0
6 4.231717e+04 0.026203 0.983077 29180 #5e0000 Scheduler: Hungry
7 1.368708e+04 0.008475 0.991552 9161 #997200 Scheduler: Serving
28 1.337430e+04 0.008281 0.999834 40056 #0063a2 Thread: Worker
8 2.610700e+02 0.000162 0.999995 202 #46f0f0 Scheduler: Submitting
19 4.840000e+00 0.000003 0.999998 3 #c36097 API: Attach
20 2.440000e+00 0.000002 1.000000 1 #ffa2ff API: Detach
hop% parahist -h -T 94998.730000 -p test/nosv/subsystem.pal < test/nosv/subsystem.csv | parabar
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<svg width='512.000000' height='64.000000' xmlns='http://www.w3.org/2000/svg'>
<rect width='383.765504' height='64.000000' x='0.000000' y='0' fill='#004600'><title>Task: In body (74.95 %)</title></rect>
<rect width='106.153984' height='64.000000' x='383.765504' y='0' fill='#000000'><title>value 0 (20.73 %)</title></rect>
<rect width='13.415936' height='64.000000' x='489.919488' y='0' fill='#5e0000'><title>Scheduler: Hungry (2.62 %)</title></rect>
<rect width='4.339200' height='64.000000' x='503.335424' y='0' fill='#997200'><title>Scheduler: Serving (0.85 %)</title></rect>
<rect width='4.239872' height='64.000000' x='507.675136' y='0' fill='#0063a2'><title>Thread: Worker (0.83 %)</title></rect>
<rect width='0.082944' height='64.000000' x='511.914496' y='0' fill='#46f0f0'><title>Scheduler: Submitting (0.02 %)</title></rect>
<rect width='0.001536' height='64.000000' x='511.997440' y='0' fill='#c36097'><title>API: Attach (0.00 %)</title></rect>
<rect width='0.001024' height='64.000000' x='511.998976' y='0' fill='#ffa2ff'><title>API: Detach (0.00 %)</title></rect>
<rect width='512.000000' height='64.000000' x='0' y='0' fill='none' stroke='black' />
</svg>
Rendered here:
Should provide a tooltip with the labels when you mouse over the segments.