Go to the documentation of this file.
38 description_(
"application::main"),
71 totalTime_ += elapsed;
73 if (id_ != parent_->id())
75 parent_->childTime_ += elapsed;
92 const scalar elapsedTime,
93 const scalar childTimes
103 os.
writeEntry(
"calls", calls() + (offset ? 1 : 0));
104 os.
writeEntry(
"totalTime", totalTime() + elapsedTime);
105 os.
writeEntry(
"childTime", childTime() + childTimes);
119 return info.
write(os);
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
A class for handling words, derived from Foam::string.
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const complex &c)
Return string representation of complex.
virtual Ostream & endBlock()
Write end block group.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & operator<<(Ostream &, const boundaryPatch &)