libmuscle.manager.profile_store module
- class libmuscle.manager.profile_store.ProfileStore(db_dir: Path)[source]
Bases:
ProfileDatabase
Creates and fills a profiling database.
This class creates the database, and then allows writing to it. It’s only used internally, and it’s almost a non-const version of ProfileDatabase.
- add_events(instance_id: Reference, events: Iterable[ProfileEvent]) None [source]
Adds profiling events to the database.
- Parameters:
events – The events to add.