@@ -427,6 +427,10 @@ class JSONPrinter : Visitor
427
427
PCM* pcm = PCM::getInstance ();
428
428
printCounter ( " DRAM Writes" , getBytesWrittenToMC ( before, after ) );
429
429
printCounter ( " DRAM Reads" , getBytesReadFromMC ( before, after ) );
430
+
431
+ if (pcm->localMemoryRequestRatioMetricAvailable ())
432
+ printCounter ( " DRAM Local Percentage" , getLocalMemoryRequestRatio ( before, after ) );
433
+
430
434
if (pcm->nearMemoryMetricsAvailable ()){
431
435
printCounter ( " NM HitRate" , getNMHitRate ( before, after ) );
432
436
printCounter ( " NM Hits" , getNMHits ( before, after ) );
@@ -715,6 +719,10 @@ class PrometheusPrinter : Visitor
715
719
addToHierarchy ( " source=\" uncore\" " );
716
720
printCounter ( " DRAM Writes" , getBytesWrittenToMC ( before, after ) );
717
721
printCounter ( " DRAM Reads" , getBytesReadFromMC ( before, after ) );
722
+
723
+ if (pcm->localMemoryRequestRatioMetricAvailable ())
724
+ printCounter ( " DRAM Local Percentage" , getLocalMemoryRequestRatio ( before, after ) );
725
+
718
726
if (pcm->nearMemoryMetricsAvailable ()){
719
727
printCounter ( " NM Hits" , getNMHits ( before, after ) );
720
728
printCounter ( " NM Misses" , getNMMisses ( before, after ) );
0 commit comments