* Basic summary that can be computed from ClientStats and ServerStats
* once the scenario has finished.
*
*
* Protobuf type grpc.testing.ScenarioResultSummary
*/
class ScenarioResultSummary extends \Google\Protobuf\Internal\Message
{
/**
*
* Total number of operations per second over all clients. ** *
double qps = 1;
*/
private $qps = 0.0;
/**
* * QPS per one server core. ** *
double qps_per_server_core = 2;
*/
private $qps_per_server_core = 0.0;
/**
* * server load based on system_time (0.85 => 85%) ** *
double server_system_time = 3;
*/
private $server_system_time = 0.0;
/**
* * server load based on user_time (0.85 => 85%) ** *
double server_user_time = 4;
*/
private $server_user_time = 0.0;
/**
* * client load based on system_time (0.85 => 85%) ** *
double client_system_time = 5;
*/
private $client_system_time = 0.0;
/**
* * client load based on user_time (0.85 => 85%) ** *
double client_user_time = 6;
*/
private $client_user_time = 0.0;
/**
* * X% latency percentiles (in nanoseconds) ** *
double latency_50 = 7;
*/
private $latency_50 = 0.0;
/**
* double latency_90 = 8;
*/
private $latency_90 = 0.0;
/**
* double latency_95 = 9;
*/
private $latency_95 = 0.0;
/**
* double latency_99 = 10;
*/
private $latency_99 = 0.0;
/**
* double latency_999 = 11;
*/
private $latency_999 = 0.0;
/**
* * server cpu usage percentage ** *
double server_cpu_usage = 12;
*/
private $server_cpu_usage = 0.0;
/**
* * Number of requests that succeeded/failed ** *
double successful_requests_per_second = 13;
*/
private $successful_requests_per_second = 0.0;
/**
* double failed_requests_per_second = 14;
*/
private $failed_requests_per_second = 0.0;
public function __construct() {
\GPBMetadata\Src\Proto\Grpc\Testing\Control::initOnce();
parent::__construct();
}
/**
* * Total number of operations per second over all clients. ** *
double qps = 1;
*/
public function getQps()
{
return $this->qps;
}
/**
* * Total number of operations per second over all clients. ** *
double qps = 1;
*/
public function setQps($var)
{
GPBUtil::checkDouble($var);
$this->qps = $var;
}
/**
* * QPS per one server core. ** *
double qps_per_server_core = 2;
*/
public function getQpsPerServerCore()
{
return $this->qps_per_server_core;
}
/**
* * QPS per one server core. ** *
double qps_per_server_core = 2;
*/
public function setQpsPerServerCore($var)
{
GPBUtil::checkDouble($var);
$this->qps_per_server_core = $var;
}
/**
* * server load based on system_time (0.85 => 85%) ** *
double server_system_time = 3;
*/
public function getServerSystemTime()
{
return $this->server_system_time;
}
/**
* * server load based on system_time (0.85 => 85%) ** *
double server_system_time = 3;
*/
public function setServerSystemTime($var)
{
GPBUtil::checkDouble($var);
$this->server_system_time = $var;
}
/**
* * server load based on user_time (0.85 => 85%) ** *
double server_user_time = 4;
*/
public function getServerUserTime()
{
return $this->server_user_time;
}
/**
* * server load based on user_time (0.85 => 85%) ** *
double server_user_time = 4;
*/
public function setServerUserTime($var)
{
GPBUtil::checkDouble($var);
$this->server_user_time = $var;
}
/**
* * client load based on system_time (0.85 => 85%) ** *
double client_system_time = 5;
*/
public function getClientSystemTime()
{
return $this->client_system_time;
}
/**
* * client load based on system_time (0.85 => 85%) ** *
double client_system_time = 5;
*/
public function setClientSystemTime($var)
{
GPBUtil::checkDouble($var);
$this->client_system_time = $var;
}
/**
* * client load based on user_time (0.85 => 85%) ** *
double client_user_time = 6;
*/
public function getClientUserTime()
{
return $this->client_user_time;
}
/**
* * client load based on user_time (0.85 => 85%) ** *
double client_user_time = 6;
*/
public function setClientUserTime($var)
{
GPBUtil::checkDouble($var);
$this->client_user_time = $var;
}
/**
* * X% latency percentiles (in nanoseconds) ** *
double latency_50 = 7;
*/
public function getLatency50()
{
return $this->latency_50;
}
/**
* * X% latency percentiles (in nanoseconds) ** *
double latency_50 = 7;
*/
public function setLatency50($var)
{
GPBUtil::checkDouble($var);
$this->latency_50 = $var;
}
/**
* double latency_90 = 8;
*/
public function getLatency90()
{
return $this->latency_90;
}
/**
* double latency_90 = 8;
*/
public function setLatency90($var)
{
GPBUtil::checkDouble($var);
$this->latency_90 = $var;
}
/**
* double latency_95 = 9;
*/
public function getLatency95()
{
return $this->latency_95;
}
/**
* double latency_95 = 9;
*/
public function setLatency95($var)
{
GPBUtil::checkDouble($var);
$this->latency_95 = $var;
}
/**
* double latency_99 = 10;
*/
public function getLatency99()
{
return $this->latency_99;
}
/**
* double latency_99 = 10;
*/
public function setLatency99($var)
{
GPBUtil::checkDouble($var);
$this->latency_99 = $var;
}
/**
* double latency_999 = 11;
*/
public function getLatency999()
{
return $this->latency_999;
}
/**
* double latency_999 = 11;
*/
public function setLatency999($var)
{
GPBUtil::checkDouble($var);
$this->latency_999 = $var;
}
/**
* * server cpu usage percentage ** *
double server_cpu_usage = 12;
*/
public function getServerCpuUsage()
{
return $this->server_cpu_usage;
}
/**
* * server cpu usage percentage ** *
double server_cpu_usage = 12;
*/
public function setServerCpuUsage($var)
{
GPBUtil::checkDouble($var);
$this->server_cpu_usage = $var;
}
/**
* * Number of requests that succeeded/failed ** *
double successful_requests_per_second = 13;
*/
public function getSuccessfulRequestsPerSecond()
{
return $this->successful_requests_per_second;
}
/**
* * Number of requests that succeeded/failed ** *
double successful_requests_per_second = 13;
*/
public function setSuccessfulRequestsPerSecond($var)
{
GPBUtil::checkDouble($var);
$this->successful_requests_per_second = $var;
}
/**
* double failed_requests_per_second = 14;
*/
public function getFailedRequestsPerSecond()
{
return $this->failed_requests_per_second;
}
/**
* double failed_requests_per_second = 14;
*/
public function setFailedRequestsPerSecond($var)
{
GPBUtil::checkDouble($var);
$this->failed_requests_per_second = $var;
}
}