gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Measuring power using McPAT

SN
saras nanda
Wed, May 8, 2024 12:45 AM

Hi everyone ,

I am trying measure power of  my benchmark or code after running it on Gem5
using McPAT
So i have run a simple code in c++;

finding number of items in a list on gem5 and another code which is
multiple matrix multiplications (like a neural net ) in c++ on gem5 , i
obtained the statsfile,config.json,config.ini from both the runs and passed
them  to gem5toMcpat parser generated an xml file,i have used Xeon.xml file
as processor description file which is already given by McPat and then
passed the my output xml file to Mcpat

The strange thing is the overall power of the the codes remain same when
run on McPat , i don't understand why ?i have seen that the number of
simops ,caches hits and misses all are different in both the stats files
why can't i see the difference in the power when i run these codes

Can someone help me why or tell me why this is happening

Thank you in advance

Regards
Saras

Hi everyone , I am trying measure power of my benchmark or code after running it on Gem5 using McPAT So i have run a simple code in c++; finding number of items in a list on gem5 and another code which is multiple matrix multiplications (like a neural net ) in c++ on gem5 , i obtained the statsfile,config.json,config.ini from both the runs and passed them to gem5toMcpat parser generated an xml file,i have used Xeon.xml file as processor description file which is already given by McPat and then passed the my output xml file to Mcpat The strange thing is the overall power of the the codes remain same when run on McPat , i don't understand why ?i have seen that the number of simops ,caches hits and misses all are different in both the stats files why can't i see the difference in the power when i run these codes Can someone help me why or tell me why this is happening Thank you in advance Regards Saras