/* Change Logs: Date Author Notes  Bernard first version  Meco Man suuport pref_counter  */
static uint64_t cortexm_cputime_getres(void)
/* Change Logs: Date Author Notes  Bernard first version  Meco Man suuport pref_counter  */
static uint64_t cortexm_cputime_getres(void)
{
    uint64_t ret = 1000UL * 1000 * 1000;
    ret = (ret * (1000UL * 1000)) / SystemCoreClock;
    return ret;
}