CN109634811A - A kind of display methods and relevant apparatus of time delay distribution - Google Patents
A kind of display methods and relevant apparatus of time delay distribution Download PDFInfo
- Publication number
- CN109634811A CN109634811A CN201811506239.0A CN201811506239A CN109634811A CN 109634811 A CN109634811 A CN 109634811A CN 201811506239 A CN201811506239 A CN 201811506239A CN 109634811 A CN109634811 A CN 109634811A
- Authority
- CN
- China
- Prior art keywords
- time delay
- delay
- data
- delay distribution
- delay data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/323—Visualisation of programs or trace data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
- G06F11/3419—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of display methods of time delay distribution, multiple delay datas of target interface can first be obtained, it in the number occurred by time delay distribution queue record same delay data, i.e., include the delay data being arranged in order and the corresponding number of the delay data in time delay distribution queue;There is the time delay distribution queue of delay data to generate time delay distribution information further according to the record later, includes the number that the delay data being distributed in order and corresponding each delay data occur in realization distributed intelligence at this time;After showing above-mentioned time delay distribution information, user can easily know the distribution situation of the delay data of target interface according to above-mentioned time delay distribution information, so as to carry out tuning to software according to the distribution situation of the delay data.The present invention also provides a kind of display device of time delay distribution, a kind of display equipment of time delay distribution and a kind of computer readable storage mediums, equally have above-mentioned beneficial effect.
Description
Technical field
The present invention relates to field of computer technology, display methods, a kind of time delay point more particularly to a kind of time delay distribution
The display device of cloth, a kind of display equipment of time delay distribution and a kind of computer readable storage medium.
Background technique
As the continuous progress of science and technology, computer are almost flooded with the every aspect of people's normal life in recent years.And
In software development process, it usually needs carry out tuning to software according to some parameters in computer and network.
In software development usually, for example, to storage software develop when, generally require to pay close attention to some key interfaces
Delay data and time delay distribution situation, and common delay statistics tool be merely able to record maximum delay, minimal time delay and
The distribution situation of average delay, delay data can not be recorded and be observed, this will be unfavorable for carrying out tuning to storage software.So such as
What, which provides one kind, to be those skilled in the art's urgent problem in the method for display interface time delay distribution.
Summary of the invention
The object of the present invention is to provide a kind of display methods of time delay distribution, can show the distribution feelings of delay data
Condition;Another object of the present invention is to provide a kind of display device of time delay distribution, a kind of display equipment of time delay distribution and
A kind of computer readable storage medium can show the distribution situation of delay data.
In order to solve the above technical problems, the present invention provides a kind of display methods of time delay distribution, comprising:
Obtain multiple delay datas of target interface;
The number occurred by the identical delay data of time delay distribution queue record;Wherein, the time delay distribution queue
Including the delay data being arranged successively in order, and the number of the corresponding delay data;
Time delay distribution information is generated according to the time delay distribution queue;
The time delay distribution information is shown.
Optionally, the time delay distribution queue includes the default delay data being arranged successively from small to large, and corresponding institute
State the number of default delay data;Wherein, the difference of the adjacent default delay data is equal;It is described to obtain the more of target interface
A delay data includes:
Obtain multiple current delay datas of target interface;
The number occurred by the identical delay data of time delay distribution queue record includes:
It, will be with the current time delay number when any current delay data is equal with any default delay data
Add 1 according to number corresponding to equal default delay data.
Optionally, the multiple current delay datas for obtaining target interface include:
Multiple current delay datas of target interface are obtained by gettimeofday function.
Optionally, the difference of the adjacent default delay data is not more than 2ms in the time delay distribution queue.
Optionally, described to include: according to time delay distribution queue generation time delay distribution information
Using the delay data as abscissa, and using the number as ordinate, time delay distribution curve graph is generated, with
As the time delay distribution information.
The present invention also provides a kind of display devices of time delay distribution, comprising:
Obtain module: for obtaining multiple delay datas of target interface;
Logging modle: the number for occurring by the identical delay data of time delay distribution queue record;Wherein, described
Time delay distribution queue includes the delay data being arranged successively in order, and the number of the corresponding delay data;
Generation module: for generating time delay distribution information according to the time delay distribution queue;
Display module: for showing the time delay distribution information.
Optionally, the time delay distribution queue includes the default delay data being arranged successively from small to large, and corresponding institute
State the number of default delay data;Wherein, the difference of the adjacent default delay data is equal;The acquisition module is specifically used
In:
Obtain multiple current delay datas of target interface;
The logging modle is specifically used for:
It, will be with the current time delay number when any current delay data is equal with any default delay data
Add 1 according to number corresponding to equal default delay data.
Optionally, the generation module is specifically used for:
Using the delay data as abscissa, and using the number as ordinate, time delay distribution curve graph is generated, with
As the time delay distribution information.
The present invention also provides a kind of display equipment of time delay distribution, the equipment includes:
Memory: for storing computer program;
Processor: the display methods of the time delay distribution as described in any of the above-described is realized when for executing the computer program
The step of.
The present invention also provides a kind of computer readable storage medium, meter is stored on the computer readable storage medium
Calculation machine program, realizing the display methods of time delay distribution as described in any of the above-described when the computer program is executed by processor
Step.
A kind of display methods of time delay distribution provided by the present invention can first obtain multiple delay datas of target interface,
It in the number occurred by time delay distribution queue record same delay data, i.e., include being arranged in order in time delay distribution queue
Delay data and the corresponding number of the delay data;There is the time delay distribution queue of delay data raw further according to the record later
At time delay distribution information, realize in distributed intelligence to include the delay data being distributed in order and corresponding each time delay number at this time
According to the number occurred;After showing above-mentioned time delay distribution information, user can easily know according to above-mentioned time delay distribution information
The distribution situation of the delay data of road target interface, so as to be adjusted according to the distribution situation of the delay data to software
It is excellent.
The present invention also provides a kind of display device of time delay distribution, a kind of display equipment of time delay distribution and a kind of meters
Calculation machine readable storage medium storing program for executing equally has above-mentioned beneficial effect, is no longer repeated herein.
Detailed description of the invention
It, below will be to embodiment or existing for the clearer technical solution for illustrating the embodiment of the present invention or the prior art
Attached drawing needed in technical description is briefly described, it should be apparent that, the accompanying drawings in the following description is only this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow chart of the display methods of time delay distribution provided by the embodiment of the present invention;
Fig. 2 is a kind of flow chart of the display methods of specific time delay distribution provided by the embodiment of the present invention;
Fig. 3 is a kind of structural block diagram of the display device of time delay distribution provided by the embodiment of the present invention;
Fig. 4 is a kind of structural block diagram of the display equipment of time delay distribution provided by the embodiment of the present invention.
Specific embodiment
Core of the invention is to provide a kind of display methods of time delay distribution.In the prior art, common delay statistics
Tool is typically only capable to enough record maximum delay, minimal time delay and average delay, the distribution situation of delay data can not record with
Observation, this will be unfavorable for carrying out tuning to storage software.
And a kind of display methods of time delay distribution provided by the present invention, it can first obtain multiple time delay numbers of target interface
According in the number occurred by time delay distribution queue record same delay data, i.e., including in order in time delay distribution queue
The delay data of arrangement and the corresponding number of the delay data;There is the time delay distribution team of delay data further according to the record later
Column-generation time delay distribution information is realized in distributed intelligence at this time when including the delay data being distributed in order and is corresponding each
Prolong the number that data occur;After showing above-mentioned time delay distribution information, user can be light according to above-mentioned time delay distribution information
Pine knows the distribution situation of the delay data of target interface, so as to be carried out according to the distribution situation of the delay data to software
Tuning.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Referring to FIG. 1, Fig. 1 is a kind of flow chart of the display methods of time delay distribution provided by the embodiment of the present invention.
Referring to Fig. 1, in embodiments of the present invention, the display methods of the time delay distribution includes:
S101: multiple delay datas of target interface are obtained.
In embodiments of the present invention, the target interface is usually software interface, and data are before by the target interface
Usually have the regular hour poor afterwards, the time difference, that is, target interface delay data.Particular content in relation to the target interface
Can sets itself according to the actual situation, no longer repeated herein.
It will be described in detail in following inventive embodiments in relation to the specific method for obtaining delay data, no longer carry out herein
It repeats.
S102: the number occurred by time delay distribution queue record same delay data.
In embodiments of the present invention, the time delay distribution queue includes the delay data being arranged successively in order, with
And the number of the corresponding delay data.
In this step, the time delay distribution queue has generally included two column, wherein a column record has delay data;Another
One column record has the corresponding number occurred of the delay data.Wherein delay data can be by suitable in the column that record has delay data
Sequence arrangement, such as sequence from big to small or sequence from small to large are arranged successively.Certainly, above-mentioned delay data under normal conditions
It can be sequentially arranged in above-mentioned time delay distribution queue according to the size of delay data according to sequence from small to large.
It include two column datas in time delay distribution queue after this step is completed, a column are led to according to preset order
It is often the delay data being arranged successively from small to large according to the size of delay data, another column are that the corresponding delay data occurs
Number.
S103: time delay distribution information is generated according to time delay distribution queue.
In this step, meeting time delay distribution queue according to obtained in S102 generates time delay distribution information, exists accordingly
Two parts content is generally included in time delay distribution information, a portion is time delay number included in time delay distribution information
According to wherein delay data is arranged according to preset sequence;And another part is the corresponding frequency of occurrence of the delay data.When related
The particular content for prolonging distributed intelligence will be described in detail in following inventive embodiments, no longer be repeated herein.
S104: time delay distribution information is shown.
In this step, it will usually show the time delay distribution information generated in S103 in the display, so as to user
The time delay distribution situation of target interface can be understood according to the time delay distribution information, consequently facilitating user believes according to the time delay distribution
Breath optimizes target interface etc..
A kind of display methods of time delay distribution provided by the embodiment of the present invention can first obtain multiple time delays of target interface
Data include by suitable that is, in time delay distribution queue in the number occurred by time delay distribution queue record same delay data
The delay data and the corresponding number of the delay data of sequence arrangement;There is the time delay distribution of delay data further according to the record later
Queue generates time delay distribution information, realizes in distributed intelligence to include that the delay data being distributed in order and correspondence are each at this time
The number that delay data occurs;After showing above-mentioned time delay distribution information, user can be according to above-mentioned time delay distribution information
Easily know target interface delay data distribution situation, so as to according to the distribution situation of the delay data to software into
Row tuning.
It will be in following inventive embodiments in relation to a kind of particular content of the display methods of time delay distribution provided by the present invention
In be described in detail.
Referring to FIG. 2, Fig. 2 is a kind of process of the display methods of specific time delay distribution provided by the embodiment of the present invention
Figure.
Referring to fig. 2, in embodiments of the present invention, the display methods of the time delay distribution includes:
S201: multiple current delay datas of target interface are obtained.
In this step, multiple current delay datas of target interface, i.e., real-time delay data can be obtained.Specifically,
In this step, multiple current delay datas of target interface can be obtained by gettimeofday function.It is so-called
Gettimeofday function calls the turn the function for obtaining current precise time in machine word.More specifically, in the present invention
In embodiment, above-mentioned gettimeofday function can be respectively provided with before and after target interface, when there are multiple data to connect by target
When mouth, above-mentioned current delay data can be indicated by the difference of above-mentioned two gettimeofday function, that is, is passed through
Multiple current delay datas of gettimeofday function acquisition target interface.Particular content in relation to gettimeofday function
The prior art can be referred to, is no longer repeated herein.
S202:, will be equal with current delay data when any current delay data is equal with any default delay data
Default delay data corresponding to number add 1.
In embodiments of the present invention, the time delay distribution queue includes the default delay data being arranged successively from small to large,
And the number of the corresponding default delay data;Wherein, the difference of the adjacent default delay data is equal.
The default time delay number being arranged successively from small to large is pre-set in time delay distribution queue in embodiments of the present invention
According to, and the number of the corresponding default delay data.The possibility that above-mentioned default delay data is pre-set is in S201
The current delay data obtained, and the initial value of above-mentioned number is usually zero.In this step, a certain when what is obtained in S201
It, can be by the default time delay number equal with current delay data when a current delay data is equal with some default delay data
Add one according to corresponding number, is counted with the number occurred by time delay distribution queue to identical current delay data.
It include two column datas in time delay distribution queue, a column are successively to arrange from small to large after the completion of this step
The default delay data of column, another column are the numbers for currently prolonging data and occurring obtained in corresponding S201.When a certain default time delay
When the corresponding number of data is zero, it is meant that do not preset time delay number with this in the multiple current delay datas obtained in S201
According to equal delay data.
It should be noted that the difference of adjacent default delay data is generally equal in time delay distribution queue, i.e., it is adjacent pre-
If the time granular size in the difference of delay data, that is, time delay distribution queue, time particle is smaller, i.e., adjacent default time delay number
According to difference it is smaller, it is meant that the data that time delay distribution queue is counted are more accurate.In order to guarantee that the embodiment of the present invention is provided
Time delay distribution queue can accurately record same delay data appearance number, preferably, the time delay distribution team
The difference of the adjacent default delay data is not more than 2ms in column.More specifically, the time delay distribution in embodiments of the present invention
The difference of the adjacent default delay data is usually 1ms in queue.Specifically, time delay distribution queue can lead in this step
Delaytimer is crossed to realize.Specific structure in relation to delaytimer, the i.e. specific structure of time delay distribution queue can refer to
The following table 1.
1. time delay distribution queue of table
Interface_1 | Uint64 [1]=a, Uint64 [2]=b ... |
Interface_2 | Uint64 [1]=a, Uint64 [2]=b ... |
… | … |
Interface_X | Uint64 [1]=a, Uint64 [2]=b ... |
In table 1, Interface_ represents target interface, and Interface_1 represents first aim interface,
Interface_2 represents second target interface.
Above-mentioned Uint64 [] represents above-mentioned default delay data, if the difference of above-mentioned adjacent default delay data is 1ms,
It is 1ms that then above-mentioned Uint64 [1], which represents time delay,;It is 2ms that Uint64 [2], which represents time delay,.Above-mentioned a, b ... it had both represent pair
The number of delay data appearance should be preset, Uint64 [1]=a, which had both represent the time delay that time delay is 1ms, to be occurred a times;Uint64[2]
=b, which had both represent the time delay that time delay is 2ms, to be occurred b times.
S203: time delay distribution information is generated according to time delay distribution queue.
In this step, time delay distribution letter directly directly can be regarded into the time delay distribution queue that completion is recorded in S202
Breath, and in the next steps directly show the time delay distribution queue.User can remember according in the time delay distribution queue
The numerical value of record understands the time delay distribution situation of target interface.
Preferably, in order to enable user can be more visual and clear understanding target interface time delay distribution situation,
In this step time delay point can be generated specifically using the delay data as abscissa, and using the number as ordinate
Cloth curve graph, using as the time delay distribution information.Each point corresponds to a time delay number in i.e. above-mentioned time delay distribution curve graph
Accordingly and the number of the corresponding delay data.When recording in time delay distribution queue is default delay data, above-mentioned time delay point
It is each in cloth curve graph to put a corresponding default delay data.It in embodiments of the present invention, can be with by time delay distribution curve graph
The time delay distribution situation of visual and clear understanding target interface.
S204: time delay distribution information is shown.
In this step, it no matter time delay distribution information is time delay distribution queue or time delay distribution curve graph, is required to it
It is shown, so as to user it will be seen that the time delay distribution situation of target interface.
A kind of display methods of time delay distribution provided by the embodiment of the present invention, it is pre- by being arranged in time delay distribution queue
If the time delay distribution situation for the understanding target interface that delay data can be more clear;When by the way that time delay distribution queue being converted to
Prolong the time delay distribution situation for understanding target interface that scatter chart can be more visual and clear.
The display device of time delay distribution provided in an embodiment of the present invention is introduced below, display device described below
Reference can be corresponded to each other with above-described display methods.
Fig. 3 is a kind of structural block diagram of the display device of time delay distribution provided by the embodiment of the present invention, is shown referring to Fig. 3
Device may include:
Obtain module 100: for obtaining multiple delay datas of target interface.
Logging modle 200: the number for occurring by the identical delay data of time delay distribution queue record;Wherein,
The time delay distribution queue includes the delay data being arranged successively in order, and the number of the corresponding delay data.
Generation module 300: for generating time delay distribution information according to the time delay distribution queue.
Display module 400: for showing the time delay distribution information.
Preferably, in embodiments of the present invention, the time delay distribution queue include be arranged successively from small to large it is pre-
If delay data, and the number of the corresponding default delay data;Wherein, the difference phase of the adjacent default delay data
Deng;The acquisition module 100 is specifically used for:
Obtain multiple current delay datas of target interface.
The logging modle 200 is specifically used for:
It, will be with the current time delay number when any current delay data is equal with any default delay data
Add 1 according to number corresponding to equal default delay data.
Preferably, in embodiments of the present invention, the adjacent default delay data in the time delay distribution queue
Difference is not more than 2ms.
Preferably, in embodiments of the present invention, the acquisition module 100 is specifically used for:
Multiple current delay datas of target interface are obtained by gettimeofday function.
Preferably, in embodiments of the present invention, the generation module 300 is specifically used for:
Using the delay data as abscissa, and using the number as ordinate, time delay distribution curve graph is generated, with
As the time delay distribution information.
The display device of the present embodiment is for realizing display methods above-mentioned, therefore the specific embodiment in display device
It can be seen that the embodiment part of display methods hereinbefore, for example, obtaining module 100, logging modle 200, generation module 300 is shown
Show module 400, is respectively used to realize step S101, S102, S103 and S104 in above-mentioned display method, so, specific implementation
Mode is referred to the description of corresponding various pieces embodiment, and details are not described herein.
A kind of display equipment of time delay distribution provided in an embodiment of the present invention is introduced below, display described below
Equipment can correspond to each other reference with above-described display methods and display device.
Referring to FIG. 4, Fig. 4 is a kind of structural block diagram of the display equipment of time delay distribution provided by the embodiment of the present invention.
Referring to Fig. 4, the display equipment of the time delay distribution may include processor 500 and memory 600.
The memory 600 is for storing computer program;The processor 500 is for when executing the computer program
Realize the display methods of foregoing invention time delay distribution as described in the examples.
Processor 500 is for installing described in above-mentioned inventive embodiments in the display equipment of the time delay distribution of the present embodiment
The display device of time delay distribution, simultaneous processor 500 are combined with memory 600 and be may be implemented in any of the above-described inventive embodiments
The display methods of the time delay distribution.Therefore time delay distribution display equipment in specific embodiment it is visible hereinbefore when
Prolong the embodiment part of the display methods of distribution, specific embodiment is referred to retouching for corresponding various pieces embodiment
It states, details are not described herein.
The present invention also provides a kind of computer readable storage medium, meter is stored on the computer readable storage medium
Calculation machine program, the computer program realize time delay distribution described in any of the above-described inventive embodiments when being executed by processor
Display methods.Remaining content is referred to the prior art, no longer carries out expansion description herein.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other
The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment
For setting, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part
Explanation.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Above to a kind of display methods of time delay distribution provided by the present invention, a kind of display device of time delay distribution, one
The display equipment of kind time delay distribution and a kind of computer readable storage medium are described in detail.It is used herein specifically a
Principle and implementation of the present invention are described for example, and it is of the invention that the above embodiments are only used to help understand
Method and its core concept.It should be pointed out that for those skilled in the art, not departing from the principle of the invention
Under the premise of, it can be with several improvements and modifications are made to the present invention, these improvement and modification also fall into the claims in the present invention
Protection scope in.
Claims (10)
1. a kind of display methods of time delay distribution characterized by comprising
Obtain multiple delay datas of target interface;
The number occurred by the identical delay data of time delay distribution queue record;Wherein, the time delay distribution queue includes
The delay data being arranged successively in order, and the number of the corresponding delay data;
Time delay distribution information is generated according to the time delay distribution queue;
The time delay distribution information is shown.
2. the method according to claim 1, wherein the time delay distribution queue includes being arranged successively from small to large
Default delay data, and the number of the corresponding default delay data;Wherein, the difference of the adjacent default delay data
It is equal;It is described obtain target interface multiple delay datas include:
Obtain multiple current delay datas of target interface;
The number occurred by the identical delay data of time delay distribution queue record includes:
It, will be with the current delay data phase when any current delay data is equal with any default delay data
Deng default delay data corresponding to number add 1.
3. according to the method described in claim 2, it is characterized in that, the multiple current delay data packets for obtaining target interface
It includes:
Multiple current delay datas of target interface are obtained by gettimeofday function.
4. according to the method described in claim 2, it is characterized in that, the adjacent default time delay number in the time delay distribution queue
According to difference be not more than 2ms.
5. according to claim 1 to method described in any one of 4 claims, which is characterized in that described according to the time delay point
Cloth queue generates time delay distribution information
Using the delay data as abscissa, and using the number as ordinate, generate time delay distribution curve graph, using as
The time delay distribution information.
6. a kind of display device of time delay distribution characterized by comprising
Obtain module: for obtaining multiple delay datas of target interface;
Logging modle: the number for occurring by the identical delay data of time delay distribution queue record;Wherein, the time delay
Distribution queue includes the delay data being arranged successively in order, and the number of the corresponding delay data;
Generation module: for generating time delay distribution information according to the time delay distribution queue;
Display module: for showing the time delay distribution information.
7. device according to claim 6, which is characterized in that the time delay distribution queue includes being arranged successively from small to large
Default delay data, and the number of the corresponding default delay data;Wherein, the difference of the adjacent default delay data
It is equal;The acquisition module is specifically used for:
Obtain multiple current delay datas of target interface;
The logging modle is specifically used for:
It, will be with the current delay data phase when any current delay data is equal with any default delay data
Deng default delay data corresponding to number add 1.
8. device according to claim 6 or 7, which is characterized in that the generation module is specifically used for:
Using the delay data as abscissa, and using the number as ordinate, generate time delay distribution curve graph, using as
The time delay distribution information.
9. a kind of display equipment of time delay distribution, which is characterized in that the equipment includes:
Memory: for storing computer program;
Processor: the display of the time delay distribution as described in any one of claim 1 to 5 is realized when for executing the computer program
The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the display side of the time delay distribution as described in any one of claim 1 to 5 when the computer program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811506239.0A CN109634811A (en) | 2018-12-10 | 2018-12-10 | A kind of display methods and relevant apparatus of time delay distribution |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811506239.0A CN109634811A (en) | 2018-12-10 | 2018-12-10 | A kind of display methods and relevant apparatus of time delay distribution |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109634811A true CN109634811A (en) | 2019-04-16 |
Family
ID=66072583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811506239.0A Withdrawn CN109634811A (en) | 2018-12-10 | 2018-12-10 | A kind of display methods and relevant apparatus of time delay distribution |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109634811A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116248550A (en) * | 2022-12-29 | 2023-06-09 | 中国联合网络通信集团有限公司 | Interface performance determining method, device and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108234227A (en) * | 2016-12-15 | 2018-06-29 | 华为技术有限公司 | Time-delay measuring method, device and the apparatus for network node of apparatus for network node |
-
2018
- 2018-12-10 CN CN201811506239.0A patent/CN109634811A/en not_active Withdrawn
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108234227A (en) * | 2016-12-15 | 2018-06-29 | 华为技术有限公司 | Time-delay measuring method, device and the apparatus for network node of apparatus for network node |
Non-Patent Citations (1)
Title |
---|
吴义宝等: "用RAM进行时延分布统计", 《电子测量与仪器学报》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116248550A (en) * | 2022-12-29 | 2023-06-09 | 中国联合网络通信集团有限公司 | Interface performance determining method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103827826B (en) | Adaptively determining response time distribution of transactional workloads | |
US20020065644A1 (en) | Time-based modeling | |
CN107291620A (en) | A kind of method for generating test case and device | |
CN109614685A (en) | Construction based on BIM model is told somebody what one's real intentions are method, apparatus, equipment and mobile terminal | |
CN101694649A (en) | Report generating system and method of cluster monitoring | |
CN108595604A (en) | A kind of data visualisation system and method for intelligent report forms | |
CN108415831A (en) | Method for generating test case and device, electronic equipment and readable storage medium storing program for executing | |
CN109446177A (en) | A kind of implementation method and device of distributive catalogue of document system file number quota | |
CN109086090A (en) | A kind of method, apparatus, equipment and the storage medium of server B MC configuration | |
CN109375943A (en) | A kind of program file generation method and device | |
CN109634811A (en) | A kind of display methods and relevant apparatus of time delay distribution | |
CN107609109A (en) | A kind of report form generation method, device and system | |
CN106354841A (en) | Testing method and device of recommendation algorithms | |
CN109358942A (en) | A kind of method, device and equipment of the monitoring page of adjustment management equipment software | |
CN109408620A (en) | A kind of method, apparatus, equipment and the storage medium of network public opinion trend prediction | |
CN109144426A (en) | A kind of memory space management of object storage system, system and associated component | |
CN109190898A (en) | A kind of method and system dynamically distributing sale assistant director | |
CN107895588A (en) | Estimate the method, apparatus and equipment of the residual life time of SSD disks | |
CN110308644A (en) | Smart electric meter clock timing precision compensation method, device and equipment | |
CN110069296A (en) | A kind of FRU information generating method, system and relevant apparatus | |
CN110489462A (en) | A kind of method and system of automatically generated data report | |
CN106406766A (en) | A data storage method and device | |
CN110471730A (en) | Methods of exhibiting, system, big screen system and medium based on Echarts | |
CN109636561A (en) | The additional method, device and equipment deducted of Individual Income Tax special project is declared on a kind of line | |
CN109739778A (en) | A kind of memory allocation method, system and the associated component of simplification volume |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190416 |
|
WW01 | Invention patent application withdrawn after publication |