]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/utils.h
Move non-oneliner functions out of RefPtr class declaration
[libs/core.git] / source / time / utils.h
index 0a2b351ef6b218743122106697253f04803ef090..00b6ef86c274dca75cdaac1bd38eeaa353b3819d 100644 (file)
@@ -9,10 +9,16 @@ namespace Time {
 class TimeDelta;
 class TimeStamp;
 
-extern TimeStamp now();
-extern std::string format_now(const std::string &);
-extern TimeDelta get_cpu_time();
-extern void sleep(const TimeDelta &);
+/** Returns the current timestamp. */
+TimeStamp now();
+
+std::string format_now(const std::string &);
+
+/** Returns the CPU time used by the program so far. */
+TimeDelta get_cpu_time();
+
+/** Sleeps for the given duration. */
+void sleep(const TimeDelta &);
 
 } // namespace Time
 } // namespace Msp