Documentation | posix-user: Add getrusage (!31)
Amar Takhar (@amar)
gitlab at rtems.org
Thu Jul 18 05:24:37 UTC 2024
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240718/8465a3c0/attachment.htm>
More information about the bugs
mailing list