MemoryBudget::ScenarioMemoryPolicy
Inherits JSON::Serializable::Strict < JSON::Serializable < Struct < Value < Object
Associates a named operation and measurement scope with explicit limits.
Constructors
new(pull : JSON::PullParser)
Sourcenew(scenario_name : String = "", measurement_scope : String = "", list_of_limits : Array(MemoryMetricLimit) = [] of MemoryMetricLimit, item_count : UInt64 = 1_u64, platform_profile : String = "any", cache_state : String = "warm", measurement_window : String = "joined_block")
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
cache_state
Sourceitem_count
Sourcelist_of_limits
Sourcemeasurement_scope
Sourcemeasurement_window
Sourceplatform_profile
Sourcescenario_name
Source