mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-12-11 15:18:03 +00:00
added profiler and updated delay implementation
This commit is contained in:
@@ -16,12 +16,27 @@ namespace sta
|
||||
* @return Time in milliseconds
|
||||
*/
|
||||
using TimeMsFn = uint32_t (*)();
|
||||
|
||||
/**
|
||||
* @brief Signature for microseconds precision time.
|
||||
*
|
||||
* @return Time in microseconds
|
||||
*/
|
||||
using TimeUsFn = uint32_t (*)();
|
||||
|
||||
/**
|
||||
* @brief Gets the current time in milliseconds.
|
||||
*
|
||||
* @return Time in milliseconds
|
||||
*/
|
||||
uint32_t timeMs();
|
||||
|
||||
/**
|
||||
* @brief Gets the current time in microseconds.
|
||||
*
|
||||
* @return Time in microseconds
|
||||
*/
|
||||
uint32_t timeUs();
|
||||
} // namespace sta
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user