-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS thread times are incorrect since they only consider microseconds #1278
Comments
It's too specific and only OSX has it. I prefer not to. |
I don't understand why this was closed. The This issue is a request to fix that by returning
instead of
and similar for the system time. |
Oh, sorry, I thought the request was to add "microseconds" as a new field for the returned namedtuple. |
Add seconds to thread run times on MacOS (fix #1278)
On MacOS, psutil uses only the microseconds field here https://github.com/giampaolo/psutil/blob/master/psutil/_psutil_osx.c#L1072.
The struct also has a seconds field, which should be added to the return value.
The text was updated successfully, but these errors were encountered: