Class Cache_erecKt

  • All Implemented Interfaces:

    
    public final class Cache_erecKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.