1 write to Real
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.HillClimbing.Complex.cs (1)
14
Real
= real;
18 references to Real
System.Private.CoreLib (18)
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.HillClimbing.Complex.cs (12)
21
public static Complex operator *(double scalar, Complex complex) => new Complex(scalar * complex.
Real
, scalar * complex.Imaginary);
25
public static Complex operator /(Complex complex, double scalar) => new Complex(complex.
Real
/ scalar, complex.Imaginary / scalar);
27
public static Complex operator -(Complex lhs, Complex rhs) => new Complex(lhs.
Real
- rhs.
Real
, lhs.Imaginary - rhs.Imaginary);
31
double denom = rhs.
Real
* rhs.
Real
+ rhs.Imaginary * rhs.Imaginary;
32
return new Complex((lhs.
Real
* rhs.
Real
+ lhs.Imaginary * rhs.Imaginary) / denom, (-lhs.
Real
* rhs.Imaginary + lhs.Imaginary * rhs.
Real
) / denom);
35
public double Abs() => Math.Sqrt(
Real
*
Real
+ Imaginary * Imaginary);
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.HillClimbing.cs (6)
288
double move = Math.Min(1.0, Math.Max(-1.0, ratio.
Real
));
352
NativeRuntimeEventSource.Log.ThreadPoolWorkerThreadAdjustmentStats(sampleDurationSeconds, throughput, threadWaveComponent.
Real
, throughputWaveComponent.
Real
,
353
throughputErrorEstimate, _averageThroughputNoise, ratio.
Real
, confidence, _currentControlSetting, (ushort)newThreadWaveMagnitude);
376
if (ratio.
Real
< 0.0 && newThreadCount == minThreads)
377
newSampleInterval = (int)(0.5 + _currentSampleMs * (10.0 * Math.Min(-ratio.
Real
, 1.0)));