-
Notifications
You must be signed in to change notification settings - Fork 61
Add timing for search #1909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add timing for search #1909
Conversation
916d880 to
19c4bc6
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1909 +/- ##
==========================================
- Coverage 75.77% 75.64% -0.13%
==========================================
Files 103 103
Lines 19230 19273 +43
==========================================
+ Hits 14572 14580 +8
- Misses 4658 4693 +35 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
holke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice addition.
Looks good to me.
The comments got messed up and some new lines were missing.
| return forest->profile->search_check_element_time; | ||
| } | ||
| return 0; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| } | |
| } | |
| return forest->profile->search_check_query_time; | ||
| } | ||
| return 0; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| } | |
| } | |
| return forest->profile->search_split_array_time; | ||
| } | ||
| return 0; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| } | |
| } | |
| * \see t8_forest_set_profiling | ||
| */ | ||
| double | ||
| t8_forest_profile_get_search_check_element_runtime (t8_forest_t forest); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| t8_forest_profile_get_search_check_element_runtime (t8_forest_t forest); | |
| t8_forest_profile_get_search_check_element_runtime (t8_forest_t forest); | |
| * \see t8_forest_set_profiling | ||
| */ | ||
| double | ||
| t8_forest_profile_get_search_check_query_runtime (t8_forest_t forest); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| t8_forest_profile_get_search_check_query_runtime (t8_forest_t forest); | |
| t8_forest_profile_get_search_check_query_runtime (t8_forest_t forest); | |
| * \see t8_forest_set_profiling | ||
| */ | ||
| double | ||
| t8_forest_profile_get_search_split_array_runtime (t8_forest_t forest); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| t8_forest_profile_get_search_split_array_runtime (t8_forest_t forest); | |
| t8_forest_profile_get_search_split_array_runtime (t8_forest_t forest); | |
| * \see t8_forest_set_profiling | ||
| */ | ||
| double | ||
| t8_forest_profile_get_search_check_element_runtime (t8_forest_t forest); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| t8_forest_profile_get_search_check_element_runtime (t8_forest_t forest); | |
| t8_forest_profile_get_search_check_element_runtime (t8_forest_t forest); | |
| double | ||
| t8_forest_profile_get_first_descendant_runtime (t8_forest_t forest); | ||
|
|
||
| /** Get the sum of the runtimes of the last calls to \ref check_element in search. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All comments do not match the actual function. Please re-edit them.
Closes #1911
Describe your changes here:
All these boxes must be checked by the AUTHOR before requesting review:
Documentation:,Bugfix:,Feature:,Improvement:orOther:.All these boxes must be checked by the REVIEWERS before merging the pull request:
As a reviewer please read through all the code lines and make sure that the code is fully understood, bug free, well-documented and well-structured.
General
Tests
If the Pull request introduces code that is not covered by the github action (for example coupling with a new library):
Scripts and Wiki
script/find_all_source_files.scpto check the indentation of these files.License
doc/(or already has one).