Skip to content

_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