Skip to content

report

Experiment dataclass

dataset instance-attribute

format_version instance-attribute

git_hash instance-attribute

timestamp instance-attribute

timesteps instance-attribute

backend instance-attribute

__init__(dataset, format_version, git_hash, timestamp, timesteps, backend)

TimeReport dataclass

hits instance-attribute

times instance-attribute

__init__(hits, times)

Report dataclass

setup instance-attribute

times instance-attribute

dt_atmos instance-attribute

sim_status = 'Finished' class-attribute instance-attribute

SYPD = 0.0 class-attribute instance-attribute

__init__(setup, times, dt_atmos, sim_status='Finished', SYPD=0.0)

get_experiment_info(experiment_name, time_step, backend, git_hash, is_orchestrated)

collect_keys_from_data(times_per_step)

Collects all the keys in the list of dicts and returns a sorted version

gather_timing_data(times_per_step, comm, root=0)

returns an updated version of the results dictionary owned by the root node to hold data on the substeps as well as the main loop timers

write_to_timestamped_json(experiment)

gather_hit_counts(hits_per_step, timing_info)

collects the hit count across all timers called in a program execution

get_sypd(timing_info, dt_atmos)

collect_data_and_write_to_file(time_step, backend, is_orchestrated, git_hash, comm, hits_per_step, times_per_step, experiment_name, dt_atmos)

collect the gathered data from all the ranks onto rank 0 and write the timing file