Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and apparatus for acquiring program segment performance

A program segment and performance technology, applied in the computer field, to achieve the effect of good versatility

Inactive Publication Date: 2019-03-12
BEIJING TOPSEC NETWORK SECURITY TECH +2
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a method for obtaining program segment performance, a device for obtaining program segment performance; to solve the problem of locating program segments with performance defects in complex programs

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
  • A method and apparatus for acquiring program segment performance
  • A method and apparatus for acquiring program segment performance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] Below, specific embodiments of the present application will be described in detail in conjunction with the accompanying drawings, but it is not intended as a limitation of the present application.

[0046] It should be understood that various modifications may be made to the embodiments disclosed herein. Accordingly, the above description should not be viewed as limiting, but only as exemplifications of embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the application.

[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and, together with the general description of the application given above and the detailed description of the embodiments given below, serve to explain the embodiments of the application. principle.

[0048] These and other characteristics of the present application will become apparent from the following...

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 present application provides a method and apparatus for acquiring the performance of a program segment. The method includes: acquiring the cumulative running times of a preset program segment andacquiring the cumulative running time of the preset program segment according to a timestamp counter; Acquiring an average running time of the preset program segment according to the cumulative running time and the cumulative running times; Determining the performance of the preset program segment at the current run time according to the average run time. The method provided by the present application has good generality, is not affected by any CPU load, and can be applied across platforms. The problem of locating segments with performance flaws in complex programs is solved. Because the method adopted is not affected by the environment, it can be applied to the kernel state or the application state.

Description

technical field [0001] The present application relates to the field of computers, in particular to a method for obtaining program segment performance and a device for obtaining program segment performance. Background technique [0002] With the emergence of computer networks, network attacks to steal network information have emerged, and network security devices to protect the network from being violated have also been born. [0003] With the development of computers, the means of network attacks are becoming more and more diverse, and the programs used to ensure network security are becoming larger and more complex. Therefore, the performance requirements for network security equipment are getting higher and higher. The performance of network security equipment and the efficiency of the software running on the equipment directly affect the stability and scalability of the equipment, as well as the operating speed of the network. Therefore, software quality is an important ...

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
IPC IPC(8): G06F11/34
CPCG06F11/3466
Inventor 范鸿雷
Owner BEIJING TOPSEC NETWORK SECURITY TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products