Time Shield Library
C++ library for working with time
Toggle main menu visibility
Loading...
Searching...
No Matches
initialization.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
#pragma once
3
#ifndef TIME_SHIELD_HEADER_TIME_SHIELD_INITIALIZATION_HPP_INCLUDED
4
#define TIME_SHIELD_HEADER_TIME_SHIELD_INITIALIZATION_HPP_INCLUDED
5
12
13
#include "
time_utils.hpp
"
14
15
namespace
time_shield
{
16
23
inline
void
init
() {
24
now_realtime_us
();
25
}
26
27
};
// namespace time_shield
28
29
#endif
// TIME_SHIELD_HEADER_TIME_SHIELD_INITIALIZATION_HPP_INCLUDED
time_shield::init
void init()
Initializes the Time Shield library.
Definition
initialization.hpp:23
time_shield::now_realtime_us
int64_t now_realtime_us()
Get current real time in microseconds using a platform-specific method.
Definition
time_utils.hpp:61
time_shield
Main namespace for the Time Shield library.
time_utils.hpp
Header file with time-related utility functions.
include
time_shield
initialization.hpp
Generated by
1.17.0