Skip to content
Simple tool that allows for ms timing of functions for debugging use
C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
src
.gitignore
README

README

************************************************
 ABOUT 
************************************************
* Tool: ofxFunctionTimer
 
Description:
* Simple tool to do ms timing on functions within an app to figure out where the occasional bottleneck is.  Currently this is OF specific but since win/mac timing is done in a native fashion this tool can be used in any framework after the mutex type is changed.  Currently the tool will only print functions that take over 15ms, but this can be adjusted in code very easily.
 
Documentation
  * Example Project
 
************************************************
 SETUP
************************************************
Hardware Requirements:
  * A computer
 
************************************************
 RUN
************************************************
 
  * Place root folder in of/addons folder
  * Open example project
  * Run example project
 
************************************************
 RUN FROM SRC 
************************************************
 
************************************************
 MORE INFO 
************************************************
 
* Troubleshooting
  * I don't see any output
    * Make sure you haven't set the .enabled variable to false
    * Either lower the threshold for displaying functions, or be happy because none of your functions are slow
  * Windows is complaining that there is no __func__ macro.
    * See the define at the top of the example testApp.cpp code so that __func__ points to __FUNCTION__ in windows
 
* Licensing
  * TSPS is MIT + LGPL
 
* Notes
  *
You can’t perform that action at this time.