add PPSMonitor

This commit is contained in:
Lion Kortlepel
2021-02-16 13:19:39 +01:00
committed by Anonymous275
parent 72607583bf
commit f19a012509
15 changed files with 185 additions and 66 deletions

18
include/TPPSMonitor.h Normal file
View File

@@ -0,0 +1,18 @@
#pragma once
#include "Common.h"
#include "IThreaded.h"
#include "TServer.h"
class TPPSMonitor : public IThreaded {
public:
TPPSMonitor(TServer& Server);
void operator()() override;
private:
TServer& mServer;
bool mShutdown { false };
int mInternalPPS { 0 };
};