]> git.tdb.fi Git - libs/core.git/blob - source/time/utils.h
Added DateTime
[libs/core.git] / source / time / utils.h
1 /*
2 This file is part of libmspcore     
3 Copyright © 2006  Mikko Rasa, Mikkosoft Productions
4 Distributed under the LGPL
5 */
6 #ifndef MSP_TIME_UTILS_H_
7 #define MSP_TIME_UTILS_H_
8
9 namespace Msp {
10 namespace Time {
11
12 class TimeDelta;
13 class TimeStamp;
14
15 extern TimeStamp now();
16 extern std::string format_now(const std::string &);
17 extern TimeDelta get_cpu_time();
18 extern int sleep(const TimeDelta &);
19
20 } // namespace Time
21 } // namespace Msp
22
23 #endif