Method and equipment for obtaining progress information

A process information and equipment technology, applied in the field of cloud computing, can solve the problems of single function and weak scalability, and achieve the effect of enhancing the tracking ability

Active Publication Date: 2018-06-22
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing above-mentioned third-party tools have relatively single functions and weak scalability
For example, Pyflame can only generate flame graphs to find function hotspots; while Heapy and Yappi can only track Python memory

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 equipment for obtaining progress information
  • Method and equipment for obtaining progress information
  • Method and equipment for obtaining progress information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . 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.

[0024] Such as figure 1 Shown is a schematic diagram of the Python interpreter provided by the embodiment of the present invention, including an event module 102 , a loading module 104 and an interface module 106 . Object management, module management, thread scheduling, memory management and other functions are implemented in the Python interpreter; and the loading mechanism and event mechanism are further implemented in the Python interp...

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 equipment for obtaining progress information. The implementation method of the method comprises the steps that a Python interpreter registers anevent which needs to be called back; in the process of using the Python interpreter to execute the Python progress, when the registered event takes place, the Python interpreter triggers call-back ofthe event and outputs the progress information of the Python progress. According to the technical scheme, the tracing capability of the Python interpreter can be strengthened without the assistance ofany third-party tools and modification of business codes.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a method and device for acquiring process information. Background technique [0002] With the rapid development of computer technology and network technology, cloud computing has become the most popular technology. The well-known cloud computing open source platform Openstack is developed based on the Python language. Companies such as Google, Instagram, Dropbox, Youtube, Reddit, and Quora are all using the Python language to achieve core business development. [0003] Python language is an object-oriented interpreted computer programming language. If a program developed using the Python language has problems during operation, it is generally debugged and located by checking the logs and source code. For this reason, the industry has developed some third-party tools with tracking functions for Python programs, such as Yappi, Heapy, Pyflame, etc. Yappi is generally use...

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 Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3636
Inventor 张翔胡昊然王睿陈昶黄昆
Owner HUAWEI CLOUD COMPUTING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products