![]() Hybrid Boot is a new feature in Windows 8 that takes the Hibernate feature we all know and love and improves upon it to bring us faster boot times. Source comment to Windows 8 reports WRONG uptime (possibly total Hybrid-Boot uptime) Since hybrid boot is just a special type of suspend (there was previously suspend to RAM and Hibernate), it doesn't count as "shutting down", because the same instance of the Windows kernel is used. ![]() The legacy definition for uptime is the time that the computer has been running since the kernel initialized itself. I have tried shutting down for a few hours but still found it unchanged. Source Windows 8 reports WRONG uptime (possibly total Hybrid-Boot uptime) by asm00 NOTE: If the system didn't sleep in between, both times will be the same. I've modified the command a little bit to be more explicit and give you both pieces of information:Įlapsed time since Windows booted (either after a hybrid shutdown, full shutdown or simple reboot or hibernation).Įlapsed time since Windows resumed execution (after returning from sleep mode). How do I get the uptime since the last sleep or hibernate? setx HardwareUptime "powershell.exe -nologo -command Write-Host $('Uptime since hardware boot: ' -f ((Get-Date)- (Get-EventLog -LogName system -Source 'Microsoft-Windows-Power-Troubleshooter' -Newest 1).TimeGenerated)) " ![]() Source How does Task Manager compute Up Time, and why doesn't it agree with GetTickCount?īy Raymond Chen (Principal Software Design Engineer at Microsoft). The tick count, on the other hand, counts only time that elapses while the computer is on. It doesn't subtract out the time when the computer was in sleep or hibernation. In other words, it is misnamed it really should be called time since system was started. Task Manager calculates "up time" by subtracting the system boot time from the current time. How is this value calculated, and why doesn't it agree with the value reported by GetTickCount/GetTickCount64? Task Manager shows a piece of information called "Up time". It doesn't subtract any time the system has spend in a sleep or hibernate state. The Windows system uptime is the difference between the current time and the system boot time. I have used the machine for just 10 hrs this week. The Task Manager displays a system uptime of about 3 days and 1 hr
0 Comments
Leave a Reply. |