Class CalculateResourceUtilizationEquidistant
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.resources.rjobs.CalculateResourceUtilizationEquidistant
-
- All Implemented Interfaces:
RJob
public class CalculateResourceUtilizationEquidistant extends Object implements RJob
Calculates theUTILIZATIONof active/passive resources over time, based on rawQUEUE_LENGTHmeasurements already contained in the measurement data.For a given window size, this job calculates the fraction of busy time vs. window size, i.e. the fraction of (simulation) time the resource has been working actually, expressed in percent.
More formally, the utilization u(w) for a window w is calculated as
u(w) := 100 * busy_time / total_time, with total_time being the window size.
-
-
Constructor Summary
Constructors Constructor Description CalculateResourceUtilizationEquidistant()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()voidprocess(RContext context)The work to be done by this job.
-
-
-
Method Detail
-
process
public void process(RContext context)
Description copied from interface:RJobThe work to be done by this job. Should only be called by anRJobProcessor.
-
-