Home
last modified time | relevance | path

Searched refs:m_mru (Results 1 – 2 of 2) sorted by relevance

/external/OpenCSD/decoder/source/mem_acc/
Dtrc_mem_acc_cache.cpp78 … memcpy(byteBuffer, &m_mru[m_mru_idx].data[address - m_mru[m_mru_idx].st_addr], reqBytes); in readBytesFromCache()
94m_mru[m_mru_idx].valid_len = p_accessor->readBytes(address, mem_space, trcID, MEM_ACC_CACHE_PAGE_S… in readBytesFromCache()
97 if (m_mru[m_mru_idx].valid_len > MEM_ACC_CACHE_PAGE_SIZE) in readBytesFromCache()
99 m_mru[m_mru_idx].valid_len = 0; // set to nothing returned. in readBytesFromCache()
103 if (m_mru[m_mru_idx].valid_len > 0) in readBytesFromCache()
106 m_mru[m_mru_idx].st_addr = address; in readBytesFromCache()
113 …ru_idx << "[addr:0x" << std::hex << address << ", bytes: " << std::dec << m_mru[m_mru_idx].valid_l… in readBytesFromCache()
126 … memcpy(byteBuffer, &m_mru[m_mru_idx].data[address - m_mru[m_mru_idx].st_addr], reqBytes); in readBytesFromCache()
133 …ru_idx << "[addr:0x" << std::hex << address << ", bytes: " << std::dec << m_mru[m_mru_idx].valid_l… in readBytesFromCache()
/external/OpenCSD/decoder/include/mem_acc/
Dtrc_mem_acc_cache.h84 cache_block_t m_mru[MEM_ACC_CACHE_MRU_SIZE]; variable
104 m_mru[i].st_addr = 0; in TrcMemAccCache()
105 m_mru[i].valid_len = 0; in TrcMemAccCache()
115 if ((m_mru[m_mru_idx].st_addr <= address) && in blockInPage()
116 m_mru[m_mru_idx].st_addr + m_mru[m_mru_idx].valid_len >= (address + reqBytes)) in blockInPage()
140 m_mru[i].valid_len = 0; in invalidateAll()
141 m_mru[i].st_addr = 0; in invalidateAll()