Skip to content

Commit

Permalink
Use Random.XoshiroImpl in the thread pool's hill climbing RNG. (dot…
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed May 31, 2022
1 parent cfcf99c commit 18f2c31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 18f2c31

Please sign in to comment.