Free Electron
Public Member Functions | Private Attributes | List of all members
fe::Profiler::Profile Class Reference

Tick-based precision time meter. More...

#include <Profiler.h>

Inheritance diagram for fe::Profiler::Profile:
Inheritance graph
[legend]

Public Member Functions

 Profile (sp< Profiler > spProfiler, String name)
 
const Stringname (void) const
 
F64 microseconds (void) const
 
U32 count (void) const
 
void start (void)
 
void finish (void)
 
void replace (sp< Profile > &rspProfile)
 
String report (void) const
 
- Public Member Functions inherited from fe::Handled< Profile >
const hp< Profile > & getHandle (void) const
 Get a safe handle to this object. More...
 
- Public Member Functions inherited from fe::Protectable
virtual I32 protection (void) const
 
virtual void protect (void)
 
virtual void unprotect (void)
 
virtual Protectableclone (Protectable *pInstance=NULL)
 
- Public Member Functions inherited from fe::Counted
virtual void acquire (void)
 Increment the reference count. More...
 
virtual void acquire (int &rCount)
 Increment the reference count (and get the count) More...
 
virtual void release (void)
 Decrement the reference count. More...
 
virtual void abandon (void)
 Decrement the reference count. More...
 
int count (void) const
 Return the count of references. More...
 
void setName (const String &)
 
void trackReference (void *pReference, String what)
 
void untrackReference (void *pReference)
 
void registerRegion (void *pT, U32 bytes)
 

Private Attributes

sp< Profilerm_spProfiler
 
String m_name
 
U32 m_count
 
F64 m_us
 
unsigned long m_startTick
 

Additional Inherited Members

- Static Public Member Functions inherited from fe::Counted
static String reportTracker (void)
 
static U32 trackerCount (void)
 
- Protected Member Functions inherited from fe::Handled< Profile >
void abandonHandle (void)
 
- Protected Member Functions inherited from fe::Counted
int releaseInternal (void)
 Decrement the reference count. More...
 
void suppressReport (void)
 

Detailed Description

Tick-based precision time meter.


The documentation for this class was generated from the following files: