1# Main Thread Jank Event Overview
2
3HiAppEvent provides APIs for subscribing to main thread jank events.
4
5- [Subscribing to Main Thread Jank Events (ArkTS)](hiappevent-watcher-mainthreadjank-events-arkts.md)
6- [Subscribing to Main Thread Jank Events (C/C++)](hiappevent-watcher-mainthreadjank-events-ndk.md)
7
8The **params** parameter in the event information is described as follows.
9
10**params**
11
12| Name   | Type  | Description                      |
13| ------- | ------ | ------------------------- |
14| time     | number | Event triggering time, in ms.|
15| bundle_version | string | Application version.|
16| bundle_name | string | Application name.|
17| pid | number | Process ID of the application.|
18| uid | number | User ID of the application.|
19| begin_time | number | Begin time of a task in the main thread.|
20| end_time | number | End time of a task in the main thread.|
21| external_log| string[] | Path of the generated log files. 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.|
22| log_over_limit| boolean | Whether the size of generated log files and existing log files exceeds the upper limit (10 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.|
23