OpenASIP
2.0
src
applibs
mach
MachineAnalysis.hh
Go to the documentation of this file.
1
/*
2
Copyright (c) 2002-2009 Tampere University.
3
4
This file is part of TTA-Based Codesign Environment (TCE).
5
6
Permission is hereby granted, free of charge, to any person obtaining a
7
copy of this software and associated documentation files (the "Software"),
8
to deal in the Software without restriction, including without limitation
9
the rights to use, copy, modify, merge, publish, distribute, sublicense,
10
and/or sell copies of the Software, and to permit persons to whom the
11
Software is furnished to do so, subject to the following conditions:
12
13
The above copyright notice and this permission notice shall be included in
14
all copies or substantial portions of the Software.
15
16
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22
DEALINGS IN THE SOFTWARE.
23
*/
24
/**
25
* @file MachineAnalysis.hh
26
*
27
* Declaration of MachineAnalysis class.
28
*
29
* @author Heikki Kultala 2008 (heikki.kultala-no.spam-tut.fi)
30
* @note rating: red
31
*/
32
33
#ifndef MACHINE_ANALYSIS_HH
34
#define MACHINE_ANALYSIS_HH
35
36
namespace
TTAMachine
{
37
class
Machine;
38
}
39
40
class
MachineAnalysis
{
41
public
:
42
MachineAnalysis
(
const
TTAMachine::Machine
&
machine
);
43
44
float
connectivity
()
const
{
return
connectivity_
; }
45
float
bypassability
()
const
{
return
bypassability_
; }
46
float
averageILP
()
const
{
return
averageILP_
; }
47
48
float
busILP
()
const
{
return
busILP_
; }
49
float
fuILP
()
const
{
return
fuILP_
; }
50
float
rfILP
()
const
{
return
rfILP_
; }
51
float
bypassedRfILP
()
const
{
return
bypassedRfILP_
; }
52
float
guardability
()
const
{
return
guardability_
; }
53
private
:
54
float
connectivity_
;
55
float
busILP_
;
56
float
fuILP_
;
57
float
rfILP_
;
58
float
bypassedRfILP_
;
59
float
bypassability_
;
60
float
guardability_
;
61
62
float
averageILP_
;
63
};
64
#endif
MachineAnalysis::bypassability
float bypassability() const
Definition:
MachineAnalysis.hh:45
MachineAnalysis::averageILP
float averageILP() const
Definition:
MachineAnalysis.hh:46
MachineAnalysis::busILP
float busILP() const
Definition:
MachineAnalysis.hh:48
machine
TTAMachine::Machine * machine
the architecture definition of the estimated processor
Definition:
EstimatorCmdLineUI.cc:59
MachineAnalysis::fuILP_
float fuILP_
Definition:
MachineAnalysis.hh:56
MachineAnalysis::rfILP
float rfILP() const
Definition:
MachineAnalysis.hh:50
MachineAnalysis
Definition:
MachineAnalysis.hh:40
MachineAnalysis::fuILP
float fuILP() const
Definition:
MachineAnalysis.hh:49
MachineAnalysis::MachineAnalysis
MachineAnalysis(const TTAMachine::Machine &machine)
Definition:
MachineAnalysis.cc:46
MachineAnalysis::guardability
float guardability() const
Definition:
MachineAnalysis.hh:52
MachineAnalysis::bypassedRfILP_
float bypassedRfILP_
Definition:
MachineAnalysis.hh:58
MachineAnalysis::rfILP_
float rfILP_
Definition:
MachineAnalysis.hh:57
MachineAnalysis::averageILP_
float averageILP_
Definition:
MachineAnalysis.hh:62
MachineAnalysis::connectivity_
float connectivity_
Definition:
MachineAnalysis.hh:54
MachineAnalysis::guardability_
float guardability_
Definition:
MachineAnalysis.hh:60
MachineAnalysis::busILP_
float busILP_
Definition:
MachineAnalysis.hh:55
MachineAnalysis::connectivity
float connectivity() const
Definition:
MachineAnalysis.hh:44
TTAMachine
Definition:
Assembler.hh:48
MachineAnalysis::bypassability_
float bypassability_
Definition:
MachineAnalysis.hh:59
MachineAnalysis::bypassedRfILP
float bypassedRfILP() const
Definition:
MachineAnalysis.hh:51
TTAMachine::Machine
Definition:
Machine.hh:73
Generated by
1.8.17