28 #ifndef ONLY_LOCAL_PROXY
31 #ifndef __CA_DATABASE__
32 #define __CA_DATABASE__
47 #define SECONDS_PER_INTERVALL 30
48 #define FUTURE_TOLERANCE 5
THREAD_RETURN db_loopMaintenance(void *param)
struct _t_database_info t_databaseInfo
struct _t_database_entry t_databaseEntry
SINT32 deleteDB(t_databaseInfo *&pDB)
Deletes the whole database pDB.
t_databaseInfo * m_prevDatabase
t_databaseInfo * createDBInfo()
Creates and initialises a dbinfo struct.
friend THREAD_RETURN db_loopMaintenance(void *param)
t_databaseInfo * m_currDatabase
SINT32 clearDB(t_databaseInfo *pDB)
clears the whole database pDB - but does not delete the hashtable pDB
static SINT32 measurePerformance(UINT8 *strLogFile, UINT32 lowerBoundEntries, UINT32 upperBoundEntries, UINT32 stepBy, UINT32 meassuresPerStep, UINT32 insertsPerMeasure)
This mehtod can be used to measure the performance of the Replay database.
SINT32 simulateInsert(UINT8 key[16])
This is a modified copy of insert() which simulates the insert() function as close as possible withou...
t_databaseInfo * m_nextDatabase
SINT32 insert(UINT8 key[16], UINT64 timestamp)
Inserts this key in the replay DB.
volatile SINT32 m_currentClock
SINT32 fill(UINT32 nrOfEntries)
Pre fills the database with nrOfEntries random entries.
t_databaseEntry * m_pHashTable[0x100][0x100]