Add a set of self-microbenchmarks (#51)
Co-authored-by: Lauri Kasanen <cand@gmx.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user