]>
Commit | Line | Data |
---|---|---|
aac30464 | 1 | #include <iostream.h> |
2 | #define ALIL3LOGGING_H | |
3 | class AliL3Log{ | |
4 | public: | |
5 | enum TLogLevel { kNone = 0, kDebug= 0x01, kInformational = 0x02, kWarning = 0x04, kError = 0x08 , kFatal = 0x10, kPrimary = 0x80, kAll = 0x9F }; | |
6 | enum TLogCmd { kEnd, kPrec, kHex, kDec }; | |
7 | }; | |
8 | #define LOG( lvl, origin, keyword ) cerr | |
9 | #define ENDLOG endl | |
10 | #define no_root | |
11 | ||
12 | #include <stdio.h> | |
13 | #include <math.h> | |
14 | #include <stdlib.h> | |
15 | #include <time.h> | |
16 | #include "AliL3ConfMapPoint.cxx" | |
17 | ||
18 | double CpuTime() | |
19 | { | |
20 | //Return the Cputime in seconds. | |
21 | ||
22 | return (double)(clock()) / CLOCKS_PER_SEC; | |
23 | } | |
24 | ||
25 |