文件名称:
hwi.md
所在目录:
Openharmony v1.0 / docs / docs-en / kernel
文件大小:
5.17 KB
下载地址:
文本预览:
# hwi
## 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\)

2. Interrupt information \(with **LOSCFG\_CPUP\_INCLUDE\_IRQ** enabled\)

**Table 1** Output description
## 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\)

2. Interrupt information \(with **LOSCFG\_CPUP\_INCLUDE\_IRQ** enabled\)

**Table 1** Output description
点赞
回复
X