gem5.resources.workload module

gem5.resources.workload.CustomWorkload(function: str, parameters: Dict[str, Any])

A custom workload gem5 resource. It can be used to specify a custom, local workload.

Warning

This CustomWorkload class is deprecated. It will be removed in a future release of gem5. Please use the gem5.resources.resource.WorkloadResource class instead.

The class has been stealthily converted to a function which wraps the WorkloadResource class.

gem5.resources.workload.Workload(workload_name: str, resource_directory: str | None = None, resource_version: str | None = None, clients: List | None = None, gem5_version: str | None = '24.1.0.1')

Warning

The Workload class is deprecated. It will be removed in a future release of gem5. Please use the gem5.resources.resource.WorkloadResource class instead.

The class has been stealthily converted to a function which wraps the WorkloadResource class.