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