OpenASIP  2.0
Public Member Functions | List of all members
SimulationStatisticsCalculator Class Referenceabstract

#include <SimulationStatisticsCalculator.hh>

Inheritance diagram for SimulationStatisticsCalculator:
Inheritance graph
Collaboration diagram for SimulationStatisticsCalculator:
Collaboration graph

Public Member Functions

virtual void calculateForInstruction (const TTAProgram::Instruction &instructionData, const ExecutableInstruction &executionCounts)=0
 
 SimulationStatisticsCalculator ()
 
virtual ~SimulationStatisticsCalculator ()
 

Detailed Description

An interface for simulation statistics calculators.

SimulationStatistics calls the calculate method with each instruction in the simulated program. Later on, different types of simulation data can be fed by using different methods.

Definition at line 49 of file SimulationStatisticsCalculator.hh.

Constructor & Destructor Documentation

◆ SimulationStatisticsCalculator()

SimulationStatisticsCalculator::SimulationStatisticsCalculator ( )

Constructor.

Does nothing.

Definition at line 39 of file SimulationStatisticsCalculator.cc.

39  {
40 }

◆ ~SimulationStatisticsCalculator()

SimulationStatisticsCalculator::~SimulationStatisticsCalculator ( )
virtual

Destructor.

Does nothing.

Definition at line 47 of file SimulationStatisticsCalculator.cc.

47  {
48 }

Member Function Documentation

◆ calculateForInstruction()

virtual void SimulationStatisticsCalculator::calculateForInstruction ( const TTAProgram::Instruction instructionData,
const ExecutableInstruction executionCounts 
)
pure virtual

Implemented in UtilizationStats.


The documentation for this class was generated from the following files: