Weston JSON-timeline parser
C Assembly Makefile CSS
Latest commit 1d2380e Jan 20, 2017 @vinceab vinceab committed with graph: fix timespec_sub_to_nsec calculation
Force calculation of nsec to use uint64_t variables to avoid
truncated nsec value.

Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
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