Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e22ef79f authored by Philippe Virouleau's avatar Philippe Virouleau
Browse files

output stats for hash tables

parent ea51ac6c
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,7 @@ static kmp_dephash_t *__kmp_dephash_extend(kmp_info_t *thread,
h->buckets = (kmp_dephash_entry **)(h + 1);
h->generation = gen;
fprintf(stderr, "%i", current_dephash->size);
// insert existing elements in the new table
for (size_t i = 0; i < current_dephash->size; i++) {
kmp_dephash_entry_t *next;
......@@ -107,7 +108,13 @@ static kmp_dephash_t *__kmp_dephash_extend(kmp_info_t *thread,
entry->next_in_bucket = h->buckets[new_bucket];
h->buckets[new_bucket] = entry;
}
fprintf(stderr, ",%2i", nelems);
//if (i%45==44) {
//fprintf(stderr, "\n");
//;
//}
}
fprintf(stderr, "\n");
// Free old hash table
#if USE_FAST_MEMORY
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment