Navigation
API > API/Plugins > API/Plugins/Qos > API/Plugins/Qos/FDatacenterQosInstance
Description
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.
| Name | IsLessWhenBiasedTowardsNonSubspace |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineFramework/Source/Qos/Public/QosRegionManager.h |
| Include Path | #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
)
True if left-hand datacenter is "better", otherwise false (right-hand datacenter is "better")
Parameters
| Name | Remarks |
|---|---|
| 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 |
See Also
-
FDatacenterQosInstance::IsNonSubspaceRecommended(const FDatacenterQosInstance&
-
const FDatacenterQosInstance&
-
const FQosSubspaceComparisonParams&)