KResourceUsage

class KResourceUsage : public KPtrArray<KResourceUsage>

A KResourceUsage object can be used to describe the a specific usage of a given resource.

Public Functions

KResourceUsage(KResource &resource, KIntArray &pattern)

Constructor

Parameters

pattern – A time-specific resource usage

KResourceUsage(KResource &resource, int value)

Constructor

Parameters

value – A time-constant resource usage

KResourceUsage(KResource &resource, int usemin, int usemax)

Constructor

Parameters
  • usemin – Lower bound for the resource usage

  • usemax – Upper bound for the resource usage

KResourceUsage(const KResourceUsage &toCopy)

Copy constructor

~KResourceUsage()

Destructor

virtual void print(void *ctx, PrintFunctionPtr *pfp) const

Pretty printing.

void print() const

Pretty printing.