Commit 9fe49025 authored by mark's avatar mark Committed by Mark OLESEN
Browse files

STYLE: note correct defaults for profiling

parent 90c0be38
......@@ -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();
......
......@@ -33,9 +33,9 @@ Description
profiling
{
active true;
cpuInfo true;
cpuInfo false;
memInfo false;
sysInfo true;
sysInfo false;
}
\endcode
or simply using all defaults:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment