// Return the current timestamp from a monotonic clock in milliseconds.
uint64_t now();
class Timer { public: // Create a timer, initially the timer is already expired.
Timer();
// Set the timer to expire in |seconds| seconds. void expireSeconds(uint64_t seconds);
// Return true if the timer has expired. bool expired() const; // Get the remaining time on the timer in milliseconds.
uint64_t remainingMillis() const;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.