source:
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/BBC/BBCTimer.h
@
700
Revision 700, 361 bytes checked in by igarcia, 19 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[700] | 1 | #ifndef _BBCTIMER_H |
2 | #define _BBCTIMER_H | |
3 | ||
4 | #include <BBCPrerequisites.h> | |
5 | #include <BBCSingleton.h> | |
6 | #include <BBCEntity.h> | |
7 | ||
8 | namespace BBC { | |
9 | ||
10 | class _BBCExport Timer | |
11 | { | |
12 | protected: | |
13 | time_t mTimer; | |
14 | struct tm *mInitTime; | |
15 | struct tm *mEndTime; | |
16 | ||
17 | public: | |
18 | void start(); | |
19 | ||
20 | void stop(); | |
21 | ||
22 | void printStartTime(); | |
23 | ||
24 | void printStopTime(); | |
25 | }; | |
26 | ||
27 | } | |
28 | ||
29 | #endif |
Note: See TracBrowser
for help on using the repository browser.