System for measuring the efficiency of accessing vector elements using interelement distance of vector data or bank conflicts
First Claim
1. A data processing apparatus for accessing vector data from a memory having a plurality of banks to perform a vector arithmetic operation by determining, dependent on an interelement distance of the vector data, both a number of elements to be accessed simultaneously and a time interval for each element to be accessed, comprising:
- calculating means for calculating a minimum period of time required to access all elements which constitute the vector data when the vector data is accessed and outputting a calculated value which is dependent upon an access time required when there is no bank conflict, said bank conflict being dependent upon said interelement distance;
first counting means for counting a period of time elapsed after access for the vector data is started and outputting a counted value;
a comparator receiving said calculated value and said counted value and outputting a comparison result; and
second counting means, receiving said comparison result, for incrementing a bank waiting time in accordance with said comparison result.
1 Assignment
0 Petitions
Accused Products
Abstract
A data processing apparatus includes a register, an access time counter, a comparator, and a bank waiting time counter. The register calculates a minimum period of time required to access all elements which constitute vector data when the vector data is accessed. The access time counter counts the time which has lapsed after access for the vector data is started. The comparator compares a value calculated by the register with a value obtained by the access time counter. The bank waiting time counter is incremented in accordance with a comparison result obtained by the comparator. The bank waiting time counter thus stores the waiting time due to the bank conflict.
27 Citations
3 Claims
-
1. A data processing apparatus for accessing vector data from a memory having a plurality of banks to perform a vector arithmetic operation by determining, dependent on an interelement distance of the vector data, both a number of elements to be accessed simultaneously and a time interval for each element to be accessed, comprising:
-
calculating means for calculating a minimum period of time required to access all elements which constitute the vector data when the vector data is accessed and outputting a calculated value which is dependent upon an access time required when there is no bank conflict, said bank conflict being dependent upon said interelement distance; first counting means for counting a period of time elapsed after access for the vector data is started and outputting a counted value; a comparator receiving said calculated value and said counted value and outputting a comparison result; and second counting means, receiving said comparison result, for incrementing a bank waiting time in accordance with said comparison result. - View Dependent Claims (2)
-
-
3. A data processing apparatus for accessing vector data from a memory having a plurality of banks to perform a vector arithmetic operation, by determining, dependent on an interelement distance of the vector data, both a number of elements to be accessed simultaneously and a time interval for each element to be accessed, comprising:
-
calculating means for calculating a minimum period of time required to access all elements which constitute the vector data when the vector data is accessed and outputting a calculated value which is dependent upon an access time required when there is no bank conflict, said bank conflict being dependent upon said interelement distance; counting means for counting a period of time elapsed after access for the vector data is started and outputting a counted value; a subtracter, receiving said counted value and said calculated value, and outputting a difference between said counted value and said calculated value; and accumulating means, receiving said difference, for adding said difference to a value stored in said accumulating means in synchronism with an end of the access for the vector data.
-
Specification