Add a set of self-microbenchmarks (#51)

Co-authored-by: Lauri Kasanen <cand@gmx.com>
This commit is contained in:
mmcclaskey
2021-09-09 12:46:57 -04:00
committed by GitHub
parent 91eb953f62
commit dc21d5f97c
9 changed files with 223 additions and 7 deletions

View File

@@ -76,6 +76,8 @@ static LogWriter slog("VNCServerST");
LogWriter VNCServerST::connectionsLog("Connections");
EncCache VNCServerST::encCache;
void SelfBench();
//
// -=- VNCServerST Implementation
//
@@ -212,6 +214,9 @@ VNCServerST::VNCServerST(const char* name_, SDesktop* desktop_)
}
trackingClient[0] = 0;
if (Server::selfBench)
SelfBench();
}
VNCServerST::~VNCServerST()