videoLat 2.0
Video conferencing delay measurements

#import <MeasurementDistribution.h>
Public Member Functions  
(MeasurementDistribution *)   initWithSource: 
(void)   awakeFromNib 
Initializer.  
(void)   _recompute 
Internal: recompute distribution.  
(NSNumber *)   valueForIndex: 
Used by GraphView: get one data point.  
(NSString *)   asCSVString 
Get distribution data as CSV string.  
Protected Attributes  
NSMutableArray *  store 
Internal: storage for our distribution bins.  
int  binCount 
Internal: number of bins in store.  
Properties  
double  average 
accessor for average of source  
double  stddev 
accessor for stddev of source  
double  max 
current maximum value (value of biggest bin)  
double  maxXaxis 
maximum of source, and therefore our rightmost data point  
double  binSize 
Internal: width of each bin.  
IBOutlet id < GraphDataProviderProtocol >  source 
Source of our data points. 
Compute distributions for datapoints.
This object is created with a MeasurementDataSource and will compute the distribution of the input values over 100 bins. It implements the GraphDataProviderProtocol so it can then be used to show a distribution plot of a set of measurement values.
 (MeasurementDistribution *) initWithSource:  (MeasurementDataStore *)  source 
Initializer.
source  the set of datapoints this object should compute the distribution of The current implementation expects the source to be static, i.e. it only recomputes the distribution initially and assumes the data in the source doesn't change. 
 (double) binSize [read, assign] 