摘要 |
<p>The present disclosure describes a method for acquiring time spent on system shutdown, which including: acquiring a time at which a shutdown instruction is initiated during the system shutdown; acquiring an exit time of an object that is the last to exit during the system shutdown; and acquiring the time spent on the system shutdown according to the time at which the shutdown instruction is initiated and the exit time of the object that is the last to exit. The method for acquiring time spent on system shutdown provided by the embodiments of the present disclosure can obtain the system time spent on the system shutdown regardless of the reason that the system was shut down before, thereby instructing the user to optimize the system according to the time spent on system shutdown.</p> |