Skip to content

Instantly share code, notes, and snippets.

View chitza's full-sized avatar

Cristi Paraschiv chitza

View GitHub Profile
@chitza
chitza / Stopwatch.h
Created July 5, 2012 18:38 — forked from vl4dimir/Stopwatch.h
Stopwatch class used for cumulative runtime timing.
#import <Foundation/Foundation.h>
@interface Stopwatch : NSObject {
// Name to be used for logging
NSString* name;
// Total run time
NSTimeInterval runTime;
// The start date of the currently active run