OpenASIP  2.0
Variables
DSDBManager.cc File Reference
#include <boost/format.hpp>
#include <boost/tuple/tuple_comparison.hpp>
#include <utility>
#include "DSDBManager.hh"
#include "SQLite.hh"
#include "RelationalDBConnection.hh"
#include "RelationalDBQueryResult.hh"
#include "ADFSerializer.hh"
#include "IDFSerializer.hh"
#include "Conversion.hh"
#include "Machine.hh"
#include "MachineImplementation.hh"
#include "DataObject.hh"
#include "FileSystem.hh"
#include "MachineConnectivityCheck.hh"
#include "ObjectState.hh"
Include dependency graph for DSDBManager.cc:

Go to the source code of this file.

Variables

const string CREATE_ARCH_TABLE
 
const string CREATE_IMPL_TABLE
 
const string CREATE_MACHINE_CFG_TABLE
 
const string CREATE_APPLICATION_TABLE
 
const string CREATE_CYCLE_COUNT_TABLE
 
const string CREATE_ENERGY_ESTIMATE_TABLE
 

Detailed Description

Implementation of DSDBManager class.

Author
Veli-Pekka Jääskeläinen 2006 (vjaaskel-no.spam-cs.tut.fi)
Pekka Jääskeläinen 2011
Note
rating: red

Definition in file DSDBManager.cc.

Variable Documentation

◆ CREATE_APPLICATION_TABLE

const string CREATE_APPLICATION_TABLE
Initial value:
=
"CREATE TABLE application ("
" id INTEGER PRIMARY KEY,"
" path varchar)"

Definition at line 79 of file DSDBManager.cc.

Referenced by DSDBManager::createNew().

◆ CREATE_ARCH_TABLE

const string CREATE_ARCH_TABLE
Initial value:
=
"CREATE TABLE architecture ("
" id INTEGER PRIMARY KEY,"
" connection_count INTEGER DEFAULT NULL, "
" adf_hash VARCHAR,"
" adf_xml VARCHAR)"

Definition at line 59 of file DSDBManager.cc.

Referenced by DSDBManager::createNew().

◆ CREATE_CYCLE_COUNT_TABLE

const string CREATE_CYCLE_COUNT_TABLE
Initial value:
=
"CREATE TABLE cycle_count ("
" architecture REFERENCES architecture(id) NOT NULL,"
" application REFERENCES application(id) NOT NULL,"
" unschedulable BOOL DEFAULT 0,"
" cycles BIGINT DEFAULT NULL)"

Definition at line 84 of file DSDBManager.cc.

Referenced by DSDBManager::createNew().

◆ CREATE_ENERGY_ESTIMATE_TABLE

const string CREATE_ENERGY_ESTIMATE_TABLE
Initial value:
=
"CREATE TABLE energy_estimate ("
" implementation REFERENCES implementation(id) NOT NULL,"
" application REFERENCES application(id) NOT NULL,"
" energy_estimate DOUBLE NOT NULL)"

Definition at line 93 of file DSDBManager.cc.

Referenced by DSDBManager::createNew().

◆ CREATE_IMPL_TABLE

const string CREATE_IMPL_TABLE
Initial value:
=
"CREATE TABLE implementation ("
" id INTEGER PRIMARY KEY,"
" idf_xml VARCHAR,"
" lpd DOUBLE,"
" area INTEGER)"

Definition at line 66 of file DSDBManager.cc.

Referenced by DSDBManager::createNew().

◆ CREATE_MACHINE_CFG_TABLE

const string CREATE_MACHINE_CFG_TABLE
Initial value:
=
"CREATE TABLE machine_configuration ("
" id INTEGER PRIMARY KEY,"
" architecture REFERENCES architecture(id) NOT NULL,"
" implementation REFERENCES implementation(id))"

Definition at line 73 of file DSDBManager.cc.

Referenced by DSDBManager::createNew().