Amar Takhar started a new discussion on posix-users/process_environment.rst: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/31#note_109517 > +exist when the call is made and the field ``ru_stime`` returning the > +total idle time. > + > +A ``who`` value of ``RUSAGE_THREAD`` results in the ``struct rusage`` > +field ``ru_utime`` returning the total active time of the current > +thread and the field ``ru_stime`` is set to 0. > + > + > +**NOTES:** > + > +The time returned can be more than the system up time if there is more > +than one CPU. > + > +This routine is implemented using the internal thread iterator and > +accounts for time spent by the currently active threads. RTEMS does > +not account for the execuiton time of threads that are no longer execution -- View it on GitLab: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/31#note_109517 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
