Time Trace

Back

Flame chart profiler for Clang

clang -ftime-trace -c <file-name>.c

will generate a tracing json file, which can be opened in Chrome://tracing and analyzed

Reference

Clang time trace