Compute Library
 22.08
UnitWorkloadStage Struct Reference

Describes when a Unit Workload is run. More...

#include <IWorkload.h>

Public Types

enum  Stage { Prepare, Run }
 

Data Fields

Stage stage
 

Friends

bool operator== (const UnitWorkloadStage &stage0, const UnitWorkloadStage &stage1)
 

Detailed Description

Describes when a Unit Workload is run.

Definition at line 43 of file IWorkload.h.

Member Enumeration Documentation

◆ Stage

enum Stage
strong
Enumerator
Prepare 

Only run once at the beginning.

Run 

Run every time after the first time.

Definition at line 45 of file IWorkload.h.

46  {
47  Prepare, /**< Only run once at the beginning. */
48  Run, /**< Run every time after the first time. */
49  };

Friends And Related Function Documentation

◆ operator==

bool operator== ( const UnitWorkloadStage stage0,
const UnitWorkloadStage stage1 
)
friend

Definition at line 51 of file IWorkload.h.

52  {
53  return stage0.stage == stage1.stage;
54  }

Field Documentation

◆ stage

Stage stage

Definition at line 50 of file IWorkload.h.


The documentation for this struct was generated from the following file: