Closed spolstra closed 4 months ago
Fixing the names in the floorplans and core templates makes the most sense here.
Investigate why this mismatch did not trigger any issues in hotspot. How did it manage to calculate the temperatures if the sub component names did not match the floorplan.
The matching of the component names in the power trace with the component names in the floorplan is case insensitive. flp.c
uses strcasecmp()
to check the names. Checked by running hotspot manually:
novo[74]:~/projects/HotSniper/benchmarks/backup [tsp]$ ../../hotspot/hotspot -c /home/spolstra/projects/HotSniper/hotspot/gainestown_4_core_l3_cache.hotspot_config -f /home/spolstra/projects/HotSniper/hotspot/gainestown_4_core_l3_cache.flp -sampling_intvl 0.001 -p /home/spolstra/projects/HotSniper/benchmarks/backup/InstantaneousPower.log -o /home/spolstra/projects/HotSniper/benchmarks/backup/InstantaneousTemperature.log
Changing the case did give an error, but changing the name itself triggered the error such as:
error: block C_0_jALU not found
Powertrace has
C_0_CALU
andC_0_IALU
while floorplan used theC_0_cALU
andC_0_iALU
. The same is true for the other cores.