Hardware/Software Interface
Page 108
5.3.1.16
Operating Hours Counter
This command allows querying the operating hours counter. The operating hours
counter counts the number of hours and minutes the board has been (at least partly)
powered on, i.e. when the system is in S3 or S0 state.
S0 to S5 are the power states as defined in the ACPI specification, or an equivalent state.
The counter is set to zero during factory programming.
Table 95.
BMC API – Operating hours counter command
Command OP_HRS_CNT
See the ACPI Specification for more details on the power states S0 to S5:
Advanced Configuration and Power Interface Specification Version 6.1
January, 2016
Unified EFI Forum
Command
Packet Type
Opcode
Functional Description
OP_HRS_CNT
PT_RWD
0x94
Get Operating Hours Counter
Opcode:
0x94
Packet Type:
PT_RWD
Bit
7
6
5
4
3
2
1
0
Data 0
OP_TIME
(LSB)
Data 1
OP_TIME
(MSB)
Bit Field
Description
OP_TIME
Number of hours the board has been powered on