Kinsey Moore started a new discussion on cpukit/libmisc/cpuuse/cpuusagereport.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/232#note_113105 > +static bool cpu_usage_visitor( Thread_Control *the_thread, void *arg ) > +{ > + cpu_usage_context *ctx; > + ctx = arg; > + cpuuse_info * cpuuse_data; > + cpuuse_data = ctx-> cpuuse_data; > + _Thread_Get_name( the_thread, cpuuse_data->name, sizeof( > cpuuse_data->name ) ); > + cpuuse_data->time_used_after_last_reset = > + _Thread_Get_CPU_time_used_after_last_reset(the_thread ); > + _TOD_Get_uptime( &cpuuse_data->uptime ); > + _Timestamp_Subtract( &cpuuse_data->time_used_after_last_reset, > + &cpuuse_data->uptime, &cpuuse_data->total ); > + _Timestamp_Divide( &cpuuse_data->time_used_after_last_reset, > + &cpuuse_data->total, &cpuuse_data->ival, > &cpuuse_data->fval ); > + cpuuse_data->seconds = _Timestamp_Get_seconds( > + &cpuuse_data->time_used_after_last_reset ); The indentation here is inconsistent. Two spaces of indentation should be sufficient for line continuations. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/232#note_113105 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
