Unlock instant, AI-driven research and patent intelligence for your innovation.

WPF program freeze detection method and device

The technology of a detection method and a detection device is applied in the field of computer communication

Active Publication Date: 2021-01-22
GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a WPF program freeze detection method and device for the problem that there is currently no WPF program freeze detection method

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • WPF program freeze detection method and device
  • WPF program freeze detection method and device
  • WPF program freeze detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The content of the present invention will be further described in detail below in conjunction with preferred embodiments and accompanying drawings. Apparently, the embodiments described below are only used to explain the present invention, not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention. It should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content.

[0026] figure 1 It is a schematic flow chart of an embodiment of the WPF program freeze detection method of the present invention, as figure 1 As shown, the WPF program freeze detection method in the embodiment of the present invention includes the following steps:

[0027] Step S110, after triggering to start the WPF program, read the sy...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a WPF program lagging detection method and device. The method includes following steps: after a WPF program is triggered to start, reading system time in a global variable, and comparing the system time with current system time, wherein the global variable is used for recording system time when a graphic display event is triggered; when a difference value of the current system time and the system time in the global variable is greater than a preset threshold value, judging that the WPF program is in a lagged state. The graphic display triggering event is an event boundto be triggered in the process of graphic display, triggering frequency and time are fixed, and when the WPF program is jammed, the event is not triggered. Therefore, whether the WPF program is in the lagged state or not can be judged by detecting triggering time interval of the graphic display triggering event (namely calculating a relation between the difference value of the current system timeand the system time when the graphic display triggering event is triggered and the preset threshold value). The method is simple, quick and high in accuracy.

Description

technical field [0001] The invention relates to the technical field of computer communication, in particular to a WPF program freeze detection method and device. Background technique [0002] WPF (Windows Presentation Foundation, Windows Presentation Foundation) is a graphical interface display technology based on DirectX and GPU acceleration. When using WPF technology to realize graphical interface display, it is often necessary to display a large amount of data, for example, to display 1000 pictures at the same time. If some display effects are added, the interface is prone to freeze or freeze, and the display efficiency and effect are very poor. [0003] In order to effectively solve the freeze phenomenon and improve display efficiency and effect, a WPF program freeze detection method is urgently needed to monitor whether WPF is in a freeze state. However, at present, there is no simple and easy method for detecting freeze in WPF programs. Contents of the invention ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/22G06T1/20
CPCG06F11/2273G06T1/20
Inventor 程遥
Owner GUANGZHOU SHIYUAN ELECTRONICS CO LTD