Navigation
API > API/Plugins > API/Plugins/Qos > API/Plugins/Qos/FDatacenterQosInstance
References
| Module | Qos |
| Header | /Engine/Plugins/Online/OnlineFramework/Source/Qos/Public/QosRegionManager.h |
| Include | #include "QosRegionManager.h" |
| Source | /Engine/Plugins/Online/OnlineFramework/Source/Qos/Private/QosRegionManager.cpp |
static bool IsLessWhenBiasedTowardsNonSubspace
(
const FDatacenterQosInstance & A,
const FDatacenterQosInstance & B,
const FQosSubspaceComparisonParams & ComparisonParams,
const TCHAR *const SubspaceDelimiter
)
Remarks
Compares the avg ping of two datacenters, handling cases where one is a subspace and the other is not, and like-for-like.
When comparing subspace vs non-subspace, this will bias towards the non-subspace, as long as it satisfies the series of qualifying rules. When comparing like-for-like, average ping is compared, as usual. True if left-hand datacenter is "better", otherwise false (right-hand datacenter is "better")
Parameters
| Name | Description |
|---|---|
| A | Left-hand datacenter QoS data to compare |
| B | Right-hand datacenter QoS data to compare |
| ComparisonParams | Rules settings for subspace vs non-subspace comparison |
| SubspaceDelimiter | Search term to look for in datacenter ID; if found, implies that it is a subspace |