Otawa  0.10
WCETComputation.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  * WCETComputation class interface
4  *
5  * This file is part of OTAWA
6  * Copyright (c) 2005-08, IRIT UPS.
7  *
8  * OTAWA is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * OTAWA is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with OTAWA; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21  */
22 #ifndef OTAWA_IPET_WCET_COMPUTATION_H
23 #define OTAWA_IPET_WCET_COMPUTATION_H
24 
26 #include <otawa/ipet/features.h>
27 
28 namespace otawa { namespace ipet {
29 
30 // WCETComputation class
31 class WCETComputation: public Processor {
32 public:
33  WCETComputation(void);
34  static p::declare reg;
35 
36 protected:
37  virtual void processWorkSpace(WorkSpace *fw);
38  virtual void collectStats(WorkSpace *ws);
39 
40 private:
42 };
43 
44 } } // otawa::ipet
45 
46 #endif // OTAWA_IPET_WCET_COMPUTATION_H
ilp::System * system
Definition: WCETComputation.h:41
Class to declare simple a processor.
Definition: Registration.h:213
WorkSpace * ws
Definition: Processor.h:185
static p::declare reg
Definition: WCETComputation.h:34
WCETComputation(void)
Build a new WCET computer.
Definition: ipet_WCETComputation.cpp:107
The processor class is implemented by all code processor.
Definition: Processor.h:49
virtual void collectStats(WorkSpace *ws)
This method is invoked if the user has required to collect statistics about the processor.
Definition: ipet_WCETComputation.cpp:140
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
An ILP system is a colletion of ILP constraint that may maximize or minimize some object function...
Definition: System.h:42
virtual void processWorkSpace(WorkSpace *fw)
Process the given framework.
Definition: ipet_WCETComputation.cpp:113
This class is used for computing the WCET from the system found in the root CFG.
Definition: WCETComputation.h:31