Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct systime with perf count #8635

Merged
merged 2 commits into from
Feb 23, 2023
Merged

Conversation

Gary-Hobson
Copy link
Contributor

Summary

use perfcount as the clock source for tv_nsec to achieve higher precision time.

systime has insufficient time precision and will not display correctly when viewing finer-grained traces

Impact

Affects trace_dump.c: apache/nuttx-apps#1593

Testing

@Gary-Hobson Gary-Hobson changed the title Perfcount correct systime with perf count Feb 23, 2023
@Gary-Hobson
Copy link
Contributor Author

CI compilation needs to depend on apache/nuttx-apps#1593

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 29a7d26 into apache:master Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants