Interface BufferObserver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isHit​(ru.ispras.fortress.data.types.bitvector.BitVector address)
      Checks whether the given address causes a hit.
      ru.ispras.fortress.util.Pair<ru.ispras.fortress.data.types.bitvector.BitVector,​ru.ispras.fortress.data.types.bitvector.BitVector> seeEntry​(ru.ispras.fortress.data.types.bitvector.BitVector index, ru.ispras.fortress.data.types.bitvector.BitVector way)
      Returns data and associated address without changing the state.
    • Method Detail

      • isHit

        boolean isHit​(ru.ispras.fortress.data.types.bitvector.BitVector address)
        Checks whether the given address causes a hit.
        Parameters:
        address - Address to be checked.
        Returns:
        true if the address causes a hit; false otherwise.
      • seeEntry

        ru.ispras.fortress.util.Pair<ru.ispras.fortress.data.types.bitvector.BitVector,​ru.ispras.fortress.data.types.bitvector.BitVector> seeEntry​(ru.ispras.fortress.data.types.bitvector.BitVector index,
                                                                                                                                                         ru.ispras.fortress.data.types.bitvector.BitVector way)
        Returns data and associated address without changing the state.
        Parameters:
        index - Set index.
        way - Line index.
        Returns:
        Pair(Address, Data) or null if it is not found.