Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix tests
Browse files Browse the repository at this point in the history
LittleLittleCloud committed Feb 9, 2023
1 parent 1240335 commit 5a27af4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -128,7 +128,7 @@ private void SampleCpuAndMemoryUsage()

// calculate Memory Usage in MB
var memoryUsage = process.WorkingSet64 * 1.0 / (1024 * 1024);
_peakMemoryUsage = process.PeakWorkingSet64 * 1.0 / (1024 * 1024);
_peakMemoryUsage = Math.Max(memoryUsage, _peakMemoryUsage ?? 0);

var metrics = new TrialPerformanceMetrics()
{

0 comments on commit 5a27af4

Please sign in to comment.