OGRE
1.9.0
|
Vertex cache profiler. More...
#include <OgreVertexIndexData.h>
Public Member Functions | |
VertexCacheProfiler (unsigned int cachesize=16) | |
~VertexCacheProfiler () | |
void | flush () |
unsigned int | getHits () |
unsigned int | getMisses () |
unsigned int | getSize () |
void | operator delete (void *ptr) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz) |
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, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz) |
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, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void | profile (const HardwareIndexBufferSharedPtr &indexBuffer) |
void | reset () |
Private Member Functions | |
bool | inCache (unsigned int index) |
Private Attributes | |
unsigned int | buffersize |
uint32 * | cache |
unsigned int | hit |
unsigned int | miss |
unsigned int | size |
unsigned int | tail |
Vertex cache profiler.
Definition at line 285 of file OgreVertexIndexData.h.
Ogre::VertexCacheProfiler::VertexCacheProfiler | ( | unsigned int | cachesize = 16 | ) |
Definition at line 288 of file OgreVertexIndexData.h.
References buffersize, cache, hit, Ogre::MEMCATEGORY_GEOMETRY, miss, OGRE_ALLOC_T, size, and tail.
Ogre::VertexCacheProfiler::~VertexCacheProfiler | ( | ) |
Definition at line 294 of file OgreVertexIndexData.h.
References cache, Ogre::MEMCATEGORY_GEOMETRY, and OGRE_FREE.
void Ogre::VertexCacheProfiler::flush | ( | ) |
Definition at line 301 of file OgreVertexIndexData.h.
References buffersize, and tail.
unsigned int Ogre::VertexCacheProfiler::getHits | ( | ) |
Definition at line 303 of file OgreVertexIndexData.h.
References hit.
unsigned int Ogre::VertexCacheProfiler::getMisses | ( | ) |
Definition at line 304 of file OgreVertexIndexData.h.
References miss.
unsigned int Ogre::VertexCacheProfiler::getSize | ( | ) |
Definition at line 305 of file OgreVertexIndexData.h.
References size.
|
private |
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
void Ogre::VertexCacheProfiler::profile | ( | const HardwareIndexBufferSharedPtr & | indexBuffer | ) |
void Ogre::VertexCacheProfiler::reset | ( | ) |
Definition at line 300 of file OgreVertexIndexData.h.
References buffersize, hit, miss, and tail.
|
private |
Definition at line 310 of file OgreVertexIndexData.h.
Referenced by VertexCacheProfiler(), flush(), and reset().
|
private |
Definition at line 308 of file OgreVertexIndexData.h.
Referenced by VertexCacheProfiler(), and ~VertexCacheProfiler().
|
private |
Definition at line 311 of file OgreVertexIndexData.h.
Referenced by VertexCacheProfiler(), getHits(), and reset().
|
private |
Definition at line 311 of file OgreVertexIndexData.h.
Referenced by VertexCacheProfiler(), getMisses(), and reset().
|
private |
Definition at line 307 of file OgreVertexIndexData.h.
Referenced by VertexCacheProfiler(), and getSize().
|
private |
Definition at line 310 of file OgreVertexIndexData.h.
Referenced by VertexCacheProfiler(), flush(), and reset().