yse / easy_profiler

Lightweight profiler library for c++
MIT License
2.14k stars 184 forks source link

wiki file format #206

Closed qlibp closed 1 year ago

qlibp commented 1 year ago

could you please elaborate the meaning of run time block name? What is the difference between complie time block name?

qlibp commented 1 year ago

https://github.com/yse/easy_profiler/blob/3104dd4ae7b9930a7c2ba9ed5fdb02f41b1668e4/easy_profiler_core/include/easy/profiler.h#L110

Seems that the run time block name is the name we passed into the EASY_BLOCK macro and the compile time block name is the automatically generated variable name(token).