This is a C profiling tool to measure the execution time of sections
profiler/profiler.h
for user-space programprofiler/kprofiler.h
for kernel-space program
- Put
prof_begin("section_title")
before the section - Put
prof_end("section_title")
after the section - Use
prof_dump()
to dump the execution time of all sections