Patent ID: 8631178

Claim:
A system bus monitoring method, comprising: accepting a pre-configured monitoring time; monitoring a system bus in real time during the pre-configured monitoring time, monitoring an idle time of the system bus, and determining a difference between the pre-configured monitoring time and the idle time as an effective transmission time of the system bus; and determining a ratio of the effective transmission time to the pre-configured monitoring time as an average transmission efficiency of the system bus; wherein, the monitoring the idle time of the system bus comprises: performing an incremental count after monitoring that a master device connected to the system bus initiates a command request; performing a decremental count after monitoring that a slave device connected to the system bus finishes responding to the command request; determining the system bus to be in an idle state, when a number of times of the incremental count is equal to a number of times of a decremental count; and recording a period of time during which the system bus is in the idle state as the idle time of the system bus.