未验证 提交 18f2c312 编写于 作者: T Theodore Tsirpanis 提交者: GitHub

Use `Random.XoshiroImpl` in the thread pool's hill climbing RNG. (#69987)

上级 cfcf99c7
......@@ -72,7 +72,7 @@ private struct LogEntry
private readonly double[] _threadCounts;
private int _currentSampleMs;
private readonly Random _randomIntervalGenerator = new Random();
private readonly Random.XoshiroImpl _randomIntervalGenerator = new Random.XoshiroImpl();
private readonly LogEntry[] _log = new LogEntry[LogCapacity]; // SOS's ThreadPool command depends on this name
private int _logStart; // SOS's ThreadPool command depends on this name
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册