mirror of
https://github.com/tnodir/fort
synced 2024-11-15 09:36:28 +00:00
DB: Add traffic assert.
This commit is contained in:
parent
9198849fe7
commit
928368e6e2
@ -55,6 +55,8 @@ void DatabaseManager::logProcNew(const QString &appPath, bool &isNew)
|
|||||||
void DatabaseManager::logStatTraf(quint16 procCount, const quint8 *procBits,
|
void DatabaseManager::logStatTraf(quint16 procCount, const quint8 *procBits,
|
||||||
const quint32 *trafBytes)
|
const quint32 *trafBytes)
|
||||||
{
|
{
|
||||||
|
Q_ASSERT(procCount == m_appIds.size());
|
||||||
|
|
||||||
QVector<quint16> delProcIndexes;
|
QVector<quint16> delProcIndexes;
|
||||||
|
|
||||||
const qint64 unixTime = DateUtil::getUnixTime();
|
const qint64 unixTime = DateUtil::getUnixTime();
|
||||||
|
Loading…
Reference in New Issue
Block a user