[Tizen] Unify dnetmemoryenumlib terms to match the codebase (#291)
[platform/upstream/coreclr.git] / src / utilcode / yieldprocessornormalized.cpp
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4
5 #include "stdafx.h"
6
7 // Defaults are for when InitializeYieldProcessorNormalized has not yet been called or when no measurement is done, and are
8 // tuned for Skylake processors
9 unsigned int g_yieldsPerNormalizedYield = 1; // current value is for Skylake processors, this is expected to be ~8 for pre-Skylake
10 unsigned int g_optimalMaxNormalizedYieldsPerSpinIteration = 7;