Transaction-Level Modeling Framework for Space Applications
#include <profInfo.hpp>
Public Member Functions | |
std::string | printCsv () |
dump these information to a string, in the command separated values (CVS) format More... | |
ProfInstruction () | |
Empty constructor, performs the initialization of the statistics. More... | |
Static Public Member Functions | |
static std::string | printCsvHeader () |
Prints the description of the informations which describe an instruction, in the command separated values (CVS) format. More... | |
static std::string | printCsvSummary () |
Prints the summary of all the executed instructions, in the command separated values (CVS) format. More... | |
Public Attributes | |
std::string | name |
Name of the assembly instruction (MOV, ADD ...) More... | |
unsigned long long | numCalls |
Number of times this instruction is called. More... | |
sc_time | time |
Total time spent in executing the instruction. More... | |
Static Public Attributes | |
static unsigned long long | numTotalCalls = 0 |
Total number of instructions executed. More... | |
Represents all the profiling data which can be associated with a single assembly instruction
trap::ProfInstruction::ProfInstruction | ( | ) |
Empty constructor, performs the initialization of the statistics.
References usi.systemc::time().
std::string trap::ProfInstruction::printCsv | ( | ) |
dump these information to a string, in the command separated values (CVS) format
References name, numCalls, numTotalCalls, and time.
|
static |
Prints the description of the informations which describe an instruction, in the command separated values (CVS) format.
Referenced by trap::Profiler< issueWidth >::printCsvStats().
|
static |
Prints the summary of all the executed instructions, in the command separated values (CVS) format.
References numTotalCalls.
Referenced by trap::Profiler< issueWidth >::printCsvStats().
std::string trap::ProfInstruction::name |
Name of the assembly instruction (MOV, ADD ...)
Referenced by usi.SCCallback::call(), core.tools.generator.item.item.Item::data(), core.tools.generator.item.item.Item::getName(), core.tools.generator.item.enum.IntegerItem::load(), printCsv(), usi.SCCallback::register(), usi.SCCommand::register(), and core.tools.generator.item.item.Item::setName().
unsigned long long trap::ProfInstruction::numCalls |
Number of times this instruction is called.
Referenced by printCsv().
|
static |
Total number of instructions executed.
Referenced by printCsv(), and printCsvSummary().
sc_time trap::ProfInstruction::time |
Total time spent in executing the instruction.
Referenced by printCsv().