Class: Homebrew::DevCmd::Benchmark::Sample Private

Inherits:
T::Struct
  • Object
show all
Defined in:
dev-cmd/benchmark.rb

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iteration:, operation:, workload:, batch_size:, wall_time_seconds:, phase_totals_microseconds:) ⇒ void

Parameters:



# File ''

const :iteration, Integer
const :operation, String
const :workload, String
const :batch_size, Integer
const :wall_time_seconds, Float
const :phase_totals_microseconds, T::Hash[String, Integer]

Instance Attribute Details

#batch_sizeInteger (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop batch_size.

Returns:



# File ''

const :batch_size, Integer

#iterationInteger (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop iteration.

Returns:



# File ''

const :iteration, Integer

#operationString (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop operation.

Returns:



# File ''

const :operation, String

#phase_totals_microsecondsHash{String => Integer} (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop phase_totals_microseconds.

Returns:



# File ''

const :phase_totals_microseconds, T::Hash[String, Integer]

#wall_time_secondsFloat (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop wall_time_seconds.

Returns:

  • (Float)


# File ''

const :wall_time_seconds, Float

#workloadString (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns the value of prop workload.

Returns:



# File ''

const :workload, String