Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 92f2ec6f authored by Valentin Touzeau's avatar Valentin Touzeau
Browse files

Refactoring

parent c76bc86b
......@@ -4,7 +4,7 @@
#include <otawa/icat3/features.h>
#include <otawa/icache/features.h>
#include <lrupreanalysis/features.h>
#include <lruexact/features.h>
using namespace otawa;
......@@ -53,11 +53,11 @@ protected:
ASSERT((hCat != HitCategory::AH || mCat != MissCategory::AM) && "Access cannot be AH and AM");
if(hCat == HitCategory::AH)
lrupreanalysis::EXACT_CATEGORY(access) = lrupreanalysis::ExactCategory::AH;
lruexact::EXACT_CATEGORY(access) = lruexact::ExactCategory::AH;
else if(mCat == MissCategory::AM)
lrupreanalysis::EXACT_CATEGORY(access) = lrupreanalysis::ExactCategory::AM;
lruexact::EXACT_CATEGORY(access) = lruexact::ExactCategory::AM;
else
lrupreanalysis::EXACT_CATEGORY(access) = lrupreanalysis::ExactCategory::DU;
lruexact::EXACT_CATEGORY(access) = lruexact::ExactCategory::DU;
}
};
......@@ -65,7 +65,7 @@ p::declare ClassificationBuilder::reg = p::init("lruzdd::ClassificationBuilder",
.require(icache::ACCESSES_FEATURE)
.require(EXACT_MAY_ANALYSIS_FEATURE)
.require(EXACT_MUST_ANALYSIS_FEATURE)
.provide(lrupreanalysis::LRU_CLASSIFICATION_FEATURE)
.provide(lruexact::LRU_CLASSIFICATION_FEATURE)
.make<ClassificationBuilder>();
} // namespace lruzdd
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment