Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (21 sloc) 0.781 kb
//
// SSBenchmark.h
// SSBenchmarker
//
// Created by Sam Soffes on 4/2/12.
// Copyright (c) 2012 Sam Soffes. All rights reserved.
//
// Inspired by SBStatistics. Thanks for the math Stig!
//
@interface SSBenchmark : NSObject
@property (nonatomic, strong) NSString *identifier;
@property (nonatomic, assign, readonly) NSUInteger count;
@property (nonatomic, assign, readonly) double min;
@property (nonatomic, assign, readonly) double mean;
@property (nonatomic, assign, readonly) double max;
@property (nonatomic, assign, readonly) double variance;
@property (nonatomic, assign, readonly) double standardDeviation;
@property (nonatomic, strong, readonly) NSArray *numbers;
@property (nonatomic, strong, readonly) NSArray *sortedNumbers;
- (void)addDouble:(double)d;
@end
Jump to Line
Something went wrong with that request. Please try again.