Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
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
SWIFT
SWIFTsim
Commits
2831a1c2
Commit
2831a1c2
authored
5 years ago
by
rttw52
Browse files
Options
Downloads
Patches
Plain Diff
Fixed but in analyse_runtime.py
parent
95a97d75
No related branches found
No related tags found
1 merge request
!1050
Line-of-sight output along the z-axis
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/line_of_sight.c
+1
-1
1 addition, 1 deletion
src/line_of_sight.c
tools/analyse_runtime.py
+1
-1
1 addition, 1 deletion
tools/analyse_runtime.py
with
2 additions
and
2 deletions
src/line_of_sight.c
+
1
−
1
View file @
2831a1c2
...
...
@@ -436,7 +436,7 @@ void do_line_of_sight(struct engine *e) {
e
->
los_output_count
++
;
/* How long did we take? */
message
(
"took %.3f %s."
,
clocks_from_ticks
(
getticks
()
-
tic
),
if
(
verbose
)
message
(
"took %.3f %s."
,
clocks_from_ticks
(
getticks
()
-
tic
),
clocks_getunit
());
}
...
...
This diff is collapsed.
Click to expand it.
tools/analyse_runtime.py
+
1
−
1
View file @
2831a1c2
...
...
@@ -118,7 +118,7 @@ labels = [
[
"
fof_search_tree:
"
,
2
],
[
"
engine_launch: \(fof\)
"
,
2
],
[
"
engine_launch: \(fof comms\)
"
,
2
],
[
"
do_line_of_sight
"
,
0
],
[
"
do_line_of_sight
:
"
,
0
],
]
times
=
np
.
zeros
(
len
(
labels
))
counts
=
np
.
zeros
(
len
(
labels
))
...
...
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