Skip to content

C++ library that tracks the time it takes a function to run. It creates a calling tree.

License

Notifications You must be signed in to change notification settings

francescmm/BenchmarkTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BenchmarkTool

In this repository you can find the BenchmarkTool project.

BenchmarkTool tracks the time it takes a method call to run. It acts as singleton object but supports multi-threading.

After the instance is destroyed, the results are printed to a file using the specified format. If not format is defined, it will print to a regular text file.

Follow the instructions for usage:

  1. Create an instance: BenchmarkTool::getInstance();
  2. If you want, add a different output format by using: BenchmarkTool::getInstance()->setOutputFormat(...).
  3. If you want to retrieve the current tree view, you can do the following method call: std::string output; output << BenchmarkTool::getInstance();

About

C++ library that tracks the time it takes a function to run. It creates a calling tree.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published