libmicro.h   libmicro.h 
skipping to change at line 24 skipping to change at line 24
* When distributing Covered Code, include this CDDL HEADER in each * When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE. * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the * If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying * fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner] * information: Portions Copyright [yyyy] [name of copyright owner]
* *
* CDDL HEADER END * CDDL HEADER END
*/ */
/* /*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms. * Use is subject to license terms.
*/ */
#ifndef LIBMICRO_H #ifndef LIBMICRO_H
#define LIBMICRO_H #define LIBMICRO_H
#pragma ident "@(#)libmicro.h 1.19 05/08/04 SMI"
#include <pthread.h> #include <pthread.h>
#define LIBMICRO_VERSION "0.3.0" #define LIBMICRO_VERSION "0.4.0"
#define STRSIZE 1024 #define STRSIZE 1024
typedef struct { typedef struct {
long long re_count; long long re_count;
long long re_errors; long long re_errors;
long long re_t0; long long re_t0;
long long re_t1; long long re_t1;
} result_t; } result_t;
skipping to change at line 89 skipping to change at line 87
int ba_phase; /* number of time used */ int ba_phase; /* number of time used */
int ba_waiters; /* how many are waiting */ int ba_waiters; /* how many are waiting */
#ifdef USE_SEMOP #ifdef USE_SEMOP
int ba_semid; int ba_semid;
#else #else
pthread_mutex_t ba_lock; pthread_mutex_t ba_lock;
pthread_cond_t ba_cv; pthread_cond_t ba_cv;
#endif #endif
long long ba_count; /* how many ops */ long long ba_count; /* how many ops */
long long ba_errors; /* how many errors */ long long ba_errors; /* how many errors */
int ba_quant; /* how many quant errors*/ int ba_quant; /* how many quant errors */
int ba_batches; /* how many samples */ int ba_batches; /* how many samples */
double ba_starttime; /* test time start */ double ba_starttime; /* test time start */
double ba_endtime; /* test time end */ double ba_endtime; /* test time end */
#ifdef NEVER #ifdef NEVER
double ba_tmin; /* min time taken */ double ba_tmin; /* min time taken */
double ba_tmax; /* max time taken */ double ba_tmax; /* max time taken */
double ba_ctmax; /* max after outliers */ double ba_ctmax; /* max after outliers */
double ba_mean; /* average value */ double ba_mean; /* average value */
double ba_median; /* median value */ double ba_median; /* median value */
skipping to change at line 116 skipping to change at line 114
double ba_stderr; /* standard error */ double ba_stderr; /* standard error */
double ba_skew; /* skew */ double ba_skew; /* skew */
double ba_kurtosis; /* kurtosis */ double ba_kurtosis; /* kurtosis */
#endif #endif
stats_t ba_raw; /* raw stats */ stats_t ba_raw; /* raw stats */
stats_t ba_corrected; /* corrected stats */ stats_t ba_corrected; /* corrected stats */
int ba_outliers; /* outlier count */ int ba_outliers; /* outlier count */
long long ba_t0; /* first thread/proc */ long long ba_t0; /* first thread/proc */
long long ba_t1; /* time of last thread*/ long long ba_t1; /* time of last thread */
long long ba_count0; long long ba_count0;
long long ba_errors0; long long ba_errors0;
int ba_datasize; /* possible #items data */ int ba_datasize; /* possible #items data */
double ba_data[1]; /* start of data ararry */ double ba_data[1]; /* start of data ararry */
} barrier_t; } barrier_t;
/* /*
* Barrier interfaces * Barrier interfaces
*/ */
 End of changes. 6 change blocks. 
9 lines changed or deleted 7 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/