You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The windows implementation of boot_time is wrong: it gets the current time, converts windows epoch to unix epoch, but never actually subtracts the boot time of the machine.
Here's a valid implementation in psutil for example: it gets the current time, subtracts the number of milliseconds since boot, and converts this instant to unix epoch.
The text was updated successfully, but these errors were encountered:
The windows implementation of boot_time is wrong: it gets the current time, converts windows epoch to unix epoch, but never actually subtracts the boot time of the machine.
Here's a valid implementation in psutil for example: it gets the current time, subtracts the number of milliseconds since boot, and converts this instant to unix epoch.
The text was updated successfully, but these errors were encountered: