coherent_xbar.cc (10888:85a001f2193b) coherent_xbar.cc (10912:b99a6662d7c2)
1/*
2 * Copyright (c) 2011-2015 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

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

829
830 // if we get a response we are done
831 if (pkt->isResponse()) {
832 break;
833 }
834 }
835}
836
1/*
2 * Copyright (c) 2011-2015 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

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

829
830 // if we get a response we are done
831 if (pkt->isResponse()) {
832 break;
833 }
834 }
835}
836
837unsigned int
838CoherentXBar::drain(DrainManager *dm)
839{
840 // sum up the individual layers
841 unsigned int total = 0;
842 for (auto l: reqLayers)
843 total += l->drain(dm);
844 for (auto l: respLayers)
845 total += l->drain(dm);
846 for (auto l: snoopLayers)
847 total += l->drain(dm);
848 return total;
849}
850
851void
852CoherentXBar::regStats()
853{
854 // register the stats of the base class and our layers
855 BaseXBar::regStats();
856 for (auto l: reqLayers)
857 l->regStats();
858 for (auto l: respLayers)

--- 21 unchanged lines hidden ---
837void
838CoherentXBar::regStats()
839{
840 // register the stats of the base class and our layers
841 BaseXBar::regStats();
842 for (auto l: reqLayers)
843 l->regStats();
844 for (auto l: respLayers)

--- 21 unchanged lines hidden ---