summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/plat/mem/prdfMemTdRankList.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/diag/prdf/plat/mem/prdfMemTdRankList.H')
-rw-r--r--src/usr/diag/prdf/plat/mem/prdfMemTdRankList.H9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/usr/diag/prdf/plat/mem/prdfMemTdRankList.H b/src/usr/diag/prdf/plat/mem/prdfMemTdRankList.H
index af1185b62..ddc9b7390 100644
--- a/src/usr/diag/prdf/plat/mem/prdfMemTdRankList.H
+++ b/src/usr/diag/prdf/plat/mem/prdfMemTdRankList.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2016 */
+/* Contributors Listed Below - COPYRIGHT 2013,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -144,6 +144,13 @@ class TdRankList
return *next_it;
}
+ /**
+ * @brief Get the list of ranks.
+ * @return The vector of list entries.
+ */
+ const std::vector<TdRankListEntry> & getList() { return iv_list; }
+
+
private: // instance variables
std::vector<TdRankListEntry> iv_list; ///< The list of ranks.
OpenPOWER on IntegriCloud