X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ftime%2Futils.h;fp=source%2Ftime%2Futils.h;h=dd325b0a1d546d18b92b402bbc1eb6578ec26df7;hp=00b6ef86c274dca75cdaac1bd38eeaa353b3819d;hb=5d3a5019399f97af0371f4fd6dc415d36de6ac3a;hpb=5d51c374869f13f762039f58c03f3c5d75c12f07 diff --git a/source/time/utils.h b/source/time/utils.h index 00b6ef8..dd325b0 100644 --- a/source/time/utils.h +++ b/source/time/utils.h @@ -2,6 +2,7 @@ #define MSP_TIME_UTILS_H_ #include +#include namespace Msp { namespace Time { @@ -10,15 +11,15 @@ class TimeDelta; class TimeStamp; /** Returns the current timestamp. */ -TimeStamp now(); +MSPCORE_API TimeStamp now(); -std::string format_now(const std::string &); +MSPCORE_API std::string format_now(const std::string &); /** Returns the CPU time used by the program so far. */ -TimeDelta get_cpu_time(); +MSPCORE_API TimeDelta get_cpu_time(); /** Sleeps for the given duration. */ -void sleep(const TimeDelta &); +MSPCORE_API void sleep(const TimeDelta &); } // namespace Time } // namespace Msp