Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
OpenFOAM-plus
Commits
9fe49025
Commit
9fe49025
authored
Oct 19, 2017
by
mark
Committed by
Mark OLESEN
Oct 20, 2017
Browse files
STYLE: note correct defaults for profiling
parent
90c0be38
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/global/profiling/profiling.C
View file @
9fe49025
...
...
@@ -48,8 +48,7 @@ Foam::profilingInformation* Foam::profiling::find
const
label
parentId
)
{
StorageContainer
::
iterator
iter
=
hash_
.
find
(
Key
(
descr
,
parentId
));
return
(
iter
.
found
()
?
iter
()
:
0
);
return
hash_
.
lookup
(
Key
(
descr
,
parentId
),
nullptr
);
}
...
...
@@ -313,6 +312,7 @@ const Foam::Time& Foam::profiling::owner() const
return
owner_
;
}
Foam
::
label
Foam
::
profiling
::
size
()
const
{
return
stack_
.
size
();
...
...
src/OpenFOAM/global/profiling/profiling.H
View file @
9fe49025
...
...
@@ -33,9 +33,9 @@ Description
profiling
{
active true;
cpuInfo
tru
e;
cpuInfo
fals
e;
memInfo false;
sysInfo
tru
e;
sysInfo
fals
e;
}
\endcode
or simply using all defaults:
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment