org.jppf.server.scheduler.bundle
Class BundlePerformanceSample
java.lang.Object
org.jppf.server.scheduler.bundle.BundlePerformanceSample
public class BundlePerformanceSample
- extends Object
This is a utility class to be used to store the pair of mean and the
number of samples this mean is based on.
|
Field Summary |
double |
mean
Mean compute time for server to node round trip. |
long |
samples
Number of samples used to compute the mean value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mean
public double mean
- Mean compute time for server to node round trip.
samples
public long samples
- Number of samples used to compute the mean value.
BundlePerformanceSample
public BundlePerformanceSample()
- Default constructor.
BundlePerformanceSample
public BundlePerformanceSample(double mean,
long samples)
- Initialize this sample witht he specified mean execute time and number of samples.
- Parameters:
mean - Mean compute time for server to node round trip.samples - Number of samples used to compute the mean value.
Copyright © 2005-2010 JPPF Team.