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:
Alberto Escolar Piedras 2023-11-23 11:48:37 +01:00 committed by Fabio Baltieri
commit 3d406a7a56

View file

@ -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;