Replaces the current high-resolution time provider function with a user-supplied implementation and returns a pointer to the previously registered provider.
typedef timer_unit (*mco_system_get_current_time_fptr_t)(void);
...
mco_system_get_current_time_fptr_t set_system_get_current_time_function(
/* IN */ mco_system_get_current_time_fptr_t fptr
);
This function sets a new user-defined routine for obtaining the current time in ticks and returns a pointer to the routine that was previously in use.
This function returns a pointer to the time provider function that was active before this call.