Lines Matching refs:counts
212 ULong* counts; member
271 static Counts* new_Counts ( Int n_counts, /*COPIED*/ULong* counts ) in new_Counts() argument
279 cts->counts = malloc(n_counts * sizeof(ULong)); in new_Counts()
280 if (cts->counts == NULL) in new_Counts()
285 cts->counts[i] = counts[i]; in new_Counts()
298 cts->counts = malloc(n_counts * sizeof(ULong)); in new_Counts_Zeroed()
299 if (cts->counts == NULL) in new_Counts_Zeroed()
304 cts->counts[i] = 0; in new_Counts_Zeroed()
317 if (cts->counts) in ddel_Counts()
318 free(cts->counts); in ddel_Counts()
325 return new_Counts( cts->n_counts, cts->counts ); in dopy_Counts()
389 fprintf(f, "%lld ", c->counts[i]); in showCounts()
424 fprintf(f, " %lld", cpf->summary->counts[i]); in show_CacheProfFile()
480 Counts* counts; in splitUpCountsLine() local
498 counts = new_Counts( n_tmpC-1, /*COPIED*/&tmpC[1] ); in splitUpCountsLine()
500 counts = new_Counts( n_tmpC, /*COPIED*/&tmpC[0] ); in splitUpCountsLine()
503 return counts; in splitUpCountsLine()
513 counts1->counts[i] += counts2->counts[i]; in addCounts()
730 if (summaryRead->counts[i] != cpf->summary->counts[i]) { in parse_CacheProfFile()
735 free(summaryRead->counts); in parse_CacheProfFile()