Home
last modified time | relevance | path

Searched refs:jank (Results 1 – 25 of 25) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/base/log/
H A Djank_frame_report.cpp50 uint32_t GetJankRange(double jank) in GetJankRange() argument
52 if (jank < 6.0f) { in GetJankRange()
55 if (jank < 15.0f) { in GetJankRange()
58 if (jank < 20.0f) { in GetJankRange()
61 if (jank < 36.0f) { in GetJankRange()
64 if (jank < 48.0f) { in GetJankRange()
67 if (jank < 60.0f) { in GetJankRange()
70 if (jank < 120.0f) { in GetJankRange()
126 RecordJankStatus(jank); in JankFrameRecord()
151 if (jank <= 1.0f) { in RecordJankStatus()
[all …]
H A Djank_frame_report.h51 void RecordJankStatus(double jank);
H A Devent_report.h196 …static void JankFrameReport(int64_t startTime, int64_t duration, const std::vector<uint16_t>& jank,
/ohos5.0/docs/en/application-dev/reference/apis-performance-analysis-kit/
H A D_hi_hicollie.md6 HiCollie provides APIs for detecting service thread stuck and jank events and reporting service thr…
25 …ionParam](_hi_hicollie___detection_param.md) | Defines the parameters of the jank event detection.|
36 …e_detectionparam) | Defines a struct for the parameters of the user-defined jank event detection.|
76 Defines the pointer to the user-defined callback for the jank event detection. This callback is use…
89 …lback for the jank event detection. This callback is used after the service thread processed the e…
102 …he pointer to the parameters of the user-defined jank event detection, such as the threshold of th…
112 …unc, HiCollie_DetectionParam param) | Registers a callback to detect service thread jank events. |
151 Registers a callback to detect service thread jank events. To monitor thread jank events, you can i…
161 | param | Custom extended parameter used in the jank detection, which is provided for future develo…
165 Returns **0** if the jank event detection is successfully initialized.
H A Dhicollie_8h.md27 …param) | Registers a callback to detect service thread jank events. To monitor service thread jank
H A D_hi_hicollie___detection_param.md6 Defines the extended parameters of the jank event detection, which are provided for subsequent deve…
H A Djs-apis-hiviewdfx-hiappevent.md944 | MAIN_THREAD_JANK<sup>12+</sup> | string | Yes| Main thread jank event.<br>**Atomic service API**:…
/ohos5.0/docs/en/application-dev/dfx/
H A Dhiappevent-watcher-mainthreadjank-events-arkts.md14 The following describes how to subscribe to the main thread jank event, which is reported when a ta…
28 // Add the system events to watch, for example, the main thread jank event.
46 // Obtain the timestamp when the main thread jank event occurs.
58 // Obtain the error log file generated when the main thread jank event occurs.
85 Tracing data of the main thread jank event is as follows:
102 …The sampling stack of the main thread jank event is similar to the trace result. The differences a…
119 …When the main thread jank event occurs, the main thread checker starts to check whether the jank e…
129 (3) If no jank event is detected in the two checks, the check ends.
135 …e main thread checker checks for a main thread jank event every 150 ms for 20 times. If a main thr…
137 (1) No main thread jank event is detected.
[all …]
H A Dhicollie-guidelines-ndk.md3 HiCollie provides APIs for detecting service thread stuck and jank events and reporting stuck event…
9 …kDetection | Registers a callback to detect service thread jank events. To monitor thread jank eve…
16 …service thread jank logs, see [Main Thread Jank Event Specifications](./hiappevent-watcher-mainthr…
89 …ection(&beginFunc_, &endFunc_, param); // Initialize the function for detecting thread jank events.
94 … usleep(350 * 1000); // Simulate a thread jank event by putting the thread to sleep for 350 ms.
210 …(1) Wait for 10s and click the **testHiCollieJankNdk** button. (The jank event detection is not pe…
H A Dhiappevent-watcher-mainthreadjank-events-ndk.md160 …add the **timeOut500** button with **onClick()** to trigger a main thread jank event when the butt…
174 …n project. Click the **timeOut350** button twice consecutively to trigger a main thread jank event.
176 10. After the main thread jank event is reported, you can view the following event information in t…
194 …ead-jank-event-time-specifications) and [Main Thread Jank Event Specifications](./hiappevent-watch…
H A Dhiappevent-watcher-mainthreadjank-events.md3 HiAppEvent provides APIs for subscribing to main thread jank events.
H A Derrormanager-guidelines.md18 … duration of the main thread. A callback will be invoked if a main thread jank event occurs. This …
H A Dhidumper.md273 flushJankStatsRs|flush rs jank stats hisysevent
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/perfmonitor/
H A Dperf_monitor.cpp359 void PerfMonitor::SetFrameTime(int64_t vsyncTime, int64_t duration, double jank, const std::string&… in SetFrameTime() argument
363 int32_t skippedFrames = static_cast<int32_t> (jank); in SetFrameTime()
379 ProcessJank(jank, windowName); in SetFrameTime()
382 void PerfMonitor::ReportJankFrameApp(double jank) in ReportJankFrameApp() argument
384 if (jank >= static_cast<double>(JANK_SKIPPED_THRESHOLD) && !isBackgroundApp) { in ReportJankFrameApp()
386 jankInfo.skippedFrameTime = static_cast<int64_t>(jank * SINGLE_FRAME_TIME); in ReportJankFrameApp()
621 void PerfMonitor::ProcessJank(double jank, const std::string& windowName) in ProcessJank() argument
625 ReportJankFrame(jank, windowName); in ProcessJank()
630 void PerfMonitor::ReportJankFrame(double jank, const std::string& windowName) in ReportJankFrame() argument
632 if (jank >= static_cast<double>(DEFAULT_JANK_REPORT_THRESHOLD)) { in ReportJankFrame()
[all …]
H A Dperf_monitor.h140 …void SetFrameTime(int64_t vsyncTime, int64_t duration, double jank, const std::string& windowName);
141 void ReportJankFrameApp(double jank);
188 void ProcessJank(double jank, const std::string& windowName);
189 void ReportJankFrame(double jank, const std::string& windowName);
/ohos5.0/foundation/arkui/ace_engine/test/mock/base/
H A Dmock_jank_frame_report.cpp51 void PerfMonitor::SetFrameTime(int64_t vsyncTime, int64_t durition, double jank, const std::string&… in SetFrameTime() argument
53 void PerfMonitor::ReportJankFrameApp(double jank) {} in ReportJankFrameApp() argument
/ohos5.0/foundation/graphic/graphic_2d/
H A Dhisysevent.yaml50 __BASE: {type: FAULT, level: MINOR, desc: graphic jank frame skip}
72 __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: jank statistic}
75 JANK_STATS: {type: UINT16, desc: jank frame stats}
76 JANK_STATS_VER: {type: UINT32, desc: jank range version}
113 __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: interaction jank statistics}
149 __BASE: {type: BEHAVIOR, level: MINOR, tag: performance, desc: interaction jank statistics}
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/build/
H A Dhisysevent.yaml158 __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: jank statistics}
166 JANK_STATS: {type: UINT16, arrsize: 8, desc: jank frame stats}
167 JANK_STATS_VER: {type: UINT32, desc: jank range version}
187 __BASE: {type: BEHAVIOR, level: MINOR, tag: performance, desc: interaction jank statistics}
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/
H A Devent_report.cpp55 …ventReport::JankFrameReport(int64_t startTime, int64_t duration, const std::vector<uint16_t>& jank, in JankFrameReport() argument
/ohos5.0/base/web/webview/
H A Dhisysevent.yaml92 __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: jank statistics, preserve: true}
96 JANK_STATS: {type: UINT16, arrsize: 8, desc: jank frame stats}
98 JANK_STATS_VER: {type: UINT32, desc: jank range version}
/ohos5.0/base/hiviewdfx/hiview/plugins/performance/
H A Dhisysevent.yaml71 __BASE: {type: BEHAVIOR, level: MINOR, desc: interaction jank statistics}
97 __BASE: { type: BEHAVIOR, level: MINOR, desc: interaction jank statistics }
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Devent_report.cpp332 …ventReport::JankFrameReport(int64_t startTime, int64_t duration, const std::vector<uint16_t>& jank, in JankFrameReport() argument
349 EVENT_KEY_JANK_STATS, jank, in JankFrameReport()
/ohos5.0/docs/zh-cn/application-dev/dfx/
H A Dhidumper.md273 flushJankStatsRs|flush rs jank stats hisysevent
/ohos5.0/docs/zh-cn/application-dev/
H A Dwebsite.md1198 - 主线程超时事件<!--main-thread-jank-events-->
/ohos5.0/docs/en/application-dev/
H A Dwebsite.md1185 - Main Thread Jank Events<!--main-thread-jank-events-->