Table of Contents

Class StatisticsExtensions

Namespace
BenchmarkDotNet.Extensions
Assembly
BenchmarkDotNet.dll
public static class StatisticsExtensions
Inheritance
StatisticsExtensions

Methods

CreateNanosecondFormatter(Statistics, CultureInfo, string)

public static Func<double, string> CreateNanosecondFormatter(this Statistics s, CultureInfo cultureInfo, string format = "N3")

Parameters

s Statistics
cultureInfo CultureInfo
format string

Returns

Func<double, string>

ToString(Statistics?, CultureInfo, Func<double, string>, bool)

public static string ToString(this Statistics? s, CultureInfo cultureInfo, Func<double, string> formatter, bool calcHistogram = false)

Parameters

s Statistics
cultureInfo CultureInfo
formatter Func<double, string>
calcHistogram bool

Returns

string