Skip to content

Conversation

@kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Apr 9, 2024

Do not use arch_timing_counter() directly, but instead use the public timing_counter_get().

@kv2019i
Copy link
Collaborator Author

kv2019i commented Apr 9, 2024

@tobonex btw, here's a portable way to get ccount (timing_counter_get() of zephyr/timing/timing.h)


#include <zephyr/timing/timing.h>

#ifdef CONFIG_TIMING_FUNCTIONS
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation... would be better to either leave as is or fix consistently

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack, @lyakh can you recheck?

@kv2019i kv2019i force-pushed the 202404-timing-get-change branch from 4f0ea4a to 7c55027 Compare April 12, 2024 14:06
Do not use arch_timing_counter() directly, but instead use
the public timing_counter_get().

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i kv2019i force-pushed the 202404-timing-get-change branch from 7c55027 to 746641c Compare April 15, 2024 09:46
@kv2019i
Copy link
Collaborator Author

kv2019i commented Apr 15, 2024

@wszypelt Hmm, I wonder what's going on with this. One TGL fail in quickbuild but the log shows "System.BadImageFormatException: Field token out of range". The captured file seems fine, so not sure what is happening.

@lgirdwood lgirdwood merged commit e9b238f into thesofproject:main Apr 15, 2024
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.

4 participants