mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-12 01:25:59 +00:00
28 lines
450 B
C++
28 lines
450 B
C++
/**
|
|
* @brief Signatures for time related functions.
|
|
*/
|
|
#ifndef STA_TIME_HPP
|
|
#define STA_TIME_HPP
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
namespace sta
|
|
{
|
|
/**
|
|
* @brief Signature for millisecond precision time.
|
|
*
|
|
* @return Time in milliseconds
|
|
*/
|
|
using TimeMsFn = uint32_t (*)();
|
|
/**
|
|
* @brief Signature for microseconds precision time.
|
|
*
|
|
* @return Time in microseconds
|
|
*/
|
|
using TimeUsFn = uint32_t (*)();
|
|
} // namespace sta
|
|
|
|
|
|
#endif // STA_TIME_HPP
|