Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2013-08-23 | 1.7 kB | |
CPoorMansTimingAndProfiling-1.3.8-src.zip | 2013-08-01 | 276.9 kB | |
CPoorMansTimingAndProfiling-1.3.7-src.zip | 2013-05-08 | 275.9 kB | |
Totals: 3 Items | 554.5 kB | 0 |
Project Home
About C Poor Mans Timing And Profiling
This is a library that facilitates timing portions of C code.
The API is written in C and also C++. The two can be mixed within a single application if desired.
You can create multiple independent stop watches. Each stop watch can be started and stopped as needed. The methods hide operating system dependencies. The intent is to keep the stop watch structure opaque while providing a set of API calls that will shield the user from OS dependencies.
Change History
1.3.8
- Fixed a multithread issue
1.3.7
- Added -fpic compile option
1.3.6
- Added SWAddCLEventProfilingStartEnd() to facilitate timing of OpenCL kernel execution
- Added SWFDumpTimings() to write to a file.
1.3.5
- Added automatic selection of output units for statistics ("ns.", "us.", etc.)
- The result of a build creates the standard /include and /lib directories
1.3.4
- Cleaned up some extraneous files in the distribution package
1.3.3
- Fixed initialization bug causing statistics to be computed even when not selected
1.3.2
- Output from SWDump is now sorted
1.3.1
- Added call to get current time in nanoseconds as a uint64_t (on all platforms)
- Added a SWClearAll() method
- Fixed a threading bug
1.3
- Added C++ bindings
1.2
- Added support for pthreads
- Added a way to normalize elapsed and average based on some constant (or other timing)
- Fix SWSleepMillis() for Linux
1.1
- Better examples. HTML documentation.
1.0
- Initial release