06-23-2003, 12:43 PM -
Just a remark: there are several ways to get the current system up time, and in some other programs I've already discovered a problem with one of these methods. You problably guessed it, it's the same method used by TLB Uptime plugin.
The problem only appears on a computer (laptop) that can go in standby mode. Each time it resumes from standby mode, 2 days are added to the uptime.
On NT/2000 you can use the performance counter to obtain the system uptime, and it does not have the described problem.
Of course, one could argue how uptime should be defined when standby mode is used: should it keep the boot-time constant which is practically impossible, or should it show the time the computer was actually running (which is the case with the NT performance counter).
In short, the uptime plugin is standby-incompatible
The problem only appears on a computer (laptop) that can go in standby mode. Each time it resumes from standby mode, 2 days are added to the uptime.
On NT/2000 you can use the performance counter to obtain the system uptime, and it does not have the described problem.
Of course, one could argue how uptime should be defined when standby mode is used: should it keep the boot-time constant which is practically impossible, or should it show the time the computer was actually running (which is the case with the NT performance counter).
In short, the uptime plugin is standby-incompatible
Windows 7, IE 9.0, Shell 6.0.6000.16386, TLB 4.2.3 beta