摘要 |
A method of measuring the delay in the allocation of resources operates for a set of sequential requests for the resources. The method comprises the steps of recording a start time for the receipt of the first request of the set, incrementing a request start time counter, for each subsequently received request, with the current time minus the recorded start time, incrementing a total time counter, for each request allocation, with the current time minus the recorded start time, and incrementing a request counter, for each request allocation. When determining that all received requests have been allocated, and decrementing the total time counter by the request start time counter it is possible to determine an average delay time from the total time counter divided by the request counter. The measure of the delay may be a weighted value. Sets of requests may also be phased and delay calculated for a phase. |