CN107273253A - A kind of fiduciary load monitoring method and device - Google Patents

A kind of fiduciary load monitoring method and device Download PDF

Info

Publication number
CN107273253A
CN107273253A CN201710455946.0A CN201710455946A CN107273253A CN 107273253 A CN107273253 A CN 107273253A CN 201710455946 A CN201710455946 A CN 201710455946A CN 107273253 A CN107273253 A CN 107273253A
Authority
CN
China
Prior art keywords
credit
module
port
sign
pool
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.)
Pending
Application number
CN201710455946.0A
Other languages
Chinese (zh)
Inventor
李拓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710455946.0A priority Critical patent/CN107273253A/en
Publication of CN107273253A publication Critical patent/CN107273253A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a kind of fiduciary load monitoring method and device, a kind of fiduciary load monitoring method includes:At least one port credit pool is set in the module to be measured of chip in advance, at least one data receiver of at least one port credit pool and module to be measured is corresponded;At least one is stored in each port credit pool and receives credit sign;Each port credit pool is directed to, the credit sign request of at least one data to be received of the correspondence of external data port transmission is received using present port credit pool;Asked according to credit sign, at least one is taken out from the credit pool of port and receives credit sign and distributes at least one data to be received;Receive and store at least one reception credit sign that data receiver corresponding with present port credit pool is returned;The quantity of the reception credit sign stored in each port credit pool is monitored, and is provided.The technical scheme that the present invention is provided can improve the accuracy of monitored results.

Description

A kind of fiduciary load monitoring method and device
Technical field
The present invention relates to electronic technology field, more particularly to a kind of fiduciary load monitoring method and device.
Background technology
With the development of science and technology, chip is widely used in every field, the performance of chip is also increasingly by people Concern.Wherein, the load of module is to evaluate the very important index of chip performance in chip.Enterprise can be according to module in chip Loading condition corresponding optimization is made to chip.For example, 8 data can at most be received simultaneously by pre-setting a module, 4 data are at most handled simultaneously, if finding that the module only needs to receive 4 data, it is necessary to locate in actual motion during monitoring 5 data are managed, then need optimization chip with so that the data-handling capacity and data reception capabilities of the module are obtained at utmost Performance.
Prior art during the load of module, first constructs the scene of chip, re-records interface transmission efficiency in monitoring chip, And some key modules in chip are carried out with the analysis of waveform to obtain the loading condition of module in chip.
Prior art is in obtained chip, it is necessary to which the waveform of module is carried out manually in chip during the loading condition of module Analysis so that the order of accuarcy of monitored results depends on the ability of monitoring personnel, so that causing the accuracy of monitored results reduces.
The content of the invention
The embodiments of the invention provide a kind of fiduciary load monitoring method and device, it is possible to increase testing result Accuracy.
In a first aspect, the invention provides a kind of fiduciary load monitoring method, including:
At least one port credit pool is set in the module to be measured of chip in advance, at least one described port credit pool with At least one data receiver of the module to be measured is corresponded;
At least one is stored in each described port credit pool and receives credit sign;
Each described port credit pool is directed to, pair that external data port is sent is received using present port credit pool Answer the credit sign request of at least one data to be received;Asked, taken from the port credit pool according to the credit sign Go out at least one described reception credit sign and distribute at least one described data to be received;Receive and store with it is presently described At least one described reception credit sign that the credit pool corresponding data receiver in port is returned;
The quantity of the reception credit sign stored in each described port credit pool is monitored, and is provided.
Preferably, further comprise:
At least one is set to cache credit pool, at least one described caching credit pool and institute in the module to be measured in advance At least one functional unit for stating module to be measured is corresponded;
Each described caching credit pool is directed to, the corresponding functional unit is detected using current cache credit pool At least one used module data whether there is corresponding address information, if it is, obtaining each module data The corresponding address information, and each described address information of acquisition is deposited as the first storage credit sign respectively Storage;Otherwise, at least one target storage credit sign is selected from each default reference storage credit sign, distributed to every One module data that the corresponding address information is not present stores credit sign as second, and stores;
The quantity of the storage credit sign stored in each described caching credit pool is monitored, and is provided.
Preferably, asked according to the credit sign, at least one described reception is taken out from the port credit pool Credit sign and before distributing at least one described data to be received, further comprises:
Whether the quantity of the current reception credit sign stored of detection is 0, if it is, to the external data end Mouth, which is sent, waits instruction, so that the data sending terminal pause transmission data to be received, otherwise by the reception credit mark The data to be received are distributed in knowledge.
Preferably, it is described to monitor the quantity of the reception credit sign stored in each described port credit pool, and provide, wrap Include:
According to default time threshold, each described port credit pool of the module to be measured is directed to, is obtained respectively The quantity of the reception credit sign stored in present port credit pool and the ID of each port credit pool;
The ID and its corresponding reception credit sign stored of each port credit pool are shown respectively Quantity.
Preferably, the quantity of the storage credit sign stored in each described caching credit pool of the monitoring, and carry For, including:
According to default time threshold, each described caching credit pool of the module to be measured is directed to, is obtained respectively The ID of the quantity of the storage credit sign stored in current cache credit pool and each caching credit pool;
The ID and its corresponding storage credit sign stored of each caching credit pool are shown respectively Quantity.
Second aspect the embodiments of the invention provide a kind of fiduciary load monitoring apparatus, including:First sets mould Block, memory module, port credit pool and the first monitoring module;
First setup module, for setting at least one port credit pool, institute in the module to be measured of chip in advance At least one data receiver for stating at least one port credit pool and the module to be measured is corresponded;
The memory module, for being stored at least in each described port credit pool that first setup module is set One reception credit sign;
The port credit pool, the credit for receiving at least one data to be received of the correspondence of external data port transmission Identification request;Asked according to the credit sign, at least the one of the memory module storage is taken out from the port credit pool The individual reception credit sign simultaneously distributes at least one described data to be received;Receive and store and presently described port credit At least one described reception credit sign that the corresponding data receiver in pond is returned;
First monitoring module, for monitoring the reception credit sign stored in each described port credit pool Quantity, and provide.
Preferably, further comprise:Second setup module, caching credit pool and the second monitoring module;
Second setup module, it is described for setting at least one to cache credit pool in the module to be measured in advance At least one functional unit of at least one caching credit pool and the module to be measured is corresponded;
The caching credit pool, for detecting used in the functional unit corresponding to presently described caching credit pool At least one module data whether there is corresponding address information, if it is, obtaining corresponding to each described module data The address information, and each described address information of acquisition is stored as the first storage credit sign respectively;Otherwise, At least one target storage credit sign is selected from each default reference storage credit sign, each is distributed to and does not deposit The corresponding address information the module data as the second storage credit sign, and store;
Second monitoring module, for monitoring the storage credit sign stored in each described caching credit pool Quantity, and provide.
Preferably, further comprise:Detection module;
The detection module, for detecting whether the quantity of the current reception credit sign stored is 0, if It is to be sent to the external data port and wait instruction, so that data sending terminal pause sends the data to be received, it is no The reception credit sign is then distributed into the data to be received.
Preferably, first monitoring module, including:First acquisition unit and the first display unit;
The first acquisition unit, for according to default time threshold, being directed to each institute of the module to be measured Port credit pool is stated, quantity and each institute of the reception credit sign stored in present port credit pool are obtained respectively State the ID of port credit pool;
First display unit, for showing each described port credit that the first acquisition unit is obtained respectively The ID in pond and its corresponding reception credit sign stored quantity.
Preferably, second monitoring module, including:Second acquisition unit and the second display unit;
The second acquisition unit, for according to default time threshold, being directed to each institute of the module to be measured Caching credit pool is stated, quantity and each institute of the storage credit sign stored in current cache credit pool are obtained respectively State the ID of caching credit pool;
Second display unit, for showing each described caching credit that the second acquisition unit is obtained respectively The ID in pond and its corresponding storage credit sign stored quantity.
The embodiments of the invention provide a kind of fiduciary load monitoring method and device, for each in module to be measured Individual data receiver sets storage in port credit pool, port credit pool to receive credit sign.When port, credit pool receives letter When using identification request, port credit pool, which takes out the reception credit sign stored and distributes to credit sign, asks corresponding waiting Data are received, the credit sign of sending port return is received and store afterwards.The present invention gives data to be received by port credit pool The change that credit sign quantity is received in the credit sign that allocation identification, reception and storage are returned, real active ports credit pool is straight The loading condition of each data receiver in ground reflection module is seen, i.e., credit sign quantity is fewer in the credit pool of port, illustrates number It is more according to the load of receiving terminal.By the change of credit sign quantity in monitoring port credit pool, and tester is supplied to, made Loading condition can be monitored according to credit sign quantity in the credit pool of port by obtaining tester.As can be seen here, the present invention is by right The data to be received of module data receiving terminal to be measured, which are identified, can quantify the loading condition of module receiving terminal to be measured, in monitoring These receive the change of credit sign quantity, can be with the loading condition of quantitative analysis each data receiver of module to be measured, with showing There is technology to compare, it is not necessary to rely on artificial ability but objectively judge monitored results, therefore, it is possible to improve the standard of monitored results True property.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart for fiduciary load monitoring method that one embodiment of the invention is provided;
Fig. 2 is the flow chart for another fiduciary load monitoring method that one embodiment of the invention is provided;
Fig. 3 is a kind of structural representation for fiduciary load monitoring apparatus that one embodiment of the invention is provided;
Fig. 4 is the structural representation for another fiduciary load monitoring apparatus that one embodiment of the invention is provided;
Fig. 5 is the structural representation for another fiduciary load monitoring apparatus that one embodiment of the invention is provided;
Fig. 6 is the structural representation for another fiduciary load monitoring apparatus that one embodiment of the invention is provided;
Fig. 7 is that one embodiment of the invention provides also a kind of structural representation of fiduciary load monitoring apparatus;
Fig. 8 is the port credit pool and module data receiving terminal to be measured and number of modules to be measured that one embodiment of the invention is provided According to the structural representation of the annexation of the corresponding data sending terminal of receiving terminal;
Fig. 9 is the caching credit pool and functional unit and the structure of the annexation of caching that one embodiment of the invention is provided Schematic diagram.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of fiduciary load monitoring method, comprising the following steps:
Step 101, at least one port credit pool, at least one described port are set in the module to be measured of chip in advance At least one data receiver of credit pool and the module to be measured is corresponded.
Step 102, at least one is stored in each described port credit pool and receives credit sign.
Step 103, each described port credit pool is directed to, external data port is received using present port credit pool The credit sign request of at least one data to be received of the correspondence of transmission;Asked according to the credit sign, from port letter With taking out at least one described reception credit sign in pond and distribute at least one described data to be received;Receive and store with The corresponding data receiver of presently described port credit pool return it is described at least one receive credit sign.
Step 104, the quantity of the reception credit sign stored in each described port credit pool is monitored, and is provided.
The embodiments of the invention provide a kind of fiduciary load monitoring method, for each data in module to be measured Receiving terminal sets storage in port credit pool, port credit pool to receive credit sign.When port, credit pool receives credit sign During request, port credit pool, which takes out the reception credit sign stored and distributes to credit sign, asks corresponding number to be received According to, receive afterwards and store sending port return credit sign.The present invention gives data distribution to be received by port credit pool The change of credit sign quantity is received in mark, the credit sign for receiving and storing return, real active ports credit pool intuitively Reflect the loading condition of each data receiver in module, i.e., credit sign quantity is fewer in the credit pool of port, illustrates that data connect The load of receiving end is more.By the change of credit sign quantity in monitoring port credit pool, and it is supplied to tester so that survey Examination personnel can monitor loading condition according to credit sign quantity in the credit pool of port.As can be seen here, the present invention is by to be measured The data to be received of module data receiving terminal, which are identified, can quantify the loading condition of module receiving terminal to be measured, monitor these The change of credit sign quantity is received, can be with the loading condition of quantitative analysis each data receiver of module to be measured, with existing skill Art is compared, it is not necessary to is relied on artificial ability but is objectively judged monitored results, therefore, it is possible to improve the accuracy of monitored results.
The loading condition of module is together decided on by the receiving ability of data receiver and the data-handling capacity of functional unit , in order to monitor the loading condition of inside modules data processing to be measured, in one embodiment of the invention, in module to be measured Portion sets at least one to cache credit pool, to monitor the situation that functional unit in module to be measured takes module caching to be measured, caching Credit pool is one-to-one with functional unit.Each functional unit can use some module datas, such as from caching Read data, send data in caching.Caching credit pool corresponding with functional unit can detect these module datas in caching In corresponding address information, and obtain corresponding address information as the storage credit sign of these module datas.For storage Module data in fifo or the caching of this structure of stack, they do not have a corresponding address information, and caching credit pool can be A target storage credit sign is selected in the reference storage credit sign pre-set as the storage of the module data to believe With mark.Caching credit pool can store the corresponding storage credit sign of each above-mentioned module data, be believed by storing Reflect that the functional unit takes the situation of module caching to be measured with the quantity of mark.The quantity for storing credit sign is provided again To tester so that tester can make phase according to each functional unit of storage credit sign quantity calculating to chip The modification answered.
Such as, there are two functional units of A, B in module to be measured, be pre-designed two functional units of A, B and account for module caching ratio For 2:1, monitored results find that the module data that A is used is 4, and the module data that B is used is 1, then two functional units of A, B Module caching is accounted for than being 4:1, then tester requires to look up reason, and chip is correspondingly optimized.
In order to ensure that each data to be sent can be identified by reception credit pool, in one embodiment of the invention, , it is necessary to which the quantity to the current reception credit sign stored of detection is before port credit pool receives credit sign request No is 0, if it is, port credit pool, which connects to send to external data port, waits instruction so that data sending terminal pause is sent Data to be received, otherwise will receive credit sign and distribute to data to be received.
In order to get the loading condition of each data receiver in module to be measured according to actual needs, in the present invention One embodiment in, according to the time cycle pre-set, the reception stored in each port credit pool is obtained respectively The ID of the quantity of credit sign and each port credit pool, then the ID and port credit of each port credit pool are shown respectively The quantity of the reception credit sign stored in pond.
For example, the ID of port credit pool A, B is 001,002 respectively, the quantity of the reception credit sign stored is 4,3, Then show " 001,4 ", " 002,3 ".
In order to get the loading condition of each functional unit in module to be measured according to actual needs, the present invention's In one embodiment, according to the time cycle pre-set, the storage letter stored in each caching credit pool is obtained respectively The ID of credit pool is cached with each with the quantity of mark, then shows the ID and port credit pool of each caching credit pool respectively In stored storage credit sign quantity.
In one embodiment of the invention, when there is multiple modules to be measured, being directed to each module to be measured can be real The method in the various embodiments described above is applied, to determine the loading condition of modules.
In order to which the method described in above-described embodiment is better described, as shown in Fig. 2 the embodiments of the invention provide another Fiduciary load monitoring method, first monitors the loading condition of each receiving port of module to be measured, then to monitor module to be measured each The loading condition of individual functional unit, comprises the following steps:
Step 201, at least one port credit pool and at least one storage letter are set in the module to be measured of chip in advance Use pond.
In embodiments of the present invention, at least one port credit pool is corresponded with least one data receiver, at least One storage credit pool is corresponded with least one functional unit, and can also be provided separately above two credit pool, i.e., first Port credit pool is set, storage credit pool is being set after the completion of detection.
Step 202, at least one is stored in each port credit pool and receives credit sign.
In embodiments of the present invention, the quantity of the reception credit sign stored in each port credit pool is believed by each port Determined with the receiving ability of the corresponding each data receiver in pond.For example, data receiver A can at most reception 5 be waiting simultaneously Data are received, then the quantity of the reception credit sign of port corresponding with data receiver A credit pool storage is 5.
Step 203, port credit pool receives the credit of at least one data to be received of the correspondence of external data port transmission Identification request.
In the embodiment of the present invention, port credit pool is only received to send to data receiver corresponding with the port credit pool and treated Send the credit sign request that the FPDP of data is sent.
Step 204, whether the quantity of the current reception credit sign stored of port credit pool detection is 0, if it is, holding Row step 214, otherwise performs step 205.
In embodiments of the present invention, in order to accurately monitor each data receiver loading condition, it is necessary to Whether the quantity that credit sign is received by detecting is 0 to ensure that each testing data can assign to reception credit sign.
Step 205, asked according to credit sign, port credit pool take out at least one receive credit sign and distribute to Few data to be received.
In embodiments of the present invention, it is to correspond that at least one, which receives credit sign and at least one data to be received, 's.For example, there is two testing datas, then port credit pool takes out two and receives credit sign respectively to each testing data point With a reception credit sign.
Step 206, port credit pool receives and stores data receiver corresponding with present port credit pool and returns extremely Few reception credit sign.
In embodiments of the present invention, data receiver often receives a data to be received, is returned to a reception credit Mark, it is ensured that the fluency of data receiver.
Step 207, according to default time threshold, the reception credit stored in each port credit pool is obtained respectively The ID of the quantity of mark and each port credit pool.
In embodiments of the present invention, can periodically it be obtained in each port credit pool according to default time threshold The quantity and the ID of each port credit pool of the reception credit sign stored.For example time threshold is 3 seconds, then holds within every 3 seconds Row once obtains the quantity and the ID of each port credit pool of the reception credit sign stored in each port credit pool.
Step 208, the ID and its corresponding reception credit sign stored of each port credit pool are shown respectively Quantity.
In embodiments of the present invention, by providing the ID of each port credit pool to testing staff and its corresponding having deposited The quantity of the reception credit sign of storage, tester may determine that the data receiver or and data receiver that needs are optimized Associated program.
Step 209, whether caching credit pool detects at least one module data used in corresponding functional unit There is corresponding address information, if it is, performing step 210, otherwise perform step 211.
Step 210, caching credit pool obtains the address information corresponding to modules data, and by each address of acquisition Information is stored as the first storage credit sign respectively.
Step 211, caching credit pool is selected at least one target from each default reference storage credit sign and deposited Credit sign is stored up, each is distributed in the absence of the module data of corresponding address information as the second storage credit sign, and Storage.
In embodiments of the present invention, the corresponding address information of module data being stored in module caching to be measured is divided to two kinds of feelings Condition, one kind is to cache inherently to carry address information, and another is the caching of fifo or this structure of stack, without clear and definite Address information, access is according to certain order.Directly identified for the first situation with buffer address as storage information.The Two kinds of situations, the then storage information that a untapped address information is chosen from buffer address as the module data is identified.
Step 212, according to default time threshold, the storage credit stored in each caching credit pool is obtained respectively The ID of the quantity of mark and each caching credit pool.
Step 213, the ID and its corresponding storage credit sign stored of each caching credit pool are shown respectively Quantity.
Step 214, sent to external data port and wait instruction, so that data sending terminal pause sends the number to be received According to.
As shown in figure 3, the embodiments of the invention provide a kind of fiduciary load monitoring apparatus, including:First is set Module 301, memory module 302, the monitoring module 304 of port credit pool 303 and first;
First setup module 301, it is described for setting at least one port credit pool in the module to be measured of chip in advance At least one data receiver of at least one port credit pool and the module to be measured is corresponded;
Memory module 302, for storing at least one in each described port credit pool that the first setup module 301 is set Individual reception credit sign;
Port credit pool 303, the credit for receiving at least one data to be received of the correspondence of external data port transmission Identification request;Asked according to the credit sign, at least the one of the memory module storage is taken out from the port credit pool The individual reception credit sign simultaneously distributes at least one described data to be received;Receive and store and presently described port credit At least one described reception credit sign that the corresponding data receiver in pond is returned;
First monitoring module 304, the number of the reception credit sign stored for monitoring in each port credit pool 303 Amount, and provide.
As shown in figure 4, the embodiments of the invention provide another fiduciary load monitoring apparatus, further comprising: Second setup module 401, caches the monitoring module 403 of credit pool 402 and second;
Second setup module 401, for set in advance in the module to be measured at least one cache credit pool, it is described extremely At least one functional unit of a few caching credit pool and the module to be measured is corresponded;
Credit pool 402 is cached, for detecting used in the functional unit corresponding to presently described caching credit pool At least one module data whether there is corresponding address information, if it is, obtaining corresponding to each described module data The address information, and each described address information of acquisition is stored as the first storage credit sign respectively;Otherwise, At least one target storage credit sign is selected from each default reference storage credit sign, each is distributed to and does not deposit The corresponding address information the module data as the second storage credit sign, and store;
Second monitoring mould 403, the number for monitoring the storage credit sign stored in each caching credit pool 402 Amount, and provide.
As shown in figure 5, the embodiments of the invention provide another fiduciary load monitoring apparatus, further comprising: Detection module 501;
Detection module 501, for detecting whether the quantity of the current reception credit sign stored is 0, if it is, Sent to the external data port and wait instruction, so that data sending terminal pause sends the data to be received, otherwise The reception credit sign is distributed into the data to be received.
As shown in fig. 6, the embodiments of the invention provide another fiduciary load monitoring apparatus,
First monitoring module 304, including:The display unit 3042 of first acquisition unit 3041 and first;
First acquisition unit 3041, for according to default time threshold, being directed to each institute of the module to be measured Port credit pool is stated, quantity and each institute of the reception credit sign stored in present port credit pool are obtained respectively State the ID of port credit pool;
First display unit 3042, for showing each described port credit that first acquisition unit 3041 is obtained respectively The ID in pond and its corresponding reception credit sign stored quantity.
As shown in fig. 7, the embodiments of the invention provide also a kind of fiduciary load monitoring apparatus,
Second monitoring module 403, including:The display unit 4032 of second acquisition unit 4031 and second;
Second acquisition unit 4031, for according to default time threshold, being directed to each institute of the module to be measured Caching credit pool is stated, quantity and each institute of the storage credit sign stored in current cache credit pool are obtained respectively State the ID of caching credit pool;
Second display unit 4032, for showing each described caching credit that second acquisition unit 4032 is obtained respectively The ID in pond and its corresponding storage credit sign stored quantity.
In one embodiment of the invention, the first monitoring module 304 and the second monitoring module 403 may be constructed total physical examination Logic is surveyed to monitor the loading condition of each data receiver of module to be measured and each functional unit.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
As shown in figure 8, the embodiments of the invention provide port credit pool and module data receiving terminal to be measured and module to be measured The annexation of the corresponding data sending terminal of data receiver.
Module 802 sends data by data sending terminal 8021 to module 801 to be measured, in order to monitor module 801 to be measured Loading condition, port credit pool 303 is arranged on inside module 801 to be measured, and connects data receiver 8011 and data sending terminal 8021 so that port credit pool 303 can receive data receiver 8011 return receive credit sign and data sending terminal The 8021 credit sign requests sent.
As shown in figure 9, the embodiments of the invention provide caching credit pool and the annexation of functional unit and caching;
Caching credit pool 402 is arranged on inside module 801 to be measured, is connected respectively with functional unit 8012 and caching 8013. Caching credit pool 402 is connected with functional unit 8012 ensure that both corresponding relations, be connected with caching 8013 to give function list The module data configuration storage credit sign that member 8012 is utilized.
The embodiments of the invention provide a kind of computer-readable recording medium, including execute instruction, when the computing device of storage control During the execute instruction, what is provided in described storage control execution any one embodiment of the invention is a kind of fiduciary negative Carry monitoring method.
The embodiments of the invention provide a kind of storage control, including:Processor, memory and bus;
The memory is used to store execute instruction, and the processor is connected with the memory by the bus, when During the storage control operation, the execute instruction of memory storage described in the computing device, so that the storage Controller performs a kind of fiduciary load monitoring method provided in any one embodiment of the invention.
In summary, each embodiment of the invention at least has the advantages that:
1st, in one embodiment of the invention, port credit pool, end are set for each data receiver in module to be measured Storage receives credit sign in mouth credit pool.When port credit pool receives credit sign request, port credit pool is taken out The reception credit sign of storage simultaneously distributes to the corresponding data to be received of credit sign request, receives afterwards and stores sending port The credit sign of return.The present invention is identified to data distribution to be received by port credit pool, receives and store the credit returned The change that credit sign quantity is received in mark, real active ports credit pool intuitively reflects each data receiver in module Credit sign quantity is fewer in loading condition, i.e. port credit pool, illustrates that the load of data receiver is more.Pass through monitoring port The change of credit sign quantity in credit pool, and it is supplied to tester so that tester can be according in the credit pool of port Credit sign quantity monitors loading condition.As can be seen here, the present invention passes through the data to be received to module data receiving terminal to be measured The loading condition of module receiving terminal to be measured can be quantified by being identified, and monitor these changes for receiving credit sign quantity, can With the loading condition of quantitative analysis each data receiver of module to be measured, compared with prior art, it is not necessary to rely on artificial ability But objectively judge monitored results, therefore, it is possible to improve the accuracy of monitored results.
2nd, in one embodiment of the invention, by storing credit sign and each data receiver to each functional unit allocation Distribution receives credit information, and individual functional unit is accounted for obtain into ratio quantization in the buffer, facilitates tester to module in chip Internal load is monitored, and improves the monitoring efficiency to the internal load of module in chip.
3rd, in one embodiment of the invention, each credit pool in the embodiment of the present invention can be according to the reality of chip internal memory Size is optimized, and the first monitoring module and the second monitoring module can also flexibly set the time threshold for obtaining data, According to actual needs above-mentioned two module can also be closed to ensure that test and emulation to chip can more targetedly enter OK, so as to further increase the accuracy of monitored results.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation makes a distinction with another entity or operation, and not necessarily require or imply exist between these entities or operation Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non- It is exclusive to include, so that process, method, article or equipment including a series of key elements not only include those key elements, But also other key elements including being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, by sentence " including the key element that a 〃 〃 " is limited, it is not excluded that Also there is other identical factor in the process including the key element, method, article or equipment.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, the skill of the present invention is merely to illustrate Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention, Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

1. a kind of fiduciary load monitoring method, it is characterised in that including:
At least one port credit pool is set in the module to be measured of chip in advance, at least one described port credit pool with it is described At least one data receiver of module to be measured is corresponded;
At least one is stored in each described port credit pool and receives credit sign;
Each described port credit pool is directed to, the correspondence of external data port transmission is received extremely using present port credit pool The credit sign request of few data to be received;According to the credit sign ask, taken out from the port credit pool to A few reception credit sign simultaneously distributes at least one described data to be received;Receive and store and presently described port At least one described reception credit sign that the corresponding data receiver of credit pool is returned;
The quantity of the reception credit sign stored in each described port credit pool is monitored, and is provided.
2. the method according to claim 1, it is characterised in that further comprise:
At least one is set to cache credit pool in the module to be measured in advance, at least one described caching credit pool is treated with described At least one functional unit for surveying module is corresponded;
Each described caching credit pool is directed to, detects that the corresponding functional unit is made using current cache credit pool At least one module data whether there is corresponding address information, if it is, it is right to obtain each described module data institute The address information answered, and each described address information of acquisition is stored as the first storage credit sign respectively; Otherwise, at least one target storage credit sign is selected from each default reference storage credit sign, distributed to each The individual module data in the absence of the corresponding address information is stored as the second storage credit sign;
The quantity of the storage credit sign stored in each described caching credit pool is monitored, and is provided.
3. the method according to claim 1, it is characterised in that
Asked according to the credit sign, at least one described reception credit sign is taken out from the port credit pool and is divided Before at least one data to be received described in dispensing, further comprise:
Whether the quantity of the current reception credit sign stored of detection is 0, if it is, being sent out to the external data port Wait is sent to instruct, so that data sending terminal pause sends the data to be received, otherwise by the reception credit sign point Data to be received described in dispensing.
4. the method according to claim 1, it is characterised in that
It is described to monitor the quantity of the reception credit sign stored in each described port credit pool, and provide, including:
According to default time threshold, each described port credit pool of the module to be measured is directed to, obtains current respectively The quantity of the reception credit sign stored in the credit pool of port and the ID of each port credit pool;
The ID of each port credit pool and its quantity of the corresponding reception credit sign stored are shown respectively.
5. the method according to claim 2, it is characterised in that
The quantity of the storage credit sign stored in each described caching credit pool of the monitoring, and provide, including:
According to default time threshold, each described caching credit pool of the module to be measured is directed to, obtains current respectively The ID of the quantity of the storage credit sign stored in caching credit pool and each caching credit pool;
The ID of each caching credit pool and its quantity of the corresponding storage credit sign stored are shown respectively.
6. a kind of fiduciary load monitoring apparatus, it is characterised in that including:First setup module, memory module, port letter With pond and the first monitoring module;
First setup module, for setting at least one port credit pool in the module to be measured of chip in advance, it is described extremely At least one data receiver of few a port credit pool and the module to be measured is corresponded;
The memory module, for storing at least one in each described port credit pool that first setup module is set Receive credit sign;
The port credit pool, the credit sign for receiving at least one data to be received of the correspondence of external data port transmission Request;Asked according to the credit sign, at least one institute of the memory module storage is taken out from the port credit pool State reception credit sign and distribute at least one described data to be received;Receive and store and presently described port credit pool pair At least one described reception credit sign that the data receiver answered is returned;
First monitoring module, the number for monitoring the reception credit sign stored in each described port credit pool Amount, and provide.
7. the device according to claim 6, it is characterised in that further comprise:Second setup module, caching credit pool and Second monitoring module;
Second setup module, for set in advance in the module to be measured at least one cache credit pool, it is described at least At least one functional unit of one caching credit pool and the module to be measured is corresponded;
The caching credit pool, for detecting used in the functional unit corresponding to presently described caching credit pool at least One module data whether there is corresponding address information, if it is, obtaining described corresponding to each described module data Address information, and each described address information of acquisition is stored as the first storage credit sign respectively;Otherwise, from pre- If each with reference to storage credit sign in select at least one target storage credit sign, distribute to each be not present pair The module data for the address information answered is stored as the second storage credit sign;
Second monitoring module, the number for monitoring the storage credit sign stored in each described caching credit pool Amount, and provide.
8. the device according to claim 6, it is characterised in that
Further comprise:Detection module;
The detection module, for detecting whether the quantity of the current reception credit sign stored is 0, if it is, to The external data port, which is sent, waits instruction, so that data sending terminal pause sends the data to be received, otherwise will The reception credit sign distributes to the data to be received.
9. the device according to claim 6, it is characterised in that
First monitoring module, including:First acquisition unit and the first display unit;
The first acquisition unit, for according to default time threshold, being directed to each described end of the module to be measured Mouth credit pool, obtains quantity and each described end of the reception credit sign stored in present port credit pool respectively The ID of mouth credit pool;
First display unit, for showing each port credit pool that the first acquisition unit is obtained respectively ID and its corresponding reception credit sign stored quantity.
10. the device according to claim 7, it is characterised in that
Second monitoring module, including:Second acquisition unit and the second display unit;
The second acquisition unit, for according to default time threshold, be directed to the module to be measured each is described slow Credit pool is deposited, the quantity that the storage credit sign stored in current cache credit pool is obtained respectively is described slow with each Deposit the ID of credit pool;
Second display unit, for showing each caching credit pool that the second acquisition unit is obtained respectively ID and its corresponding storage credit sign stored quantity.
CN201710455946.0A 2017-06-16 2017-06-16 A kind of fiduciary load monitoring method and device Pending CN107273253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710455946.0A CN107273253A (en) 2017-06-16 2017-06-16 A kind of fiduciary load monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710455946.0A CN107273253A (en) 2017-06-16 2017-06-16 A kind of fiduciary load monitoring method and device

Publications (1)

Publication Number Publication Date
CN107273253A true CN107273253A (en) 2017-10-20

Family

ID=60067586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710455946.0A Pending CN107273253A (en) 2017-06-16 2017-06-16 A kind of fiduciary load monitoring method and device

Country Status (1)

Country Link
CN (1) CN107273253A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841477A (en) * 2010-04-27 2010-09-22 浪潮电子信息产业股份有限公司 Method for improving reliable message transmission credit of network control chip
CN102648471A (en) * 2008-11-24 2012-08-22 塞尔蒂卡姆公司 System and method for hardware based security
CN106529281A (en) * 2016-11-07 2017-03-22 广东浪潮大数据研究有限公司 Executable file processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102648471A (en) * 2008-11-24 2012-08-22 塞尔蒂卡姆公司 System and method for hardware based security
CN101841477A (en) * 2010-04-27 2010-09-22 浪潮电子信息产业股份有限公司 Method for improving reliable message transmission credit of network control chip
CN106529281A (en) * 2016-11-07 2017-03-22 广东浪潮大数据研究有限公司 Executable file processing method and device

Similar Documents

Publication Publication Date Title
CN108376112A (en) Method for testing pressure, device and readable medium
CN105630683B (en) A kind of cloud testing architecture
CN106610896A (en) Adaptive pressure testing method and device
EP2151752A1 (en) Thread ordering techniques
CN107066390A (en) A kind of Dram leakage detection method and system
CN109416673A (en) Memory requests arbitration
CN104679884B (en) Data analysing method, device and the system of database
CN113722248B (en) Command processing method and command processing device
CN108052444A (en) A kind of method and apparatus of performance test for mobile application
CN110489320A (en) Restoring method, device, terminal device and the medium of test data
CN104573135B (en) Real-time data acquisition method and device based on Reflective memory network and middleware Technology
CN102831296A (en) Automatic diagnosis system for electrical test field instruction
CN110097268A (en) Task allocation method and device, electronic equipment and storage medium
CN107528843A (en) The processing method and processing unit of a kind of network request
US20100011146A1 (en) Conveying Information With a PCI Express Tag Field
CN109359034A (en) A kind of operation system test method, computer readable storage medium and terminal device
CN106961490A (en) A kind of resource monitoring method and system, a kind of home server
CN113220597A (en) Test method, test device, electronic apparatus, and storage medium
CN109213965A (en) A kind of power system capacity prediction technique, computer readable storage medium and terminal device
CN107273253A (en) A kind of fiduciary load monitoring method and device
CN107483640A (en) A kind of buffering updating method, server and operation system
CN113284271B (en) Machine room inspection method, device, electronic equipment and computer readable storage medium
CN112666389B (en) Double-core interaction method and device for double-core intelligent electric meter, double-core intelligent electric meter and medium
CN109032787A (en) A kind of method for allocating tasks and device
CN113032543B (en) Dialogue diagnosis method, device, equipment and medium based on stack structure

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171020