OpenASIP  2.0
Variables
ExecutionTrace.cc File Reference
#include <string>
#include "boost/format.hpp"
#include "Application.hh"
#include "ExecutionTrace.hh"
#include "Conversion.hh"
#include "InstructionExecution.hh"
#include "FileSystem.hh"
#include "SQLite.hh"
#include "SimValue.hh"
#include "RelationalDBQueryResult.hh"
#include "DataObject.hh"
Include dependency graph for ExecutionTrace.cc:

Go to the source code of this file.

Variables

const std::string CQ_DATABASE_INFO
 database table creation queries (CQ) More...
 
const std::string CQ_INSTRUCTION_EXECUTION
 
const std::string CQ_PROCEDURE_ADDRESS_RANGE
 
const std::string CQ_BUS_ACTIVITY
 
const std::string CQ_CONCURRENT_REGISTER_FILE_ACCESS
 
const std::string CQ_REGISTER_ACCESS
 
const std::string CQ_FU_OPERATION_TRIGGERS
 
const std::string CQ_BUS_WRITE_COUNTS
 
const std::string CQ_SOCKET_WRITE_COUNTS
 
const std::string CQ_TOTALS
 
const int DB_VERSION = 1
 the version number of the database schema More...
 

Detailed Description

Definition of ExecutionTrace class.

Author
Pekka Jääskeläinen 2004, 2009 (pjaaskel-no.spam-cs.tut.fi)
Note
rating: red

Definition in file ExecutionTrace.cc.

Variable Documentation

◆ CQ_BUS_ACTIVITY

const std::string CQ_BUS_ACTIVITY
Initial value:
=
"CREATE TABLE bus_activity ("
" cycle INTEGER NOT NULL,"
" bus TEXT NOT NULL,"
" segment TEXT NOT NULL,"
" squash BOOLEAN DEFAULT false,"
" data_as_int INTEGER,"
" data_as_double REAL);"

Definition at line 64 of file ExecutionTrace.cc.

Referenced by ExecutionTrace::initialize().

◆ CQ_BUS_WRITE_COUNTS

const std::string CQ_BUS_WRITE_COUNTS
Initial value:
=
"CREATE TABLE bus_write_counts ("
" bus TEXT NOT NULL,"
" writes INTEGER NOT NULL);"

Definition at line 93 of file ExecutionTrace.cc.

Referenced by ExecutionTrace::initialize().

◆ CQ_CONCURRENT_REGISTER_FILE_ACCESS

const std::string CQ_CONCURRENT_REGISTER_FILE_ACCESS
Initial value:
=
"CREATE TABLE concurrent_register_file_access ("
" register_file TEXT NOT NULL,"
" reads INTEGER NOT NULL,"
" writes INTEGER NOT NULL,"
" count INTEGER NOT NULL);"

Definition at line 73 of file ExecutionTrace.cc.

Referenced by ExecutionTrace::initialize().

◆ CQ_DATABASE_INFO

const std::string CQ_DATABASE_INFO
Initial value:
=
"CREATE TABLE database_info ("
" version INTEGER PRIMARY KEY,"
" tpef_filename TEXT);"

database table creation queries (CQ)

Definition at line 48 of file ExecutionTrace.cc.

Referenced by ExecutionTrace::initialize().

◆ CQ_FU_OPERATION_TRIGGERS

const std::string CQ_FU_OPERATION_TRIGGERS
Initial value:
=
"CREATE TABLE fu_operation_triggers ("
" function_unit TEXT NOT NULL,"
" operation TEXT NOT NULL,"
" count INTEGER NOT NULL);"

Definition at line 87 of file ExecutionTrace.cc.

Referenced by ExecutionTrace::initialize().

◆ CQ_INSTRUCTION_EXECUTION

const std::string CQ_INSTRUCTION_EXECUTION
Initial value:
=
"CREATE TABLE instruction_execution ("
" cycle INTEGER PRIMARY KEY,"
" address INTEGER NOT NULL);"

Definition at line 53 of file ExecutionTrace.cc.

Referenced by ExecutionTrace::initialize().

◆ CQ_PROCEDURE_ADDRESS_RANGE

const std::string CQ_PROCEDURE_ADDRESS_RANGE
Initial value:
=
"CREATE TABLE procedure_address_range ("
" first_address INTEGER UNIQUE, "
" last_address INTEGER UNIQUE, "
" procedure_name TEXT NOT NULL);"

Definition at line 58 of file ExecutionTrace.cc.

Referenced by ExecutionTrace::initialize().

◆ CQ_REGISTER_ACCESS

const std::string CQ_REGISTER_ACCESS
Initial value:
=
"CREATE TABLE register_access ("
" register_file TEXT NOT NULL,"
" register_index INTEGER NOT NULL,"
" reads INTEGER NOT NULL,"
" writes INTEGER NOT NULL);"

Definition at line 80 of file ExecutionTrace.cc.

Referenced by ExecutionTrace::initialize().

◆ CQ_SOCKET_WRITE_COUNTS

const std::string CQ_SOCKET_WRITE_COUNTS
Initial value:
=
"CREATE TABLE socket_write_counts ("
" socket TEXT NOT NULL,"
" writes INTEGER NOT NULL);"

Definition at line 98 of file ExecutionTrace.cc.

Referenced by ExecutionTrace::initialize().

◆ CQ_TOTALS

const std::string CQ_TOTALS
Initial value:
=
"CREATE TABLE totals ("
" value_name TEXT NOT NULL,"
" integer_value INTEGER);"

Definition at line 103 of file ExecutionTrace.cc.

Referenced by ExecutionTrace::initialize().

◆ DB_VERSION

const int DB_VERSION = 1

the version number of the database schema

Definition at line 109 of file ExecutionTrace.cc.

Referenced by ExecutionTrace::initialize().