home *** CD-ROM | disk | FTP | other *** search
- /*
-
- File StopWatch.h
-
- A stopwatch can be stopped, started, and reset. It measures total process time, including time spent in the system.
-
- */
-
- #import <objc/Object.h>
-
-
- /* ———————————————————————————————————————————————————————————————————————————— */
-
-
- @interface StopWatch:Object
- {
- float time;
- float beganAt;
- }
-
- - (float) getTime;
- - reset;
- - start;
- - stop;
-
- @end