Skip to content

Implementing new workload model

Tagir Kuskarov edited this page Jun 8, 2021 · 1 revision

To implement new workload model, you should

  1. Derive from IVMWorkloadModel

  2. Override GetWorkload() method. This method gives struct VMWorkload (RAM, CPU%, bandwidth) for given time.

  3. Override Setup() method. It accepts dictionary with strings.

  4. Register this Workload in custom/custom-code.h

Clone this wiki locally