mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-06-27 21:21:56 +02:00
KASM-6984 Add extende benchmark parameter to Server class
Introduce a new "benchmark" boolean parameter in the Server class to enable extended benchmarking functionality. This complements the existing self-benchmark feature, providing more comprehensive performance testing options.
This commit is contained in:
parent
b5f3f44c57
commit
969996a647
@ -117,6 +117,10 @@ rfb::BoolParameter rfb::Server::selfBench
|
|||||||
("SelfBench",
|
("SelfBench",
|
||||||
"Run self-benchmarks and exit.",
|
"Run self-benchmarks and exit.",
|
||||||
false);
|
false);
|
||||||
|
rfb::BoolParameter rfb::Server::benchmark (
|
||||||
|
"Benchmark",
|
||||||
|
"Run extended benchmarks and exit.",
|
||||||
|
false);
|
||||||
rfb::IntParameter rfb::Server::dynamicQualityMin
|
rfb::IntParameter rfb::Server::dynamicQualityMin
|
||||||
("DynamicQualityMin",
|
("DynamicQualityMin",
|
||||||
"The minimum dynamic JPEG quality, 0 = low, 9 = high",
|
"The minimum dynamic JPEG quality, 0 = low, 9 = high",
|
||||||
|
@ -28,73 +28,70 @@
|
|||||||
#include <rfb/util.h>
|
#include <rfb/util.h>
|
||||||
|
|
||||||
namespace rfb {
|
namespace rfb {
|
||||||
|
class Server {
|
||||||
class Server {
|
public:
|
||||||
public:
|
static IntParameter idleTimeout;
|
||||||
|
static IntParameter maxDisconnectionTime;
|
||||||
static IntParameter idleTimeout;
|
static IntParameter maxConnectionTime;
|
||||||
static IntParameter maxDisconnectionTime;
|
static IntParameter maxIdleTime;
|
||||||
static IntParameter maxConnectionTime;
|
static IntParameter clientWaitTimeMillis;
|
||||||
static IntParameter maxIdleTime;
|
static IntParameter compareFB;
|
||||||
static IntParameter clientWaitTimeMillis;
|
static IntParameter frameRate;
|
||||||
static IntParameter compareFB;
|
static IntParameter dynamicQualityMin;
|
||||||
static IntParameter frameRate;
|
static IntParameter dynamicQualityMax;
|
||||||
static IntParameter dynamicQualityMin;
|
static IntParameter treatLossless;
|
||||||
static IntParameter dynamicQualityMax;
|
static IntParameter scrollDetectLimit;
|
||||||
static IntParameter treatLossless;
|
static IntParameter rectThreads;
|
||||||
static IntParameter scrollDetectLimit;
|
static IntParameter DLP_ClipSendMax;
|
||||||
static IntParameter rectThreads;
|
static IntParameter DLP_ClipAcceptMax;
|
||||||
static IntParameter DLP_ClipSendMax;
|
static IntParameter DLP_ClipDelay;
|
||||||
static IntParameter DLP_ClipAcceptMax;
|
static IntParameter DLP_KeyRateLimit;
|
||||||
static IntParameter DLP_ClipDelay;
|
static IntParameter DLP_WatermarkRepeatSpace;
|
||||||
static IntParameter DLP_KeyRateLimit;
|
static IntParameter DLP_WatermarkFontSize;
|
||||||
static IntParameter DLP_WatermarkRepeatSpace;
|
static IntParameter DLP_WatermarkTimeOffset;
|
||||||
static IntParameter DLP_WatermarkFontSize;
|
static IntParameter DLP_WatermarkTimeOffsetMinutes;
|
||||||
static IntParameter DLP_WatermarkTimeOffset;
|
static IntParameter DLP_WatermarkTextAngle;
|
||||||
static IntParameter DLP_WatermarkTimeOffsetMinutes;
|
static StringParameter DLP_ClipLog;
|
||||||
static IntParameter DLP_WatermarkTextAngle;
|
static StringParameter DLP_Region;
|
||||||
static StringParameter DLP_ClipLog;
|
static StringParameter DLP_Clip_Types;
|
||||||
static StringParameter DLP_Region;
|
static StringParameter DLP_WatermarkImage;
|
||||||
static StringParameter DLP_Clip_Types;
|
static StringParameter DLP_WatermarkLocation;
|
||||||
static StringParameter DLP_WatermarkImage;
|
static StringParameter DLP_WatermarkTint;
|
||||||
static StringParameter DLP_WatermarkLocation;
|
static StringParameter DLP_WatermarkText;
|
||||||
static StringParameter DLP_WatermarkTint;
|
static StringParameter DLP_WatermarkFont;
|
||||||
static StringParameter DLP_WatermarkText;
|
static BoolParameter DLP_RegionAllowClick;
|
||||||
static StringParameter DLP_WatermarkFont;
|
static BoolParameter DLP_RegionAllowRelease;
|
||||||
static BoolParameter DLP_RegionAllowClick;
|
static IntParameter jpegVideoQuality;
|
||||||
static BoolParameter DLP_RegionAllowRelease;
|
static IntParameter webpVideoQuality;
|
||||||
static IntParameter jpegVideoQuality;
|
static StringParameter maxVideoResolution;
|
||||||
static IntParameter webpVideoQuality;
|
static IntParameter videoTime;
|
||||||
static StringParameter maxVideoResolution;
|
static IntParameter videoOutTime;
|
||||||
static IntParameter videoTime;
|
static IntParameter videoArea;
|
||||||
static IntParameter videoOutTime;
|
static IntParameter videoScaling;
|
||||||
static IntParameter videoArea;
|
static IntParameter udpFullFrameFrequency;
|
||||||
static IntParameter videoScaling;
|
static IntParameter udpPort;
|
||||||
static IntParameter udpFullFrameFrequency;
|
static StringParameter kasmPasswordFile;
|
||||||
static IntParameter udpPort;
|
static StringParameter publicIP;
|
||||||
static StringParameter kasmPasswordFile;
|
static StringParameter stunServer;
|
||||||
static StringParameter publicIP;
|
static BoolParameter printVideoArea;
|
||||||
static StringParameter stunServer;
|
static BoolParameter protocol3_3;
|
||||||
static BoolParameter printVideoArea;
|
static BoolParameter alwaysShared;
|
||||||
static BoolParameter protocol3_3;
|
static BoolParameter neverShared;
|
||||||
static BoolParameter alwaysShared;
|
static BoolParameter disconnectClients;
|
||||||
static BoolParameter neverShared;
|
static BoolParameter acceptKeyEvents;
|
||||||
static BoolParameter disconnectClients;
|
static BoolParameter acceptPointerEvents;
|
||||||
static BoolParameter acceptKeyEvents;
|
static BoolParameter acceptCutText;
|
||||||
static BoolParameter acceptPointerEvents;
|
static BoolParameter sendCutText;
|
||||||
static BoolParameter acceptCutText;
|
static BoolParameter acceptSetDesktopSize;
|
||||||
static BoolParameter sendCutText;
|
static BoolParameter queryConnect;
|
||||||
static BoolParameter acceptSetDesktopSize;
|
static BoolParameter detectScrolling;
|
||||||
static BoolParameter queryConnect;
|
static BoolParameter detectHorizontal;
|
||||||
static BoolParameter detectScrolling;
|
static BoolParameter ignoreClientSettingsKasm;
|
||||||
static BoolParameter detectHorizontal;
|
static BoolParameter selfBench;
|
||||||
static BoolParameter ignoreClientSettingsKasm;
|
static BoolParameter benchmark;
|
||||||
static BoolParameter selfBench;
|
static PresetParameter preferBandwidth;
|
||||||
static PresetParameter preferBandwidth;
|
static IntParameter webpEncodingTime;
|
||||||
static IntParameter webpEncodingTime;
|
};
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __RFB_SERVER_CORE_H__
|
#endif // __RFB_SERVER_CORE_H__
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user