Package jline.api.cache
Class Cache_erecKt
-
- All Implemented Interfaces:
public final class Cache_erecKt
-
-
Method Summary
Modifier and Type Method Description final static Matrix
cache_erec(Matrix gamma, Matrix m)
Computes the cache miss rate using an exact recursive method. final static Matrix
cache_erec_aux(Matrix gamma, Matrix m, Integer k)
Auxiliary method for computing the cache miss rate using an exact recursive method. -
-
Method Detail
-
cache_erec
final static Matrix cache_erec(Matrix gamma, Matrix m)
Computes the cache miss rate using an exact recursive method. This method serves as a wrapper that calls the auxiliary function to perform the actual computation.
- Parameters:
gamma
-Matrix representing the cache access factors.
m
-Matrix representing the cache capacity vector.
- Returns:
Matrix - A matrix containing the computed cache miss rates.
-
cache_erec_aux
final static Matrix cache_erec_aux(Matrix gamma, Matrix m, Integer k)
Auxiliary method for computing the cache miss rate using an exact recursive method. This method performs the core computation recursively, adjusting the size of the input matrix.
- Parameters:
gamma
-Matrix representing the cache access factors.
m
-Matrix representing the cache capacity vector.
k
-Integer representing the current number of rows in the recursive step.
- Returns:
Matrix - A matrix containing the computed cache miss rates.
-
-
-
-