Otawa  0.10
features.h
Go to the documentation of this file.
1 /*
2  * ETS module
3  *
4  * This file is part of OTAWA
5  * Copyright (c) 2005, IRIT UPS.
6  *
7  * OTAWA is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * OTAWA is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with OTAWA; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 #ifndef OTAWA_ETS_ETS_H
22 #define OTAWA_ETS_ETS_H
23 
24 #include <otawa/prop/Identifier.h>
26 
27 namespace otawa { namespace ets {
28 
29 // Classes
30 class AbstractCacheState;
31 
32 // features
33 extern SilentFeature ACS_FEATURE;
34 extern Identifier<AbstractCacheState *> ACS;
35 
36 extern SilentFeature CACHE_FIRST_MISS_FEATURE;
37 extern Identifier<int> FIRST_MISSES;
38 
39 extern SilentFeature CACHE_HIT_FEATURE;
40 extern Identifier<int> HITS;
41 
42 extern SilentFeature CACHE_MISS_FEATURE;
43 extern Identifier<int> MISSES;
44 
45 extern SilentFeature FLOWFACT_FEATURE;
46 extern Identifier<int> LOOP_COUNT;
47 
48 extern SilentFeature BLOCK_TIME_FEATURE;
49 extern SilentFeature WCET_FEATURE;
50 extern Identifier<int> WCET;
51 extern Identifier<int> CONFLICTS;
52 
53 } } // otawa::ets
54 
55 #endif // OTAWA_ETS_ETS_H
Identifier< int > MISSES
This identifier (int) is used for storing the number of miss accesses for each node.
SilentFeature WCET_FEATURE
Provide the WCET of a task using the ETS approach.
Identifier< int > HITS
This identifier (int) is used for storing the number of hit accesses for each node.
Identifier< int > FIRST_MISSES
This identifier (int) is used for storing the number of first miss accesses for each node...
Identifier< int > WCET
Identifier of annotation (int) used for storing the WCET value in the ETS of the computed function...
Identifier< int > CONFLICTS
This identifier (int) is used for storing the number of conflict accesses for each node...
SilentFeature CACHE_MISS_FEATURE
Provide the number of misses for a L1 instruction cache.
SilentFeature ACS_FEATURE
Compute the Abstract Cache State at entry of each AST for L1 instruction cache.
SilentFeature BLOCK_TIME_FEATURE
Provide WCET for each AST.
SilentFeature CACHE_HIT_FEATURE
Provided the computation of the number of hits for the L1 instruction cache.
SilentFeature CACHE_FIRST_MISS_FEATURE
Provide the computation of occurrences of first-misses of instruction cache.
Identifier< AbstractCacheState * > ACS
This identifier (AbstractCacheState *) is used for storing the abstract cache line for each node...
SilentFeature FLOWFACT_FEATURE
Provide flow facts in the AST.
Identifier< int > LOOP_COUNT
This identifier (int) is used for storing the number of iteration for each loop of the program...