mem-cache: Add missing includes in TreePLRU
authorDaniel <odanrc@yahoo.com.br>
Fri, 12 Oct 2018 20:36:13 +0000 (22:36 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Sat, 13 Oct 2018 13:31:02 +0000 (13:31 +0000)
Add missing includes to TreePLRU files.

Change-Id: Ia1e7b2aa91eec8a30b6dccf513cca37a3058b350
Reviewed-on: https://gem5-review.googlesource.com/c/13477
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>

src/mem/cache/replacement_policies/tree_plru_rp.cc
src/mem/cache/replacement_policies/tree_plru_rp.hh

index f5e07b2c3602d61d122c6fe2a245a245751476a2..59319a256a6e52dac11bed735806635b9b158c97 100644 (file)
 
 #include "mem/cache/replacement_policies/tree_plru_rp.hh"
 
-#include <memory>
+#include <cmath>
 
 #include "base/intmath.hh"
+#include "base/logging.hh"
 #include "params/TreePLRURP.hh"
 
 /**
index 1e81061a3deb57260f3812bb62fddfab7584b70d..14a5e8ba15259e66cd2f2e79798ca7808316a33b 100644 (file)
 #ifndef __MEM_CACHE_REPLACEMENT_POLICIES_TREE_PLRU_RP_HH__
 #define __MEM_CACHE_REPLACEMENT_POLICIES_TREE_PLRU_RP_HH__
 
+#include <cstdint>
+#include <memory>
+#include <vector>
+
 #include "mem/cache/replacement_policies/base.hh"
 
 struct TreePLRURPParams;