summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/timer/timer.hh
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src/timer/timer.hh')
-rw-r--r--2005/i/robert/src/timer/timer.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/2005/i/robert/src/timer/timer.hh b/2005/i/robert/src/timer/timer.hh
index 4c41b0e..23f2ea7 100644
--- a/2005/i/robert/src/timer/timer.hh
+++ b/2005/i/robert/src/timer/timer.hh
@@ -25,9 +25,10 @@
//
// }}}
+/// Classe de chronométrage.
class Timer
{
- int programStart_, roundStart_;
+ long long programStart_, roundStart_;
public:
/// Retourne le temps depuis le début du programme en millisecondes.
static int getProgramTime (void);
@@ -42,7 +43,7 @@ class Timer
/// Retourne une référence vers l'instance unique.
static Timer &getInstance (void);
/// Retourne la date système.
- static int getSystemTime (void);
+ static long long getSystemTime (void);
/// Constructeur.
Timer (void);
};