Skip to main content

Module utils

Module utils 

Source
Expand description

Utility modules used across Roma.

This includes random utilities, benchmarking helpers, checkpoint management, file-format adapters (CSV/JSON/YAML), and chart/statistics support.

Re-exports§

pub use benchmark::measure;
pub use benchmark::measure_result;
pub use benchmark::process_cpu_time_ms;
pub use benchmark::speedup;
pub use cli::CliArgs;
pub use random::seed_from_time;
pub use random::Random;

Modules§

benchmark
binary
chart
cli
csv_adapter
hash
json_adapter
path
random
statistics
yaml_adapter

Functions§

delete_snapshot_on_success
Deletes a checkpoint file when an execution finishes successfully.
read_snapshot
Reads one snapshot record from disk.
resolve_num_threads
Resolves a user-facing thread count to a usable positive worker count.
write_snapshot
Binary checkpoint file layout (little-endian):