Added Util::bootSecs() for reliable time since boot measurements.
This commit is contained in:
parent
cb31d8bb48
commit
5973e7ebe1
2 changed files with 8 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
namespace Util {
|
||||
void sleep(int ms); ///< Sleeps for the indicated amount of milliseconds or longer.
|
||||
long long int getMS(); ///< Gets the current time in milliseconds.
|
||||
long long int bootSecs(); ///< Gets the current system uptime in seconds.
|
||||
long long unsigned int getMicros();///<Gets the current time in microseconds.
|
||||
long long unsigned int getMicros(long long unsigned int previous);///<Gets the time difference in microseconds.
|
||||
long long int getNTP();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue