Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yzhong52/simpletimer

A lightweight Timer class in C/C++. Feasible for simple profiling. Compatible with Mac, Linux and Windows.
https://github.com/yzhong52/simpletimer

c-plus-plus profiler timer

Last synced: 2 days ago
JSON representation

A lightweight Timer class in C/C++. Feasible for simple profiling. Compatible with Mac, Linux and Windows.

Awesome Lists containing this project

README

        

Timer
======

A lightweight Timer class in C/C++. Feasible for simple profiling. Compatible with Mac, Linux and Windows.

Usage
======

Sample Code:

// Computing PI
// Reference: http://mathworld.wolfram.com/PiFormulas.html
double func_PI( int n ) {
Timer::begin( "Compute Pi" );

double res = 0;
for( int k=1; k