sta-core/include/sta/time.hpp
2023-01-31 21:14:02 +01:00

29 lines
474 B
C++

/**
* @file
* @brief Signatures for time related functions.
*/
#ifndef STA_CORE_TIME_HPP
#define STA_CORE_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_CORE_TIME_HPP