Weston JSON-timeline parser
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
testdata
.gitignore
Makefile
README.md
graphdata.c
handler.c
legend.xml
parse.c
resdata.S
style.css
wesgr.c
wesgr.h

README.md

Wesgr

Wesgr is a Weston JSON timeline data interpreter and grapher. Its intention is to produce an SVG image with annotations, describing the actions related to Weston's repaint loop.

JSON timeline feature was merged and released first in Weston 1.6.91 (Weston 1.7 alpha).

Building

No autotools yet, so just do make. There is no target for installing.

Running

./wesgr -i testdata/timeline-1.log -o graph.svg

It creates graph.svg.

Example output

This is a recording from Weston's DRM backend with two outputs. You can find the input data as testdata/timeline-3.log, and you can generate these with make demo.

An overview of the whole recording, as PNG because the SVG is 960 kB: Example output

A sub-range of the recording: Example output