W3cubDocs

/Pony

_Aggregator

[Source]

class ref _Aggregator

Constructors

create

[Source]

new ref create(
  ponybench: PonyBench tag,
  runner: _Runner tag,
  config: BenchConfig val,
  overhead: Bool val)
: _Aggregator ref^

Parameters

Returns

Public fields

var iterations: U64 val

[Source]

Public Functions

complete

[Source]

fun ref complete(
  name: String val,
  t: U64 val)
: None val

Parameters

Returns

Private Functions

_calc_iterations

[Source]

fun ref _calc_iterations(
  runtime: U64 val)
: (U64 val | None val)

Parameters

  • runtime: U64 val

Returns

_round_up

[Source]

Round x up to a number of the form [1^x, 2^x, 3^x, 5^x].

fun box _round_up(
  x: U64 val)
: U64 val

Parameters

Returns

_round_down_10

[Source]

Round down to the nearest power of 10.

fun box _round_down_10(
  x: U64 val)
: U64 val

Parameters

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/ponybench-_Aggregator