Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Peter Sherwood
athena
Commits
2b235079
Commit
2b235079
authored
7 years ago
by
Andy Haas
Browse files
Options
Downloads
Patches
Plain Diff
timing for 100 loops
parent
f6e2dc7b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Trigger/TrigFTK/FTK_RecTools/src/FTK_DuplicateTrackRemovalTool.cxx
+2
-0
2 additions, 0 deletions
...rigFTK/FTK_RecTools/src/FTK_DuplicateTrackRemovalTool.cxx
with
2 additions
and
0 deletions
Trigger/TrigFTK/FTK_RecTools/src/FTK_DuplicateTrackRemovalTool.cxx
+
2
−
0
View file @
2b235079
...
...
@@ -97,6 +97,7 @@ FTK_RawTrackContainer* FTK_DuplicateTrackRemovalTool::removeDuplicates(const FTK
#ifdef FTKDuplicateTrackRemovalTiming
clock_t
tStart
=
clock
();
for
(
int
tim
=
0
;
tim
<
100
;
++
tim
){
#endif
ATH_MSG_DEBUG
(
"ACH99 - I'm in removeDuplicates!"
);
...
...
@@ -170,6 +171,7 @@ FTK_RawTrackContainer* FTK_DuplicateTrackRemovalTool::removeDuplicates(const FTK
}
// loop over incoming tracks
#ifdef FTKDuplicateTrackRemovalTiming
}
// loop over 100 times of doing the removal
clock_t
tEnd
=
clock
();
double
elapsed_secs
=
double
(
tEnd
-
tStart
)
/
CLOCKS_PER_SEC
;
ATH_MSG_INFO
(
"Time taken: "
<<
elapsed_secs
<<
"s"
);
...
...
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