# hwi - [Command Function](#section445335110416) - [Syntax](#section1795712553416) - [Parameter Description](#section92544592410) - [Usage](#section104151141252) - [Example](#section11545171957) - [Output](#section075617368542) ## Command Function This command is used to query information about the current interrupts. ## Syntax hwi ## Parameter Description None ## Usage - Enter **hwi** to display the current interrupt ID, count of interrupts, and registered interrupt name. - If **LOSCFG\_CPUP\_INCLUDE\_IRQ** is enabled, the processing time \(cycles\), CPU usage, and interrupt type of each interrupt are displayed. ## Example Enter **hwi**. ## Output 1. Interrupt information \(with **LOSCFG\_CPUP\_INCLUDE\_IRQ** disabled\) ![](figures/en-us_image_0000001053826366.png) 2. Interrupt information \(with **LOSCFG\_CPUP\_INCLUDE\_IRQ** enabled\) ![](figures/en-us_image_0000001052810304.png) **Table 1** Output description

Parameter

Description

InterruptNo

Indicates the interrupt ID.

Count

Indicates the count of interrupts.

Name

Indicates the registered interrupt name.

CYCLECOST

Indicates the interrupt processing time (cycles).

CPUUSE

Indicates the CPU usage.

CPUUSE10s

Indicates CPU usage within the last 10 seconds.

CPUUSE1s

Indicates CPU usage within the last 1 second.

mode

Indicates the interrupt mode.

  • normal: non-shared interrupt.
  • shared: shared interrupt.