first commit

This commit is contained in:
2026-02-21 17:11:31 +09:00
commit 18b4338361
4001 changed files with 365464 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#include "fav_profile.h"
#if (PROFILE_BUILD)
#include <QDebug>
FAVProfile::FAVProfile(QObject *parent) : QObject(parent)
{
}
qint64 FAVProfile::elapsed(QString msg) {
qint64 r = instance()->_timer.elapsed();
qInfo() << "FA_PROFILE:" << r << msg;
return r;
}
void FAVProfile::restart(QString msg) {
instance()->_timer.restart();
qInfo() << "FA_PROFILE:" << msg;
}
void FAVProfile::lapEnd(QString msg)
{
qint64 r = instance()->_timer.elapsed();
qInfo() << "FA_PROFILE LAP:" << r - instance()->_lastLap << msg;
}
#endif // #if (PROFILE_BUILD)