21 #ifndef OTAWA_ETS_ABSTRACTCACHESTATE_H
22 #define OTAWA_ETS_ABSTRACTCACHESTATE_H
24 #include <elm/util/BitVector.h>
25 #include <elm/genstruct/HashTable.h>
26 #include <elm/genstruct/Vector.h>
32 namespace otawa {
namespace ets {
63 htable.putAll(acs->
htable);
64 hcat.putAll(acs->
hcat);
68 inline AbstractCacheState::AbstractCacheState(
int which_line) {
69 cache_line = which_line;
72 inline AbstractCacheState::~AbstractCacheState(
void) {
73 for(
int i=0;i<cache_state.length();i++)
74 delete cache_state[i];
82 #endif // OTAWA_ETS_ABSTRACTCACHESTATE_H
genstruct::HashTable< address_t, int > htable
Definition: AbstractCacheState.h:38
Definition: categories.h:39
This class is used to represent an abstract cache line state.
Definition: AbstractCacheState.h:35
Definition: categories.h:41
genstruct::Vector< BitVector * > cache_state
Represent the cache state (table of set) with all l-blocks being in this line.
Definition: AbstractCacheState.h:37
categorisation_t
Definition: AbstractCacheState.h:40
genstruct::HashTable< address_t, int > hcat
Definition: AbstractCacheState.h:47
categorisation_t categorisation
Categorisation (a_h, a_m, f_m, c) according to F.
Definition: AbstractCacheState.h:46
int cache_line
It is the number of the cache line.
Definition: AbstractCacheState.h:39
Definition: categories.h:42