native_simulator: Get latest from upstream
Align with native_simulator's upstream main ae241af736d06874ec02deb9aacb79918d745aba Which includes: * ae241af native timer_model: Allow calling into get_host_us_time Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
7332eb2ea7
commit
3d406a7a56
1 changed files with 6 additions and 1 deletions
|
@ -126,7 +126,12 @@ static inline void host_clock_gettime(struct timespec *tv)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint64_t get_host_us_time(void)
|
/*
|
||||||
|
* This function is globally available only for tests purposes
|
||||||
|
* It should not be used for any functional purposes,
|
||||||
|
* and as such is not present in this component header.
|
||||||
|
*/
|
||||||
|
uint64_t get_host_us_time(void)
|
||||||
{
|
{
|
||||||
struct timespec tv;
|
struct timespec tv;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue