• Home
Name Date Size #Lines LOC

..--

frameworks/native/12-May-2024-2,3841,644

interfaces/native/innerkits/12-May-2024-21284

LICENSED12-May-202410.1 KiB177150

README.mdD12-May-20241.5 KiB4025

README_zh.mdD12-May-20241.7 KiB6136

bundle.jsonD12-May-20241.7 KiB5655

hisysevent.yamlD12-May-20242.3 KiB5336

README.md

1# HiCollie<a name="EN-US_TOPIC_0000001077200880"></a>
2
3-   [Introduction](#section11660541593)
4-   [Architecture](#section342962219551)
5-   [Directory Structure](#section55125489224)
6-   [Constraints](#section161941989596)
7-   [Compilation and Building](#section20568163942320)
8-   [Available APIs](#section8725142134818)
9-   [Usage](#section19959125052315)
10-   [Repositories Involved](#section1134984213235)
11
12## Introduction<a name="section11660541593"></a>
13
14HiCollie provides the software watchdog capability. It implements a unified framework for fault detection and fault log generation to help you locate software timeout faults resulting from system service deadlock, application main thread blocking, and service process timeout.
15
16## Architecture<a name="section342962219551"></a>
17
18## Directory Structure<a name="section55125489224"></a>
19
20```
21/base/hiviewdfx/hicollie                       #  HiCollie home directory
22├── frameworks/native/                       # HiCollie Native code
23├── interfaces/native/innerkits/include      # HiCollie Native header files
24```
25
26## Constraints<a name="section161941989596"></a>
27
28A maximum of 128 timers can be registered for a single process using the HiCollie API. Excess timers are invalid and cannot be registered to implement timeout detection.
29
30## Compilation and Building<a name="section20568163942320"></a>
31
32For details, see the  _HiCollie Development Guide_.
33
34## Available APIs<a name="section8725142134818"></a>
35
36## Repositories Involved<a name="section1134984213235"></a>
37
38[Hivew](https://gitee.com/openharmony)
39
40

README_zh.md

1# HiCollie组件<a name="ZH-CN_TOPIC_0000001077200880"></a>
2
3-   [简介](#section11660541593)
4-   [系统架构](#section342962219551)
5-   [目录](#section55125489224)
6-   [约束](#section161941989596)
7-   [编译构建](#section20568163942320)
8-   [说明](#section12699104113233)
9-   [接口说明](#section8725142134818)
10-   [使用说明](#section19959125052315)
11-   [相关仓](#section1134984213235)
12
13## 简介<a name="section11660541593"></a>
14
15HiCollie提供了软件看门狗功能。针对系统服务死锁、应用主线程阻塞,用户业务流程超时等故障,HiCollie提供了一套统一的用于故障检测和故障日志生成的框架,提供软件超时故障日志,辅助定位软件超时问题。
16
17## 系统架构<a name="section342962219551"></a>
18
19## 目录<a name="section55125489224"></a>
20
21```
22/base/hiviewdfx/hicollie                       #  HiCollie目录
23├── frameworks/native/                       # HiCollie native代码
24├── interfaces/native/innerkits/include      # HiCollie native头文件
25```
26
27## 约束<a name="section161941989596"></a>
28
29HiCollie接口单个进程最多可以注册128个定时器。超出上限的定时器注册操作无效,无法完成设定的逻辑超时检测功能。
30
31## 编译构建<a name="section20568163942320"></a>
32
33请参考HiCollie开发指南。
34
35## 说明<a name="section12699104113233"></a>
36
37## 接口说明<a name="section8725142134818"></a>
38
39## 相关仓<a name="section1134984213235"></a>
40
41DFX子系统:
42
43hmf/hiviwdfx
44
45DFX组件:
46
47hmf/hiviwdfx/hilog
48
49hmf/hiviwdfx/hitrace
50
51**hmf/hiviwdfx/hicollie**
52
53hmf/hiviwdfx/hidumper
54
55hmf/hiviwdfx/hiappevent
56
57hmf/hiviwdfx/hisysevent
58
59hmf/hiviwdfx/debug
60
61