32 #ifndef qh_KEEPstatistics 33 #define qh_KEEPstatistics 1 369 #define zzdef_(stype,name,string,cnt) qhstat id[qhstat next++]=name; \ 370 qhstat doc[name]= string; qhstat count[name]= cnt; qhstat type[name]= stype 371 #if qh_KEEPstatistics 372 #define zdef_(stype,name,string,cnt) qhstat id[qhstat next++]=name; \ 373 qhstat doc[name]= string; qhstat count[name]= cnt; qhstat type[name]= stype 375 #define zdef_(type,name,doc,count) 384 #define zzinc_(id) {MAYdebugx; qhstat stats[id].i++;} 385 #if qh_KEEPstatistics 386 #define zinc_(id) {MAYdebugx; qhstat stats[id].i++;} 397 #define zzadd_(id, val) {MAYdebugx; qhstat stats[id].i += (val);} 398 #define wwadd_(id, val) {MAYdebugx; qhstat stats[id].r += (val);} 399 #if qh_KEEPstatistics 400 #define zadd_(id, val) {MAYdebugx; qhstat stats[id].i += (val);} 401 #define wadd_(id, val) {MAYdebugx; qhstat stats[id].r += (val);} 403 #define zadd_(id, val) {} 404 #define wadd_(id, val) {} 413 #define zzval_(id) ((qhstat stats[id]).i) 414 #define wwval_(id) ((qhstat stats[id]).r) 415 #if qh_KEEPstatistics 416 #define zval_(id) ((qhstat stats[id]).i) 417 #define wval_(id) ((qhstat stats[id]).r) 419 #define zval_(id) qhstat tempi 420 #define wval_(id) qhstat tempr 429 #define wwmax_(id, val) {MAYdebugx; maximize_(qhstat stats[id].r,(val));} 430 #if qh_KEEPstatistics 431 #define zmax_(id, val) {MAYdebugx; maximize_(qhstat stats[id].i,(val));} 432 #define wmax_(id, val) {MAYdebugx; maximize_(qhstat stats[id].r,(val));} 434 #define zmax_(id, val) {} 435 #define wmax_(id, val) {} 444 #if qh_KEEPstatistics 445 #define zmin_(id, val) {MAYdebugx; minimize_(qhstat stats[id].i,(val));} 446 #define wmin_(id, val) {MAYdebugx; minimize_(qhstat stats[id].r,(val));} 448 #define zmin_(id, val) {} 449 #define wmin_(id, val) {} 490 #if qh_QHpointer_dllimport 491 #define qhstat qh_qhstat-> 494 #define qhstat qh_qhstat-> 497 #define qhstat qh_qhstat. 500 #define qhstat qh_qhstat.
void qh_freestatistics(void)
void qh_printstats(FILE *fp, int idx, int *nextindex)
void qh_printallstatistics(FILE *fp, const char *string)
boolT qh_nostatistic(int i)
void qh_initstatistics(void)
void qh_printstatistics(FILE *fp, const char *string)
realT qh_stddev(int num, realT tot, realT tot2, realT *ave)
void qh_allstatistics(void)
void qh_collectstatistics(void)
boolT qh_newstats(int idx, int *nextindex)
void qh_printstatlevel(FILE *fp, int id)