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

Method and device for carrying out multi-event statistics on performance monitoring unit

A monitoring unit, multi-event technology, applied in the field of communication, can solve problems such as errors, and achieve the effect of improving accuracy and saving system overhead

Inactive Publication Date: 2014-12-17
HANGZHOU HUAWEI DIGITAL TECH
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that there is a certain error in using this event switching mechanism.

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
  • Method and device for carrying out multi-event statistics on performance monitoring unit
  • Method and device for carrying out multi-event statistics on performance monitoring unit
  • Method and device for carrying out multi-event statistics on performance monitoring unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0069] It should be understood that although the terms first, second, etc. may be used in the embodiments of the present invention to describe various registers and performance events, the registers and performance events should not be limited to these terms. These terms are only used to distinguish registers or performance events from one another. For example, without departing from the scope of the embodiments of the present invention, the first register may also be cal...

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 embodiment of the invention discloses a method and a device for carrying out multi-event statistics on a performance monitoring unit. The method and the device are used for dynamically and accurately regulating even switching efficiency and improving accuracy of performance statistics on the premise of not modifying clock frequency of a system. The method disclosed by the embodiment of the invention comprises the following steps: after triggering a first register and a second register in a PMU (Power Management Unit) to carry out counting, monitoring whether the first register overflows; when determining that the first register overflows, initiating PMI interruption; in the PMI interruption, storing counting duration of each register on each performance events and a number of the performance events counted by each register, switching second performance events recorded by the second register, resetting the numbers of the performance events counted by the first register and the second register, retriggering the first register and the second register to count and finishing the PMI interruption; finally, carrying out statistics on the stored counting duration and number of each performance events every time to obtain a statistics result.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for multi-event statistics of a performance monitoring unit. Background technique [0002] Performance has always been an important criterion for measuring the quality of systems and programs. In recent years, with the rapid development of the Internet, the number of users has increased sharply. In order to ensure the quality of service, a website is often composed of hundreds or thousands of server clusters and distributed system software running on it, and the software performance has become increasingly Extra important. On the one hand, due to the large size of the system, a small improvement in software performance can often save a lot of hardware costs; on the other hand, through monitoring system performance, load balancing can be achieved to ensure business stability. [0003] When measuring system and program performance, central processing unit (Central Pr...

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/30
Inventor 王辉
Owner HANGZHOU HUAWEI DIGITAL 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