38 description_(
"application::main"),
51 const std::string& descr,
71 totalTime_ += elapsed;
73 if (id_ != parent_->
id())
75 parent_->childTime_ += elapsed;
92 const scalar elapsedTime,
93 const scalar childTimes
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
static const char * name(const bool b) noexcept
A string representation of bool as "false" / "true".
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
virtual Ostream & endBlock()
Write end block group.
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.