Public Types | Public Member Functions | Public Attributes | Friends
Ogre::Profiler::ProfileInstance Class Reference

Represents an individual profile call. More...

#include <OgreProfiler.h>

Inheritance diagram for Ogre::Profiler::ProfileInstance:
Inheritance graph
[legend]

List of all members.

Public Types

typedef Ogre::map< String,
ProfileInstance * >::type 
ProfileChildren

Public Member Functions

 ProfileInstance (void)
virtual ~ProfileInstance (void)
void logResults ()
void reset ()
bool watchForMax (void)
bool watchForMin (void)
bool watchForLimit (Real limit, bool greaterThan=true)
bool watchForMax (const String &profileName)
bool watchForMin (const String &profileName)
bool watchForLimit (const String &profileName, Real limit, bool greaterThan=true)
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
void * operator new (size_t sz)
void * operator new (size_t sz, void *ptr)
 placement operator new
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
void * operator new[] (size_t sz)
void operator delete (void *ptr)
void operator delete (void *ptr, void *)
void operator delete (void *ptr, const char *, int, const char *)
void operator delete[] (void *ptr)
void operator delete[] (void *ptr, const char *, int, const char *)

Public Attributes

String name
 The name of the profile.
ProfileInstanceparent
 The name of the parent, null if root.
ProfileChildren children
ProfileFrame frame
ulong frameNumber
ProfileHistory history
ulong currTime
 The time this profile was started.
ulong accum
 Represents the total time of all child profiles to subtract from this profile.
uint hierarchicalLvl
 The hierarchical level of this profile, 0 being the root profile.

Friends

class Profiler

Detailed Description

Represents an individual profile call.

Definition at line 405 of file OgreProfiler.h.


Member Typedef Documentation

Definition at line 413 of file OgreProfiler.h.


Constructor & Destructor Documentation


Member Function Documentation

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr) [inherited]

Definition at line 95 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
) [inherited]

Definition at line 101 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
) [inherited]

Definition at line 107 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr) [inherited]

Definition at line 112 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
) [inherited]

Definition at line 118 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
) [inherited]

operator new, with debug line info

Definition at line 67 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz) [inherited]

Definition at line 72 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
) [inherited]

placement operator new

Definition at line 78 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
) [inherited]

array operator new, with debug line info

Definition at line 85 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz) [inherited]

Definition at line 90 of file OgreMemoryAllocatedObject.h.

bool Ogre::Profiler::ProfileInstance::watchForLimit ( Real  limit,
bool  greaterThan = true 
)

Definition at line 420 of file OgreProfiler.h.

bool Ogre::Profiler::ProfileInstance::watchForLimit ( const String profileName,
Real  limit,
bool  greaterThan = true 
)

Definition at line 418 of file OgreProfiler.h.

Definition at line 419 of file OgreProfiler.h.


Friends And Related Function Documentation

friend class Profiler [friend]

Definition at line 408 of file OgreProfiler.h.


Member Data Documentation

Represents the total time of all child profiles to subtract from this profile.

Definition at line 450 of file OgreProfiler.h.

Definition at line 438 of file OgreProfiler.h.

The time this profile was started.

Definition at line 446 of file OgreProfiler.h.

Definition at line 440 of file OgreProfiler.h.

Definition at line 441 of file OgreProfiler.h.

The hierarchical level of this profile, 0 being the root profile.

Definition at line 453 of file OgreProfiler.h.

Definition at line 443 of file OgreProfiler.h.

The name of the profile.

Definition at line 433 of file OgreProfiler.h.

The name of the parent, null if root.

Definition at line 436 of file OgreProfiler.h.


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Sun Sep 2 2012 07:27:34