L1-L2 traffic log in Sniper

68 views
Skip to first unread message

Madhur Kumar

unread,
Mar 19, 2022, 1:04:50 AM3/19/22
to Sniper simulator
Hi! I am trying to dump memory traffic in Sniper. I am logging the memory_manager.cc file to dump sendMsg() and handleMessageFromNetwork() functions. However, I noticed that only L2-DDR traffic is being dumped. On further investigation, I found that handleMsgFromL2Cache is being used to handle L2 messages. But I can not find any function that handles L1 messages. Can someone help me in dumping L1-L2 traffic as well?

Thanks.
Madhur.

Pravesh Jamgade

unread,
Mar 19, 2022, 6:53:34 AM3/19/22
to Sniper simulator
From memory_manager.cc every other object is being initalized(tlb, cache_ctrl for all levels,  Dram-cache, Dram-cntrl). Access to memory hierarchy follows coreIntiateMemoryAccess()->processMemFromCore(). 
processMemFromCore is being called recusively for next level of cache_cntrl and the the end for dram. so upon miss to l1 cache_controller it goes for next l2 cache_cntrl with same recursive function.
i too went too into hadleMessageFromNetwork but felt too complicated for me. 

Reply all
Reply to author
Forward
0 new messages