update cputime_cortexm.c support 64bit.
This commit is contained in:
parent
9a3d0a0ea2
commit
c2fec1bf45
|
@ -24,7 +24,7 @@ static float cortexm_cputime_getres(void)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint32_t cortexm_cputime_gettime(void)
|
static uint64_t cortexm_cputime_gettime(void)
|
||||||
{
|
{
|
||||||
return DWT->CYCCNT;
|
return DWT->CYCCNT;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue