Tracer is a utility library that to create .json files for use in Chrome's tracer profiler.
C++11 compatible compiler (language and stdlib).
Cmake is supported for version 3.0.0 or higher.
Tracer creates log files using symmetric Tracer:: calls.
Tracer::begin("cool event I want to track")
// do cool event
Tracer::end("cool event I want to track")
Tracer produces .trace files. Load these files in Chrome by going to chrome://tracing, select load, and pointing to the trace file.
Warning! Event strings have to match.
Tracer::begin("These strings do match?");
// not cool event.
Tracer::end("These strings do not match.");
Tracer was jointly developed by Matthew O'Connell and Cameron Druyor as part of the Parfait toolkit.
Comments / Questions: Matthew.D.OConnell@nasa.gov