Lines Matching refs:thread
59 static inline int STAT_increment(int thread, int bin, int ctr) in STAT_increment() argument
61 …return reportAllocationStatistics && thread < MAX_THREADS ? ++(statistic[thread][bin].counter[ctr]… in STAT_increment()
76 static inline void STAT_print(int thread) in STAT_print() argument
83 sprintf(filename, "stat_ScalableMalloc_proc%04d_thr%04d.log", getpid(), thread); in STAT_print()
85 sprintf(filename, "stat_ScalableMalloc_thr%04d.log", thread); in STAT_print()
90 bin_counters& ctrs = statistic[thread][i]; in STAT_print()
91 fprintf(outfile, "Thr%04d Bin%02d", thread, i); in STAT_print()
104 bin_counters& ctrs = statistic[thread][i]; in STAT_print()
105 fprintf(outfile, "Thr%04d Bin%02d", thread, i); in STAT_print()
113 bin_counters& ctrs = statistic[thread][ThreadCommonCounters]; in STAT_print()
114 fprintf(outfile, "Thr%04d common counters", thread); in STAT_print()