mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-06-27 13:11:30 +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",
|
||||
"Run self-benchmarks and exit.",
|
||||
false);
|
||||
rfb::BoolParameter rfb::Server::benchmark (
|
||||
"Benchmark",
|
||||
"Run extended benchmarks and exit.",
|
||||
false);
|
||||
rfb::IntParameter rfb::Server::dynamicQualityMin
|
||||
("DynamicQualityMin",
|
||||
"The minimum dynamic JPEG quality, 0 = low, 9 = high",
|
||||
|
@ -28,10 +28,8 @@
|
||||
#include <rfb/util.h>
|
||||
|
||||
namespace rfb {
|
||||
|
||||
class Server {
|
||||
public:
|
||||
|
||||
static IntParameter idleTimeout;
|
||||
static IntParameter maxDisconnectionTime;
|
||||
static IntParameter maxConnectionTime;
|
||||
@ -90,11 +88,10 @@ namespace rfb {
|
||||
static BoolParameter detectHorizontal;
|
||||
static BoolParameter ignoreClientSettingsKasm;
|
||||
static BoolParameter selfBench;
|
||||
static BoolParameter benchmark;
|
||||
static PresetParameter preferBandwidth;
|
||||
static IntParameter webpEncodingTime;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
#endif // __RFB_SERVER_CORE_H__
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user