X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Ftime%2Ffunctions.hpp;h=49b314adbfd553c1e7c7a288573921d8da251919;hp=a50f759fdea3ee1a7c618435a4ebcc7da1a2c2cc;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/time/functions.hpp b/include/anna/time/functions.hpp index a50f759..49b314a 100644 --- a/include/anna/time/functions.hpp +++ b/include/anna/time/functions.hpp @@ -26,7 +26,7 @@ public: /** Initializes global data used on time module. It must be firstly invoked on this module */ - static void initialize() throw(); + static void initialize() ; /** Initializes reference timestamp used for statistics purposes and neccessary on limited 32-bits architectures @@ -34,12 +34,12 @@ public: @param secondsTimestamp Reference timestamp in seconds. By default current is set. */ - static void setControlPoint(unsigned long long int secondsTimestamp = 0) throw(); + static void setControlPoint(unsigned long long int secondsTimestamp = 0) ; /** Gets the seconds reference established by mean #setControlPoint */ - static unsigned long long int getSecondsReference() throw(); + static unsigned long long int getSecondsReference() ; @@ -48,43 +48,43 @@ public: /** Gets initialization state */ - static bool initialized(void) throw(); + static bool initialized(void) ; /** Gets the host user-supplied timezone configuration */ - static const Timezone & getSystemTimezone(void) throw(); + static const Timezone & getSystemTimezone(void) ; /** Get unix timestamp in seconds */ - static unsigned long long int unixSeconds() throw(); + static unsigned long long int unixSeconds() ; /** Get unix timestamp in milliseconds */ - static unsigned long long int unixMilliseconds() throw(); + static unsigned long long int unixMilliseconds() ; /** Get the lapsed milliseconds from the last control point (#setControlPoint) or time module initialization. Used for statistics purposes (performance analysis), specially on 32-bits limited architectures in order to avoid overflow on timestamp structures. */ - static unsigned long long int lapsedMilliseconds() throw(); + static unsigned long long int lapsedMilliseconds() ; /** Get unix timestamp in microseconds */ - static unsigned long long int unixMicroseconds() throw(); + static unsigned long long int unixMicroseconds() ; /** Get string time representation in format 'HH:mm:ss \' Useful for trace accurated time for events. */ - static std::string currentTimeAsString(void) throw(); + static std::string currentTimeAsString(void) ; }; }