Skip to contents

Places the ssd_estimate_cost() prediction beside the ssd_analyse_cost() observation for one scenario+run and reports the predicted and observed total compute, the predicted and observed longest task, and the predicted/observed ratio for each. Read-only.

Usage

ssd_compare_cost(
  scenario,
  root = scenario_results_dir(scenario),
  store = NULL,
  calibration = ssd_cost_calibration()
)

Arguments

scenario

An ssdsims_scenario from ssd_define_scenario().

root

The run's results root (the fit/hc shard trees live under it). Defaults to scenario_results_dir() for scenario.

store

Optional path to the run's targets data store, to add the per-shard envelope overhead. NULL (the default) reads the shards only.

calibration

An ssdsims_cost_calibration for the prediction; defaults to the shipped ssd_cost_calibration().

Value

An ssdsims_cost_comparison.