base.cc (11455:067177a1b578) base.cc (11483:d4c2e56d18b2)
1/*
2 * Copyright (c) 2012-2013 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 585 unchanged lines hidden (view full) ---

594
595 mshr_uncacheable_lat[access_idx]
596 .init(system->maxMasters())
597 .name(name() + "." + cstr + "_mshr_uncacheable_latency")
598 .desc("number of " + cstr + " MSHR uncacheable cycles")
599 .flags(total | nozero | nonan)
600 ;
601 for (int i = 0; i < system->maxMasters(); i++) {
1/*
2 * Copyright (c) 2012-2013 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 585 unchanged lines hidden (view full) ---

594
595 mshr_uncacheable_lat[access_idx]
596 .init(system->maxMasters())
597 .name(name() + "." + cstr + "_mshr_uncacheable_latency")
598 .desc("number of " + cstr + " MSHR uncacheable cycles")
599 .flags(total | nozero | nonan)
600 ;
601 for (int i = 0; i < system->maxMasters(); i++) {
602 mshr_uncacheable_lat[access_idx].subname(i, system->getMasterName(i));
602 mshr_uncacheable_lat[access_idx].subname(
603 i, system->getMasterName(i));
603 }
604 }
605
606 overallMshrUncacheableLatency
607 .name(name() + ".overall_mshr_uncacheable_latency")
608 .desc("number of overall MSHR uncacheable cycles")
609 .flags(total | nozero | nonan)
610 ;

--- 83 unchanged lines hidden (view full) ---

694 .name(name() + "." + cstr + "_avg_mshr_miss_latency")
695 .desc("average " + cstr + " mshr miss latency")
696 .flags(total | nozero | nonan)
697 ;
698 avgMshrMissLatency[access_idx] =
699 mshr_miss_latency[access_idx] / mshr_misses[access_idx];
700
701 for (int i = 0; i < system->maxMasters(); i++) {
604 }
605 }
606
607 overallMshrUncacheableLatency
608 .name(name() + ".overall_mshr_uncacheable_latency")
609 .desc("number of overall MSHR uncacheable cycles")
610 .flags(total | nozero | nonan)
611 ;

--- 83 unchanged lines hidden (view full) ---

695 .name(name() + "." + cstr + "_avg_mshr_miss_latency")
696 .desc("average " + cstr + " mshr miss latency")
697 .flags(total | nozero | nonan)
698 ;
699 avgMshrMissLatency[access_idx] =
700 mshr_miss_latency[access_idx] / mshr_misses[access_idx];
701
702 for (int i = 0; i < system->maxMasters(); i++) {
702 avgMshrMissLatency[access_idx].subname(i, system->getMasterName(i));
703 avgMshrMissLatency[access_idx].subname(
704 i, system->getMasterName(i));
703 }
704 }
705
706 demandAvgMshrMissLatency
707 .name(name() + ".demand_avg_mshr_miss_latency")
708 .desc("average overall mshr miss latency")
709 .flags(total | nozero | nonan)
710 ;

--- 21 unchanged lines hidden (view full) ---

732 .name(name() + "." + cstr + "_avg_mshr_uncacheable_latency")
733 .desc("average " + cstr + " mshr uncacheable latency")
734 .flags(total | nozero | nonan)
735 ;
736 avgMshrUncacheableLatency[access_idx] =
737 mshr_uncacheable_lat[access_idx] / mshr_uncacheable[access_idx];
738
739 for (int i = 0; i < system->maxMasters(); i++) {
705 }
706 }
707
708 demandAvgMshrMissLatency
709 .name(name() + ".demand_avg_mshr_miss_latency")
710 .desc("average overall mshr miss latency")
711 .flags(total | nozero | nonan)
712 ;

--- 21 unchanged lines hidden (view full) ---

734 .name(name() + "." + cstr + "_avg_mshr_uncacheable_latency")
735 .desc("average " + cstr + " mshr uncacheable latency")
736 .flags(total | nozero | nonan)
737 ;
738 avgMshrUncacheableLatency[access_idx] =
739 mshr_uncacheable_lat[access_idx] / mshr_uncacheable[access_idx];
740
741 for (int i = 0; i < system->maxMasters(); i++) {
740 avgMshrUncacheableLatency[access_idx].subname(i, system->getMasterName(i));
742 avgMshrUncacheableLatency[access_idx].subname(
743 i, system->getMasterName(i));
741 }
742 }
743
744 overallAvgMshrUncacheableLatency
745 .name(name() + ".overall_avg_mshr_uncacheable_latency")
746 .desc("average overall mshr uncacheable latency")
747 .flags(total | nozero | nonan)
748 ;
744 }
745 }
746
747 overallAvgMshrUncacheableLatency
748 .name(name() + ".overall_avg_mshr_uncacheable_latency")
749 .desc("average overall mshr uncacheable latency")
750 .flags(total | nozero | nonan)
751 ;
749 overallAvgMshrUncacheableLatency = overallMshrUncacheableLatency / overallMshrUncacheable;
752 overallAvgMshrUncacheableLatency =
753 overallMshrUncacheableLatency / overallMshrUncacheable;
750 for (int i = 0; i < system->maxMasters(); i++) {
751 overallAvgMshrUncacheableLatency.subname(i, system->getMasterName(i));
752 }
753
754}
754 for (int i = 0; i < system->maxMasters(); i++) {
755 overallAvgMshrUncacheableLatency.subname(i, system->getMasterName(i));
756 }
757
758}