mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Cleanup expired field trial WebRTC-Avx2SupportKillSwitch
Bug: webrtc:42221774 Change-Id: I92fab7d14fd0c2a9fd10e91fbad9c2831d7415ac Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/349643 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42233}
This commit is contained in:
parent
9559b2da36
commit
01ff41e594
3 changed files with 2 additions and 8 deletions
|
@ -484,9 +484,6 @@ POLICY_EXEMPT_FIELD_TRIALS: FrozenSet[FieldTrial] = frozenset([
|
||||||
FieldTrial('WebRTC-AutomaticAnimationDetectionScreenshare',
|
FieldTrial('WebRTC-AutomaticAnimationDetectionScreenshare',
|
||||||
42221141,
|
42221141,
|
||||||
date(2024, 4, 1)),
|
date(2024, 4, 1)),
|
||||||
FieldTrial('WebRTC-Avx2SupportKillSwitch',
|
|
||||||
42221774,
|
|
||||||
date(2024, 4, 1)),
|
|
||||||
FieldTrial('WebRTC-BindUsingInterfaceName',
|
FieldTrial('WebRTC-BindUsingInterfaceName',
|
||||||
42220770,
|
42220770,
|
||||||
date(2024, 4, 1)),
|
date(2024, 4, 1)),
|
||||||
|
@ -884,7 +881,7 @@ POLICY_EXEMPT_FIELD_TRIALS: FrozenSet[FieldTrial] = frozenset([
|
||||||
]) # yapf: disable
|
]) # yapf: disable
|
||||||
|
|
||||||
POLICY_EXEMPT_FIELD_TRIALS_DIGEST: str = \
|
POLICY_EXEMPT_FIELD_TRIALS_DIGEST: str = \
|
||||||
'a84804e20ae8a5f63996e59560ca97d724665c20'
|
'84f7bc41874cd36cc4d5306e86972f53fef83f29'
|
||||||
|
|
||||||
REGISTERED_FIELD_TRIALS: FrozenSet[FieldTrial] = ACTIVE_FIELD_TRIALS.union(
|
REGISTERED_FIELD_TRIALS: FrozenSet[FieldTrial] = ACTIVE_FIELD_TRIALS.union(
|
||||||
POLICY_EXEMPT_FIELD_TRIALS)
|
POLICY_EXEMPT_FIELD_TRIALS)
|
||||||
|
|
|
@ -31,7 +31,6 @@ rtc_library("system_wrappers") {
|
||||||
defines = []
|
defines = []
|
||||||
libs = []
|
libs = []
|
||||||
deps = [
|
deps = [
|
||||||
":field_trial",
|
|
||||||
"../api:array_view",
|
"../api:array_view",
|
||||||
"../api/units:timestamp",
|
"../api/units:timestamp",
|
||||||
"../modules:module_api_public",
|
"../modules:module_api_public",
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
|
|
||||||
#include "rtc_base/system/arch.h"
|
#include "rtc_base/system/arch.h"
|
||||||
#include "system_wrappers/include/cpu_features_wrapper.h"
|
#include "system_wrappers/include/cpu_features_wrapper.h"
|
||||||
#include "system_wrappers/include/field_trial.h"
|
|
||||||
|
|
||||||
#if defined(WEBRTC_ARCH_X86_FAMILY) && defined(_MSC_VER)
|
#if defined(WEBRTC_ARCH_X86_FAMILY) && defined(_MSC_VER)
|
||||||
#include <intrin.h>
|
#include <intrin.h>
|
||||||
|
@ -78,8 +77,7 @@ int GetCPUInfo(CPUFeature feature) {
|
||||||
return 0 != (cpu_info[2] & 0x00000001);
|
return 0 != (cpu_info[2] & 0x00000001);
|
||||||
}
|
}
|
||||||
#if defined(WEBRTC_ENABLE_AVX2)
|
#if defined(WEBRTC_ENABLE_AVX2)
|
||||||
if (feature == kAVX2 &&
|
if (feature == kAVX2) {
|
||||||
!webrtc::field_trial::IsEnabled("WebRTC-Avx2SupportKillSwitch")) {
|
|
||||||
int cpu_info7[4];
|
int cpu_info7[4];
|
||||||
__cpuid(cpu_info7, 0);
|
__cpuid(cpu_info7, 0);
|
||||||
int num_ids = cpu_info7[0];
|
int num_ids = cpu_info7[0];
|
||||||
|
|
Loading…
Reference in a new issue