Adding profiling in additional places
--HG-- branch : bgschaid/minorAdditionsBranch
This commit is contained in:
parent
c2937515ba
commit
4aaa1d47e6
2 changed files with 8 additions and 0 deletions
|
@ -281,8 +281,12 @@ bool Foam::Time::writeObject
|
|||
IOstream::compressionType cmp
|
||||
) const
|
||||
{
|
||||
addProfile2(getCalled,"Foam::Time::writeObject");
|
||||
|
||||
if (outputTime())
|
||||
{
|
||||
addProfile2(actualOutput,"Foam::Time::writeObject - outputTime");
|
||||
|
||||
IOdictionary timeDict
|
||||
(
|
||||
IOobject
|
||||
|
|
|
@ -32,6 +32,8 @@ License
|
|||
#include "Time.H"
|
||||
#include "OFstream.H"
|
||||
|
||||
#include "Profiling.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
template<class ParticleType>
|
||||
|
@ -125,6 +127,8 @@ template<class ParticleType>
|
|||
template<class TrackingData>
|
||||
void Foam::Cloud<ParticleType>::move(TrackingData& td)
|
||||
{
|
||||
addProfile2(moveProfile,"Cloud<ParticleType>::move_"+this->name());
|
||||
|
||||
const globalMeshData& pData = polyMesh_.globalData();
|
||||
const labelList& processorPatches = pData.processorPatches();
|
||||
const labelList& processorPatchIndices = pData.processorPatchIndices();
|
||||
|
|
Reference in a new issue