Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sumpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Andreas Klöckner
sumpy
Commits
faa80af9
Commit
faa80af9
authored
6 years ago
by
Matt Wala
Browse files
Options
Downloads
Patches
Plain Diff
Rename _update_timing_data to update_timing_data, as subclasses are
expected to use it
parent
cd467c41
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!83
Collect timing data
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sumpy/fmm.py
+9
-9
9 additions, 9 deletions
sumpy/fmm.py
with
9 additions
and
9 deletions
sumpy/fmm.py
+
9
−
9
View file @
faa80af9
...
...
@@ -330,7 +330,7 @@ class SumpyExpansionWrangler(object):
# }}}
def
_
update_timing_data
(
self
,
description
,
timing_data
,
events
):
def
update_timing_data
(
self
,
description
,
timing_data
,
events
):
if
timing_data
is
None
:
return
...
...
@@ -383,7 +383,7 @@ class SumpyExpansionWrangler(object):
assert
mpoles_res
is
mpoles_view
self
.
_
update_timing_data
(
"
form_multipoles
"
,
timing_data
,
events
)
self
.
update_timing_data
(
"
form_multipoles
"
,
timing_data
,
events
)
return
mpoles
...
...
@@ -442,7 +442,7 @@ class SumpyExpansionWrangler(object):
if
events
:
mpoles
.
add_event
(
events
[
-
1
])
self
.
_
update_timing_data
(
"
coarsen_multipoles
"
,
timing_data
,
events
)
self
.
update_timing_data
(
"
coarsen_multipoles
"
,
timing_data
,
events
)
return
mpoles
...
...
@@ -471,7 +471,7 @@ class SumpyExpansionWrangler(object):
assert
pot_i
is
pot_res_i
pot_i
.
add_event
(
evt
)
self
.
_
update_timing_data
(
"
eval_direct
"
,
timing_data
,
events
)
self
.
update_timing_data
(
"
eval_direct
"
,
timing_data
,
events
)
return
pot
...
...
@@ -515,7 +515,7 @@ class SumpyExpansionWrangler(object):
**
self
.
kernel_extra_kwargs
)
events
.
append
(
evt
)
self
.
_
update_timing_data
(
"
eval_direct
"
,
timing_data
,
events
)
self
.
update_timing_data
(
"
eval_direct
"
,
timing_data
,
events
)
return
local_exps
...
...
@@ -568,7 +568,7 @@ class SumpyExpansionWrangler(object):
for
pot_i
in
pot
:
pot_i
.
add_event
(
events
[
-
1
])
self
.
_
update_timing_data
(
"
eval_multipoles
"
,
timing_data
,
events
)
self
.
update_timing_data
(
"
eval_multipoles
"
,
timing_data
,
events
)
return
pot
...
...
@@ -612,7 +612,7 @@ class SumpyExpansionWrangler(object):
assert
result
is
target_local_exps_view
self
.
_
update_timing_data
(
"
form_locals
"
,
timing_data
,
events
)
self
.
update_timing_data
(
"
form_locals
"
,
timing_data
,
events
)
return
local_exps
...
...
@@ -659,7 +659,7 @@ class SumpyExpansionWrangler(object):
local_exps
.
add_event
(
evt
)
self
.
_
update_timing_data
(
"
refine_locals
"
,
timing_data
,
events
)
self
.
update_timing_data
(
"
refine_locals
"
,
timing_data
,
events
)
return
local_exps
...
...
@@ -700,7 +700,7 @@ class SumpyExpansionWrangler(object):
for
pot_i
,
pot_res_i
in
zip
(
pot
,
pot_res
):
assert
pot_i
is
pot_res_i
self
.
_
update_timing_data
(
"
eval_locals
"
,
timing_data
,
events
)
self
.
update_timing_data
(
"
eval_locals
"
,
timing_data
,
events
)
return
pot
...
...
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