This is a C profiling tool to measure the execution time of sections
profiler/profiler.hfor user-space programprofiler/kprofiler.hfor 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