Skip to content

T-infinity/Tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracer is a utility library that to create .json files for use in Chrome's tracer profiler.

Requirements:

C++11 compatible compiler (language and stdlib).

Cmake is supported for version 3.0.0 or higher.

Basic Tutorial

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.

example view in chrome

Warning! Event strings have to match.

Tracer::begin("These strings do     match?");
// not cool event.
Tracer::end("These strings do not match.");

Authors

Tracer was jointly developed by Matthew O'Connell and Cameron Druyor as part of the Parfait toolkit.

Comments / Questions: Matthew.D.OConnell@nasa.gov

About

C++ header only support for chrome://tracing/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published