仿真平台内核初版 -tlib库 包含<sparc arm riscv powerPC>

This commit is contained in:
liuwb
2026-02-07 20:43:43 +08:00
parent de61f9e2b0
commit b3117648be
9748 changed files with 4309137 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
//
// Copyright (c) 2012-2021 Antmicro
//
// This file is licensed under the MIT License.
// Full license text is available in the LICENSE file.
using System;
namespace Antmicro.Migrant.PerformanceTester
{
public struct TestResult
{
public TestResult(double average, double standardDeviation) : this()
{
Average = average;
StandardDeviation = standardDeviation;
}
public override string ToString()
{
return string.Format("{0}s (±{1:#0.#}%)", Average.NormalizeDecimal(), StandardDeviation / Average * 100.0);
}
public double Average { get; private set; }
public double StandardDeviation { get; private set; }
}
}