Otawa  0.10
CFGCheckSummer.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  * CFGCheckSummer processor interface
4  *
5  * This file is part of OTAWA
6  * Copyright (c) 2009, 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_CFG_CHECKSUMMER_H_
23 #define OTAWA_CFG_CHECKSUMMER_H_
24 
25 #include <otawa/cfg/features.h>
27 
28 namespace otawa {
29 
30 // CFGCheckSummer class
32 public:
33  CFGCheckSummer(void);
34 protected:
35  virtual void processCFG(WorkSpace *ws, CFG *cfg);
36 };
37 
38 } // otawa
39 
40 #endif /*OTAWA_CFG_CHECKSUMMER_H_ */
CFG * cfg(void) const
Get the current CFG.
Definition: CFGProcessor.h:56
WorkSpace * ws
Definition: Processor.h:185
Control Flow Graph representation.
Definition: CFG.h:42
CFGCheckSummer(void)
Build a new check summer.
Definition: cfg_CFGCheckSummer.cpp:53
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
This is a specialization of the processor class dedicated to CFG processing.
Definition: CFGProcessor.h:35
Add to each involved CFG a checksum build on the instruction of the CFG.
Definition: CFGCheckSummer.h:31
virtual void processCFG(WorkSpace *ws, CFG *cfg)
Definition: cfg_CFGCheckSummer.cpp:60