Hello
While trying to generate a trace file from Sniper in order to feed it to NVMain, we modified the sniper source code slightly(in the file dram_cntrl.cc) to back-calculate the number of cycles from time elapsed. Here is the code we used:
double second = now.getFS() / pow(10, 15);
double cycle = second * pow(10, 9) * 2.6;
Here, cycle is the variable that should ideally give us the cycle count. However, when we compiled and ran sniper with parsec benchmark, we got a very high starting cycle count, approximately 340,000. What could be the reason for this?