diff options
Diffstat (limited to 'src/server/timer.cc')
-rw-r--r-- | src/server/timer.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/server/timer.cc b/src/server/timer.cc index c8e6975..dc37cb3 100644 --- a/src/server/timer.cc +++ b/src/server/timer.cc @@ -1,4 +1,5 @@ -/* server/timer.cc +/* + server/timer.cc This file is part of the Osirion project and is distributed under the terms and conditions of the GNU General Public License version 2 */ @@ -6,6 +7,8 @@ #include "timer.h" #include <unistd.h> +namespace server { + Timer::Timer() { gettimeofday(&this->timer_tick, &this->timer_tz); @@ -35,3 +38,5 @@ void Timer::sleep(float seconds) { usleep((useconds_t) seconds*1000000.0f); } + +} |