Skip to content

AlexanderBagel/uni_profiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uni_profiler

Universal profiler for code profiling in Delphi and Lazarus.
Supported operating systems: Windows/Linux.

Usage:

To use the profiler:

  1. connect this module to the profiled module
  2. to create a code block profile, place this calls on its edges
    uprof.Start('section name') // to start profiling
    ... profiled code here
    uprof.Stop // to end profiling
  3. save the accumulated statistics to an external file
    uprof.SaveToFile(path to file)
  4. use THash returned by Start() function and GetProfileValue function to get current counter values.
    The counter values have an accuracy of 100 nanoseconds.
    To convert to seconds, divide this value by the Frequency parameter.

Appearance:

Demo output:

About

Universal profiler (Delphi/Lazarus - Windows/Linux - Intel 32/64 - AARCH64)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages