Skip to content

C library to measure execution time of sections, supports user/kernel space program

Notifications You must be signed in to change notification settings

mayone/Profiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

C library to measure execution time of sections, supports user/kernel space program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published