Skip to content

Instantly share code, notes, and snippets.

View winwinashwin's full-sized avatar
sipping coffee

Ashwin A Nayar winwinashwin

sipping coffee
View GitHub Profile
@winwinashwin
winwinashwin / Instrumentor.hpp
Last active May 1, 2023 02:59 — forked from TheCherno/Instrumentor.h
Basic Instrumentation Profiler for C++ | Macro-fied
/**
* @file Instrumentor.hpp
*
* @brief Basic Instrumentation Profiler for C++ | Macro-fied
*
* Upon execution of profile macro embedded source code, all the profiling data
* is dumped to a JSON file compatible with Chrome Tracing tool. The JSON file can
* then be loaded to chrome tracing (chrome://tracing) to visualise the data.
*
* @author TheCherno (primary author)