Skip to main content

Module profile_persistence

Module profile_persistence 

Source
Expand description

Profile Persistence and Rotation (PMAT-028)

Configuration profile management with save/load/switch/export capabilities for different workload scenarios.

§Features

  • Named profiles for different workloads (ml_training, inference, stress_test)
  • Profile save/load/list/export operations
  • CLI overlay merging (CLI > profile > default)
  • TOML-based serialization

§Falsification Criteria (F1201-F1210)

See tests/profile_persistence_f1201.rs for falsification tests.

Modules§

templates
Pre-defined profile templates

Structs§

ProfileConfig
Serializable profile configuration
ProfileManager
Profile manager for save/load/list operations
ProfileOverlay
CLI overlay for merging profile with command-line arguments

Enums§

BackendConfig
Backend configuration
ProfileError
Profile persistence error
WorkloadConfig
Workload configuration

Type Aliases§

ProfileResult
Result type for profile operations