grpc.testing.ScenarioResultSummary
*/
class ScenarioResultSummary extends \Google\Protobuf\Internal\Message
{
/**
* Total number of operations per second over all clients.
*
* Generated from protobuf field double qps = 1;
*/
private $qps = 0.0;
/**
* QPS per one server core.
*
* Generated from protobuf field double qps_per_server_core = 2;
*/
private $qps_per_server_core = 0.0;
/**
* server load based on system_time (0.85 => 85%)
*
* Generated from protobuf field double server_system_time = 3;
*/
private $server_system_time = 0.0;
/**
* server load based on user_time (0.85 => 85%)
*
* Generated from protobuf field double server_user_time = 4;
*/
private $server_user_time = 0.0;
/**
* client load based on system_time (0.85 => 85%)
*
* Generated from protobuf field double client_system_time = 5;
*/
private $client_system_time = 0.0;
/**
* client load based on user_time (0.85 => 85%)
*
* Generated from protobuf field double client_user_time = 6;
*/
private $client_user_time = 0.0;
/**
* X% latency percentiles (in nanoseconds)
*
* Generated from protobuf field double latency_50 = 7;
*/
private $latency_50 = 0.0;
/**
* Generated from protobuf field double latency_90 = 8;
*/
private $latency_90 = 0.0;
/**
* Generated from protobuf field double latency_95 = 9;
*/
private $latency_95 = 0.0;
/**
* Generated from protobuf field double latency_99 = 10;
*/
private $latency_99 = 0.0;
/**
* Generated from protobuf field double latency_999 = 11;
*/
private $latency_999 = 0.0;
/**
* server cpu usage percentage
*
* Generated from protobuf field double server_cpu_usage = 12;
*/
private $server_cpu_usage = 0.0;
/**
* Number of requests that succeeded/failed
*
* Generated from protobuf field double successful_requests_per_second = 13;
*/
private $successful_requests_per_second = 0.0;
/**
* Generated from protobuf field double failed_requests_per_second = 14;
*/
private $failed_requests_per_second = 0.0;
/**
* Number of polls called inside completion queue per request
*
* Generated from protobuf field double client_polls_per_request = 15;
*/
private $client_polls_per_request = 0.0;
/**
* Generated from protobuf field double server_polls_per_request = 16;
*/
private $server_polls_per_request = 0.0;
/**
* Queries per CPU-sec over all servers or clients
*
* Generated from protobuf field double server_queries_per_cpu_sec = 17;
*/
private $server_queries_per_cpu_sec = 0.0;
/**
* Generated from protobuf field double client_queries_per_cpu_sec = 18;
*/
private $client_queries_per_cpu_sec = 0.0;
public function __construct() {
\GPBMetadata\Src\Proto\Grpc\Testing\Control::initOnce();
parent::__construct();
}
/**
* Total number of operations per second over all clients.
*
* Generated from protobuf field double qps = 1;
* @return float
*/
public function getQps()
{
return $this->qps;
}
/**
* Total number of operations per second over all clients.
*
* Generated from protobuf field double qps = 1;
* @param float $var
* @return $this
*/
public function setQps($var)
{
GPBUtil::checkDouble($var);
$this->qps = $var;
return $this;
}
/**
* QPS per one server core.
*
* Generated from protobuf field double qps_per_server_core = 2;
* @return float
*/
public function getQpsPerServerCore()
{
return $this->qps_per_server_core;
}
/**
* QPS per one server core.
*
* Generated from protobuf field double qps_per_server_core = 2;
* @param float $var
* @return $this
*/
public function setQpsPerServerCore($var)
{
GPBUtil::checkDouble($var);
$this->qps_per_server_core = $var;
return $this;
}
/**
* server load based on system_time (0.85 => 85%)
*
* Generated from protobuf field double server_system_time = 3;
* @return float
*/
public function getServerSystemTime()
{
return $this->server_system_time;
}
/**
* server load based on system_time (0.85 => 85%)
*
* Generated from protobuf field double server_system_time = 3;
* @param float $var
* @return $this
*/
public function setServerSystemTime($var)
{
GPBUtil::checkDouble($var);
$this->server_system_time = $var;
return $this;
}
/**
* server load based on user_time (0.85 => 85%)
*
* Generated from protobuf field double server_user_time = 4;
* @return float
*/
public function getServerUserTime()
{
return $this->server_user_time;
}
/**
* server load based on user_time (0.85 => 85%)
*
* Generated from protobuf field double server_user_time = 4;
* @param float $var
* @return $this
*/
public function setServerUserTime($var)
{
GPBUtil::checkDouble($var);
$this->server_user_time = $var;
return $this;
}
/**
* client load based on system_time (0.85 => 85%)
*
* Generated from protobuf field double client_system_time = 5;
* @return float
*/
public function getClientSystemTime()
{
return $this->client_system_time;
}
/**
* client load based on system_time (0.85 => 85%)
*
* Generated from protobuf field double client_system_time = 5;
* @param float $var
* @return $this
*/
public function setClientSystemTime($var)
{
GPBUtil::checkDouble($var);
$this->client_system_time = $var;
return $this;
}
/**
* client load based on user_time (0.85 => 85%)
*
* Generated from protobuf field double client_user_time = 6;
* @return float
*/
public function getClientUserTime()
{
return $this->client_user_time;
}
/**
* client load based on user_time (0.85 => 85%)
*
* Generated from protobuf field double client_user_time = 6;
* @param float $var
* @return $this
*/
public function setClientUserTime($var)
{
GPBUtil::checkDouble($var);
$this->client_user_time = $var;
return $this;
}
/**
* X% latency percentiles (in nanoseconds)
*
* Generated from protobuf field double latency_50 = 7;
* @return float
*/
public function getLatency50()
{
return $this->latency_50;
}
/**
* X% latency percentiles (in nanoseconds)
*
* Generated from protobuf field double latency_50 = 7;
* @param float $var
* @return $this
*/
public function setLatency50($var)
{
GPBUtil::checkDouble($var);
$this->latency_50 = $var;
return $this;
}
/**
* Generated from protobuf field double latency_90 = 8;
* @return float
*/
public function getLatency90()
{
return $this->latency_90;
}
/**
* Generated from protobuf field double latency_90 = 8;
* @param float $var
* @return $this
*/
public function setLatency90($var)
{
GPBUtil::checkDouble($var);
$this->latency_90 = $var;
return $this;
}
/**
* Generated from protobuf field double latency_95 = 9;
* @return float
*/
public function getLatency95()
{
return $this->latency_95;
}
/**
* Generated from protobuf field double latency_95 = 9;
* @param float $var
* @return $this
*/
public function setLatency95($var)
{
GPBUtil::checkDouble($var);
$this->latency_95 = $var;
return $this;
}
/**
* Generated from protobuf field double latency_99 = 10;
* @return float
*/
public function getLatency99()
{
return $this->latency_99;
}
/**
* Generated from protobuf field double latency_99 = 10;
* @param float $var
* @return $this
*/
public function setLatency99($var)
{
GPBUtil::checkDouble($var);
$this->latency_99 = $var;
return $this;
}
/**
* Generated from protobuf field double latency_999 = 11;
* @return float
*/
public function getLatency999()
{
return $this->latency_999;
}
/**
* Generated from protobuf field double latency_999 = 11;
* @param float $var
* @return $this
*/
public function setLatency999($var)
{
GPBUtil::checkDouble($var);
$this->latency_999 = $var;
return $this;
}
/**
* server cpu usage percentage
*
* Generated from protobuf field double server_cpu_usage = 12;
* @return float
*/
public function getServerCpuUsage()
{
return $this->server_cpu_usage;
}
/**
* server cpu usage percentage
*
* Generated from protobuf field double server_cpu_usage = 12;
* @param float $var
* @return $this
*/
public function setServerCpuUsage($var)
{
GPBUtil::checkDouble($var);
$this->server_cpu_usage = $var;
return $this;
}
/**
* Number of requests that succeeded/failed
*
* Generated from protobuf field double successful_requests_per_second = 13;
* @return float
*/
public function getSuccessfulRequestsPerSecond()
{
return $this->successful_requests_per_second;
}
/**
* Number of requests that succeeded/failed
*
* Generated from protobuf field double successful_requests_per_second = 13;
* @param float $var
* @return $this
*/
public function setSuccessfulRequestsPerSecond($var)
{
GPBUtil::checkDouble($var);
$this->successful_requests_per_second = $var;
return $this;
}
/**
* Generated from protobuf field double failed_requests_per_second = 14;
* @return float
*/
public function getFailedRequestsPerSecond()
{
return $this->failed_requests_per_second;
}
/**
* Generated from protobuf field double failed_requests_per_second = 14;
* @param float $var
* @return $this
*/
public function setFailedRequestsPerSecond($var)
{
GPBUtil::checkDouble($var);
$this->failed_requests_per_second = $var;
return $this;
}
/**
* Number of polls called inside completion queue per request
*
* Generated from protobuf field double client_polls_per_request = 15;
* @return float
*/
public function getClientPollsPerRequest()
{
return $this->client_polls_per_request;
}
/**
* Number of polls called inside completion queue per request
*
* Generated from protobuf field double client_polls_per_request = 15;
* @param float $var
* @return $this
*/
public function setClientPollsPerRequest($var)
{
GPBUtil::checkDouble($var);
$this->client_polls_per_request = $var;
return $this;
}
/**
* Generated from protobuf field double server_polls_per_request = 16;
* @return float
*/
public function getServerPollsPerRequest()
{
return $this->server_polls_per_request;
}
/**
* Generated from protobuf field double server_polls_per_request = 16;
* @param float $var
* @return $this
*/
public function setServerPollsPerRequest($var)
{
GPBUtil::checkDouble($var);
$this->server_polls_per_request = $var;
return $this;
}
/**
* Queries per CPU-sec over all servers or clients
*
* Generated from protobuf field double server_queries_per_cpu_sec = 17;
* @return float
*/
public function getServerQueriesPerCpuSec()
{
return $this->server_queries_per_cpu_sec;
}
/**
* Queries per CPU-sec over all servers or clients
*
* Generated from protobuf field double server_queries_per_cpu_sec = 17;
* @param float $var
* @return $this
*/
public function setServerQueriesPerCpuSec($var)
{
GPBUtil::checkDouble($var);
$this->server_queries_per_cpu_sec = $var;
return $this;
}
/**
* Generated from protobuf field double client_queries_per_cpu_sec = 18;
* @return float
*/
public function getClientQueriesPerCpuSec()
{
return $this->client_queries_per_cpu_sec;
}
/**
* Generated from protobuf field double client_queries_per_cpu_sec = 18;
* @param float $var
* @return $this
*/
public function setClientQueriesPerCpuSec($var)
{
GPBUtil::checkDouble($var);
$this->client_queries_per_cpu_sec = $var;
return $this;
}
}