42 #ifndef qh_KEEPstatistics 43 #define qh_KEEPstatistics 1 379 #define zzdef_(stype,name,string,cnt) qh->qhstat.id[qh->qhstat.next++]=name; \ 380 qh->qhstat.doc[name]= string; qh->qhstat.count[name]= cnt; qh->qhstat.type[name]= stype 381 #if qh_KEEPstatistics 382 #define zdef_(stype,name,string,cnt) qh->qhstat.id[qh->qhstat.next++]=name; \ 383 qh->qhstat.doc[name]= string; qh->qhstat.count[name]= cnt; qh->qhstat.type[name]= stype 385 #define zdef_(type,name,doc,count) 394 #define zzinc_(id) {MAYdebugx; qh->qhstat.stats[id].i++;} 395 #if qh_KEEPstatistics 396 #define zinc_(id) {MAYdebugx; qh->qhstat.stats[id].i++;} 407 #define zzadd_(id, val) {MAYdebugx; qh->qhstat.stats[id].i += (val);} 408 #define wwadd_(id, val) {MAYdebugx; qh->qhstat.stats[id].r += (val);} 409 #if qh_KEEPstatistics 410 #define zadd_(id, val) {MAYdebugx; qh->qhstat.stats[id].i += (val);} 411 #define wadd_(id, val) {MAYdebugx; qh->qhstat.stats[id].r += (val);} 413 #define zadd_(id, val) {} 414 #define wadd_(id, val) {} 423 #define zzval_(id) ((qh->qhstat.stats[id]).i) 424 #define wwval_(id) ((qh->qhstat.stats[id]).r) 425 #if qh_KEEPstatistics 426 #define zval_(id) ((qh->qhstat.stats[id]).i) 427 #define wval_(id) ((qh->qhstat.stats[id]).r) 429 #define zval_(id) qh->qhstat.tempi 430 #define wval_(id) qh->qhstat.tempr 439 #define wwmax_(id, val) {MAYdebugx; maximize_(qh->qhstat.stats[id].r,(val));} 440 #if qh_KEEPstatistics 441 #define zmax_(id, val) {MAYdebugx; maximize_(qh->qhstat.stats[id].i,(val));} 442 #define wmax_(id, val) {MAYdebugx; maximize_(qh->qhstat.stats[id].r,(val));} 444 #define zmax_(id, val) {} 445 #define wmax_(id, val) {} 454 #if qh_KEEPstatistics 455 #define zmin_(id, val) {MAYdebugx; minimize_(qh->qhstat.stats[id].i,(val));} 456 #define wmin_(id, val) {MAYdebugx; minimize_(qh->qhstat.stats[id].r,(val));} 458 #define zmin_(id, val) {} 459 #define wmin_(id, val) {} 488 unsigned char id[
ZEND+10];
489 const char *doc[
ZEND];
490 short int count[
ZEND];
void qh_printstatistics(qhT *qh, FILE *fp, const char *string)
void qh_allstatE(qhT *qh)
void qh_allstatG(qhT *qh)
void qh_printallstatistics(qhT *qh, FILE *fp, const char *string)
boolT qh_nostatistic(qhT *qh, int i)
void qh_printstats(qhT *qh, FILE *fp, int idx, int *nextindex)
void qh_allstatA(qhT *qh)
void qh_allstatistics(qhT *qh)
void qh_allstatI(qhT *qh)
void qh_allstatB(qhT *qh)
void qh_allstatF(qhT *qh)
void qh_collectstatistics(qhT *qh)
void qh_allstatH(qhT *qh)
realT qh_stddev(int num, realT tot, realT tot2, realT *ave)
void qh_allstatD(qhT *qh)
void qh_allstatE2(qhT *qh)
boolT qh_newstats(qhT *qh, int idx, int *nextindex)
void qh_allstatC(qhT *qh)
void qh_initstatistics(qhT *qh)
void qh_printstatlevel(qhT *qh, FILE *fp, int id)