# gcov

测试程序的代码覆盖率的工具

## 补充说明

**gcov命令** 是一款测试程序的代码覆盖率的工具。

### 语法

```
gcov(选项)(参数)
```

### 选项

```
-h：显示帮助信息；
-v：显示版本信息；
-a：输出所有的基本块的执行计数；
-n：并创建输出文件。
```

### 参数

V语言文件：C语言源代码文件。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hezhiqiang.gitbook.io/linux/ming-ling/gcov.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
