• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Task Execution Timeout Event Overview
2
3HiAppEvent provides APIs for subscribing to task execution timeout events.
4
5- [Subscribing to Task Execution Timeout Events (C/C++)](hiappevent-watcher-apphicollie-events-ndk.md)
6
7The **params** parameter in the event information is described as follows:
8
9**params**
10
11| Name   | Type  | Description                      |
12| ------- | ------ | ------------------------- |
13| time     | number | Event triggering time, in ms.|
14| foreground | boolean | Whether the application is running in the foreground.|
15| bundle_version | string | Application version.|
16| process_name | string | Process name of the application.|
17| pid | number | Process ID of the application.|
18| uid | number | User ID of the application.|
19| uuid | string | Error ID.|
20| exception | object | Exception information. For details, see **exception**.|
21| hilog | string[] | Log information.|
22| peer_binder | string[] | Binder call, binder call chain, and related stack capture information.|
23| memory | object | Memory information. For details, see **memory**.|
24| external_log | string[] | Path of the error log file. If the directory files exceed the threshold (for details, see **log_over_limit**), new log files may fail to be written. Therefore, delete the log files immediately after they are processed.|
25| log_over_limit | boolean | Whether the size of generated fault log files and existing log files exceeds the upper limit (5 MB). The value **true** indicates that the upper limit is exceeded and logs fail to be written. The value **false** indicates that the upper limit is not exceeded.|
26
27**exception**
28
29| Name   | Type  | Description                      |
30| ------- | ------ | ------------------------- |
31| name | string | Exception type.|
32| message | string | Exception cause.|
33
34**memory**
35
36| Name   | Type  | Description                      |
37| ------- | ------ | ------------------------- |
38| rss | number | Size of the memory allocated for a process, in KB.|
39| vss | number | Size of the virtual memory applied by a process from the system, in KB.|
40| pss | number | Size of the physical memory actually used by a process, in KB.|
41| sys_free_mem | number | Size of free memory, in KB.|
42| sys_avail_mem | number | Size of available memory, in KB.|
43| sys_total_mem | number | Total memory size, in KB.|
44