Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 381 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 381 Bytes

Profiler

This is a C profiling tool to measure the execution time of sections

Library

  • profiler/profiler.h for user-space program
  • profiler/kprofiler.h for kernel-space program

Usage

  1. Put prof_begin("section_title") before the section
  2. Put prof_end("section_title") after the section
  3. Use prof_dump() to dump the execution time of all sections