5#ifndef SLOT_OUTPUT_STATS_H
6#define SLOT_OUTPUT_STATS_H
9#include <ns3/sqlite-output.h>
60 void SetDb(SQLiteOutput* db,
const std::string& tableName =
"slotStats");
78 uint32_t availableSym,
88 static void DeleteWhere(SQLiteOutput* p, uint32_t seed, uint32_t run,
const std::string& table);
99 uint32_t availableSym;
105 std::vector<SlotCache> m_slotCache;
106 std::string m_tableName;
SlotOutputStats()
Constructor.
void EmptyCache()
Force the cache write to disk, emptying the cache itself.
void SaveSlotStats(const SfnSf &sfnSf, uint32_t scheduledUe, uint32_t usedReg, uint32_t usedSym, uint32_t availableRb, uint32_t availableSym, uint16_t bwpId, uint16_t cellId)
Save the slot statistics.
void SetDb(SQLiteOutput *db, const std::string &tableName="slotStats")
Install the output database.