Getting Actual Data Values

49 views
Skip to first unread message

Aishwarya Dash

unread,
Feb 25, 2025, 9:55:09 AMFeb 25
to Sniper simulator
Can someone please help me out on how to get actual data values that are being read or written to memory addresses in Sniper ?

Abhishek kumar

unread,
Feb 26, 2025, 5:02:08 AMFeb 26
to Sniper simulator
Do you want to get this for specific hardware architechture that you have simulated on sniper or you are doing it in real hardware on which your code is running? if it is real hardware then you can use linux tools or pin tools etc. That is easier if your job is just to collect the data of memory accesses.

if you want to do it for your custom hardwares, then I think sniper  common/ folder files need to be looked into

Aishwarya Dash

unread,
Feb 26, 2025, 8:10:26 AMFeb 26
to Sniper simulator
I wish to get traces for specific hardware architecture that I am simulating on Sniper. 

How to get the pin traces that Sniper is internally generating for calculating different stats for sim.out ? 
And what changes we need to make in order to get actual data values in those traces ?

Abhishek kumar

unread,
Feb 26, 2025, 10:58:45 AMFeb 26
to Sniper simulator
If you want data for the some specific architechture , which you are simulating on SniperSim, then pintool would not help, then you need to chnage the sniper files itself. btw why are you interested in getting the data? should not you be interested in the addresses insteads of the data on the addresses, if you want address traces for your particular architechure check this common/core/memory_subsystem/pr_l1_pr_l2_dram_directory_msi/  directory . this is where you can make chnages to get those tarces written to some files , but here address traces you can get , actual data on those addresses I am not sure. you need to check the files. 
Reply all
Reply to author
Forward
0 new messages