Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@

k_thread_runtime_stats_all_get(&stats2);

#if defined(CONFIG_RISCV)
k_sleep(K_TICKS(3)); /* Helper runs for 3 ticks - on slower platforms */
#else

Check notice on line 92 in tests/kernel/usage/thread_runtime_stats/src/test_thread_runtime_stats.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

tests/kernel/usage/thread_runtime_stats/src/test_thread_runtime_stats.c:92 - k_sleep(K_TICKS(3)); /* Helper runs for 3 ticks - on slower platforms */ + k_sleep(K_TICKS(3)); /* Helper runs for 3 ticks - on slower platforms */
k_sleep(K_TICKS(2)); /* Helper runs for 2 ticks */
#endif

k_thread_runtime_stats_all_get(&stats3);

Expand Down
2 changes: 1 addition & 1 deletion tests/kernel/usage/thread_runtime_stats/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tests:
tags: kernel
# The following architectures are excluded as they have boards that
# exhibit precision timing anomalies related to emulation.
# posix, riscv32, sparc
# posix, sparc
# The following architectures are exluded as the necessary
# thread runtime statistic hooks do not yet exist.
# mips
Expand Down
Loading