Gedare Bloom started a new discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1049#note_142092 Fix formatting errors: ``` gedare@localhost:~/rtems/rtems$ git clang-format HEAD^ changed files: testsuites/validation/tc-cpuuse.c gedare@localhost:~/rtems/rtems$ git diff diff --git a/testsuites/validation/tc-cpuuse.c b/testsuites/validation/tc-cpuuse.c index bc22262442..4733eda998 100644 --- a/testsuites/validation/tc-cpuuse.c +++ b/testsuites/validation/tc-cpuuse.c @@ -142,10 +142,14 @@ static void RtemsCpuuseValCpuuse_Action_0( void ) * Our CPU usage after the last reset is now exactly one tick of the * software timecounter. */ - T_eq_i64( _Thread_Get_CPU_time_used_after_last_reset( self ), CPUUSE_SOFT_TICKS ); + T_eq_i64( + _Thread_Get_CPU_time_used_after_last_reset( self ), + CPUUSE_SOFT_TICKS + ); T_eq_i64( _Thread_Get_CPU_time_used( self ), - cpu_usage_self + (3*CPUUSE_SOFT_TICKS) + (CPUUSE_SOFT_TICKS * idle_tasks) + cpu_usage_self + ( 3 * CPUUSE_SOFT_TICKS ) + + ( CPUUSE_SOFT_TICKS * idle_tasks ) ); T_eq_i64( _Thread_Get_CPU_time_used_after_last_reset( other ), 0 ); ``` -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1049#note_142092 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
