1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-09 23:45:36 +00:00

Format edit

This commit is contained in:
James Richings 2021-11-09 21:56:23 +00:00
parent 12ef413065
commit 41a575ff9b

View File

@ -488,15 +488,12 @@ void MemoryManager::PrintState(void* _CpuPtr)
if ( AccCache.state==Consistent)str = std::string("Consistent");
if ( AccCache.state==EvictNext) str = std::string("EvictNext");
std::cout << GridLogMessage << "--------------------------------------------" << std::endl;
std::cout << GridLogMessage << "CpuAddr\t\tAccAddr\t\tState\t\tcpuLock\taccLock\tLRU_valid "<<std::endl;
std::cout << GridLogMessage << "--------------------------------------------" << std::endl;
std::cout << GridLogMessage << "0x"<<std::hex<<AccCache.CpuPtr<<std::dec
<< "\t0x"<<std::hex<<AccCache.AccPtr<<std::dec<<"\t" <<str
<< "\t" << AccCache.cpuLock
<< "\t" << AccCache.accLock
<< "\t" << AccCache.LRU_valid<<std::endl;
std::cout << GridLogMessage << "--------------------------------------------" << std::endl;
} else {
std::cout << GridLogMessage << "No Entry in AccCache table." << std::endl;