I have a PINtool tracing all memory accesses of a program and i use DRAMSim2 to simulate them.
When the PINtool calls the DRAMSim2 to simulate i have the following warning that slows down very much the simulation, because it is printed in the terminal.
WARNING: address 0x7ffda17e68f8 is not aligned to the request size of 32
i found that the code print that warning is in AddressMapping.cpp and is the following:
if ((physicalAddress & transactionMask) != 0)
{
DEBUG("WARNING: address 0x"<<std::hex<<physicalAddress<<std::dec<<" is not aligned to the request size of "<<transactionSize);
}
In the makefile i found that:
OPTFLAGS=-O3
ifdef DEBUG
ifeq ($(DEBUG), 1)
OPTFLAGS= -O0 -g
endif
endif
CXXFLAGS+=$(OPTFLAGS)
but i dont know how to handle them. (i tried to put on comment the DEBUG command in .cpp file but nothing)
1)how can i suppress this?
2)i believe that is not a wrong to me but how can i resolve it?
Aucun commentaire:
Enregistrer un commentaire