boegel / MICA

a Pin tool for collecting microarchitecture-independent workload characteristics
http://users.ugent.be/~kehoste/ELIS/MICA
Other
59 stars 34 forks source link

Are ILP 32 and ILP 64 correct? #23

Closed WilliamWangPeng closed 3 years ago

WilliamWangPeng commented 3 years ago

Hi dear authors,
I'm using MICA to test hello ELF, the ilp.out are as following here:

image

hello.cpp

include using namespace std; main() { cout << "Hello World"; return 0; }

where 578058 is ILP 32???
the source code in mica_ilp.cpp shows cpuClock_interval_all[0]= 578058.

so what is the correct value of ILP32?

thank you
best regards
William

amirjamez commented 3 years ago

It would be best to trace the source code and see which one outputs which metrics:

https://github.com/boegel/MICA/blob/master/mica_ilp.cpp

Check for lines with output_file_ilp_one .open() and change/rename them to your preferred name so that you can pinpoint them in the csv file. Remember to recompile the project first.