casaroli commented on code in PR #21732:
URL: https://github.com/apache/nuttx/pull/21732#discussion_r4547093933
##########
arch/arm64/src/common/arm64_perf.c:
##########
@@ -108,7 +137,9 @@ void up_perf_convert(clock_t elapsed, struct timespec *ts)
clock_t up_perf_gettime(void)
{
-# ifdef CONFIG_ARCH_CLUSTER_PMU
+# if defined(ARM64_PERF_CNTVCT)
+ return read_sysreg(cntvct_el0);
Review Comment:
Done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]