Refactor profiling
Refactored core profiling codebase into two logical parts: (a) `prof_data.c`: core internal data structure managing & dumping; (b) `prof.c`: mutexes & outward-facing APIs. Some internal functions had to be exposed out, but there are not that many of them if the modularization is (hopefully) clean enough.
This commit is contained in:
1491
src/prof.c
1491
src/prof.c
File diff suppressed because it is too large
Load Diff
1441
src/prof_data.c
Normal file
1441
src/prof_data.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user