Clean-up of profiling code

This commit is contained in:
Hrvoje Jasak 2013-08-26 12:18:13 +01:00
parent 5c2c9f6bdc
commit 668c0ae614

View file

@ -110,37 +110,37 @@ class profilingPool
// Member functions
mapType &map()
mapType& map()
{
return allInfo_;
}
const mapType &map() const
const mapType& map() const
{
return allInfo_;
}
profilingStack &stack()
profilingStack& stack()
{
return theStack_;
}
const profilingStack &stack() const
const profilingStack& stack() const
{
return theStack_;
}
public:
static void initprofiling(const IOobject &);
static void initprofiling(const IOobject&);
static profilingInfo& getInfo(const string &name);
static profilingInfo& getInfo(const string& name);
static void remove(const profilingInfo &info);
static void remove(const profilingInfo& info);
static void rememberTimer(const profilingInfo &info, clockTime &timer);
static void rememberTimer(const profilingInfo& info, clockTime& timer);
virtual bool writeData(Ostream &) const;
virtual bool writeData(Ostream&) const;
};