Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

stats.h

Go to the documentation of this file.
00001 /*++ 00002 00003 Copyright (c) 1995 Microsoft Corporation 00004 00005 Module Name 00006 00007 stats.h 00008 00009 Abstract: 00010 00011 Header file for Statistics module stats.c 00012 00013 Author: 00014 00015 Dan Almosnino (danalm) 20-Nov-1995 00016 Wrote it. 00017 00018 Enviornment: 00019 00020 User Mode 00021 00022 Revision History: 00023 00024 ++*/ 00025 00026 00027 #define HI_FILTER 3 00028 #define LO_FILTER 1 00029 #define HI_LO_FILTER 2 00030 #define NO_FILTER 0 00031 #define HIGH_FILTER HI_FILTER 00032 #define LOW_FILTER LO_FILTER 00033 #define HILO_FILTER HI_LO_FILTER 00034 #define HIGH_LOW_FILTER HI_LO_FILTER 00035 00036 00037 typedef struct _TEST_STATS 00038 { 00039 double Average; 00040 double StdDev; 00041 double Minimum_Result; 00042 double Maximum_Result; 00043 long NumSamplesValid; 00044 00045 }TEST_STATS, *PTEST_STATS; 00046 00047 00048 BOOL 00049 Get_Stats( 00050 double *array, 00051 long num_samples, 00052 const filter_option, 00053 long var_limit, 00054 PTEST_STATS stats); 00055 00056 BOOL 00057 GetAverage( 00058 double Sample_Array[], 00059 long No_Samples, 00060 double *Average); 00061 00062 BOOL 00063 GetStdDev( 00064 double Sample_Array[], 00065 double Average, 00066 long No_Samples, 00067 double *varcoef); 00068 00069 void 00070 SortUp( 00071 double *array, 00072 long array_size); 00073 00074 BOOL 00075 FilterResults( 00076 double Sorted_Array[], 00077 double *tmpAverage, 00078 double *tmpSD, 00079 long *tmpNumSamples, 00080 long limit, 00081 const filter_option); 00082 00083 00084 00085

Generated on Sat May 15 19:41:52 2004 for test by doxygen 1.3.7