visualize.py
Translates a ROI JSON for visualization in Chrome.
This script translates a JSON file, in the format produced by
roi.py
, to a JSON file adhering to the syntax required by
Chrome's
Trace-Viewer.
The output can be visualized in a Chrome browser: go to the
about:tracing
URL and load the JSON file.
This script can be compared to trace/tracevis.py
, but instead of
visualizing individual instructions, it represents entire execution
regions as a whole.