C# Класс Viki.LoadRunner.Engine.Aggregators.TimeHistogramResultsAggregator

Aggregate results by test execution time
Наследование: IResultsAggregator
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
GetTimeValue TimeSpan>.Func

Открытые методы

Метод Описание
GetResults ( ) : IEnumerable

Get Build results object from aggregated data

IResultsAggregator ( ) : void
IResultsAggregator ( IResult result ) : void
TimeHistogramResultsAggregator ( System.TimeSpan aggregationTimeInterval ) : System

Groups results by test execution time in provided [aggregationTimeInterval] time periods

TimeHistogramResultsAggregator ( System.TimeSpan aggregationTimeInterval, Func groupByKeyCalculatorFunction ) : System

Groups results by provided aggregation function (which will receive key used by TimeAggregation) And it gives full ability to postprocess GroupByKey before returning it.

TimeHistogramResultsAggregator ( System.TimeSpan aggregationTimeInterval, string>.Func subGroupByKeyCalculatorFunction ) : System

Groups results by test execution time and secondary aggregation function

Приватные методы

Метод Описание
GroupByCalculatorFunction ( IResult result ) : long

Описание методов

GetResults() публичный Метод

Get Build results object from aggregated data
public GetResults ( ) : IEnumerable
Результат IEnumerable

IResultsAggregator() публичный Метод

public IResultsAggregator ( ) : void
Результат void

IResultsAggregator() публичный Метод

public IResultsAggregator ( IResult result ) : void
result IResult
Результат void

TimeHistogramResultsAggregator() публичный Метод

Groups results by test execution time in provided [aggregationTimeInterval] time periods
public TimeHistogramResultsAggregator ( System.TimeSpan aggregationTimeInterval ) : System
aggregationTimeInterval System.TimeSpan Time interval to group results by
Результат System

TimeHistogramResultsAggregator() публичный Метод

Groups results by provided aggregation function (which will receive key used by TimeAggregation) And it gives full ability to postprocess GroupByKey before returning it.
public TimeHistogramResultsAggregator ( System.TimeSpan aggregationTimeInterval, Func groupByKeyCalculatorFunction ) : System
aggregationTimeInterval System.TimeSpan Time interval to group results by
groupByKeyCalculatorFunction Func GroupBy function Func<TestContextResult, TimeAggregationSlotTicks, GroupByKey>
Результат System

TimeHistogramResultsAggregator() публичный Метод

Groups results by test execution time and secondary aggregation function
public TimeHistogramResultsAggregator ( System.TimeSpan aggregationTimeInterval, string>.Func subGroupByKeyCalculatorFunction ) : System
aggregationTimeInterval System.TimeSpan Time interval to group results by
subGroupByKeyCalculatorFunction string>.Func Secondary aggregation function
Результат System

Описание свойств

GetTimeValue публичное свойство

Func to retrieve DateTime, on which aggregation is based on (Default TestContextResult.IterationStarted)
public Func GetTimeValue
Результат TimeSpan>.Func