afrantzis / wesgr

Weston JSON-timeline parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Weston JSON-timeline parser


Languages

Language:C 92.5%Language:Assembly 2.9%Language:Makefile 2.8%Language:CSS 1.8%