Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include <cache_simulator.h>
Public Member Functions | |
cache_simulator () | |
void | clear () |
void | resize (size_t Size) |
void | reset () |
void | push_cache_hits (bool Enabled=true) |
size_t | size () const |
void | push (index i, bool CountCacheHit=false) |
void | merge (const cache_simulator &Backward, size_t PossibleOverlap) |
void | reset_hitcount () |
size_t | hitcount () const |
Protected Types | |
typedef std::deque< index > | indices_deque |
Protected Attributes | |
indices_deque | m_Cache |
size_t | m_NbHits |
bool | m_PushHits |
Definition at line 27 of file cache_simulator.h.
|
protected |
Definition at line 45 of file cache_simulator.h.
|
inline |
Definition at line 60 of file cache_simulator.h.
|
inline |
Definition at line 68 of file cache_simulator.h.
References m_Cache, and reset_hitcount().
|
inline |
Definition at line 139 of file cache_simulator.h.
References m_NbHits.
Referenced by triangle_stripper::tri_stripper::Strip().
|
inline |
Definition at line 122 of file cache_simulator.h.
References i, m_Cache, m_NbHits, vl::min(), push(), and size().
Referenced by triangle_stripper::tri_stripper::Strip().
|
inline |
Definition at line 100 of file cache_simulator.h.
References i, m_Cache, m_NbHits, and m_PushHits.
Referenced by merge(), and triangle_stripper::tri_stripper::Strip().
Definition at line 88 of file cache_simulator.h.
References m_PushHits.
Referenced by triangle_stripper::tri_stripper::SetPushCacheHits().
|
inline |
Definition at line 81 of file cache_simulator.h.
References m_Cache, max, and reset_hitcount().
Referenced by triangle_stripper::tri_stripper::Strip().
|
inline |
Definition at line 133 of file cache_simulator.h.
References m_NbHits.
|
inline |
Definition at line 75 of file cache_simulator.h.
Referenced by triangle_stripper::tri_stripper::SetCacheSize().
|
inline |
Definition at line 94 of file cache_simulator.h.
References m_Cache.
Referenced by merge(), and triangle_stripper::tri_stripper::Strip().
|
protected |
|
protected |
Definition at line 48 of file cache_simulator.h.
Referenced by hitcount(), merge(), push(), and reset_hitcount().
|
protected |
Definition at line 49 of file cache_simulator.h.
Referenced by push(), and push_cache_hits().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:45:02.
© Copyright Michele Bosi. All rights reserved.