Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libkomp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
openmp
libkomp
Commits
e22ef79f
Commit
e22ef79f
authored
5 years ago
by
Philippe Virouleau
Browse files
Options
Downloads
Patches
Plain Diff
output stats for hash tables
parent
ea51ac6c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
runtime/src/kmp_taskdeps.cpp
+7
-0
7 additions, 0 deletions
runtime/src/kmp_taskdeps.cpp
with
7 additions
and
0 deletions
runtime/src/kmp_taskdeps.cpp
+
7
−
0
View file @
e22ef79f
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment