mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
arch: Add up_perf_getfreq function
it's important to know the perf count frequency Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
8be9cb9f72
commit
ecccc614bd
@@ -2577,6 +2577,7 @@ void arch_sporadic_resume(FAR struct tcb_s *tcb);
|
||||
****************************************************************************/
|
||||
|
||||
uint32_t up_perf_gettime(void);
|
||||
uint32_t up_perf_getfreq(void);
|
||||
void up_perf_convert(uint32_t elapsed, FAR struct timespec *ts);
|
||||
|
||||
#undef EXTERN
|
||||
|
||||
Reference in New Issue
Block a user