Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ACG::GPUCacheOptimizerTipsify::RingStack Struct Reference

Simple and fast fixed size stack used in tipsify implementation. More...

Public Member Functions

 RingStack (unsigned int _uiSize)
 
 RingStack (const RingStack &_other)
 
unsigned int length () const
 current stack length
 
unsigned int size () const
 reserved stack size i.e. maximum length
 
void push (unsigned int v)
 
unsigned int pop ()
 

Private Member Functions

unsigned int pos (unsigned int i) const
 

Private Attributes

unsigned int * pStack
 
unsigned int uiStart
 
unsigned int uiLen
 
unsigned int uiSize
 

Detailed Description

Simple and fast fixed size stack used in tipsify implementation.

Definition at line 285 of file GPUCacheOptimizer.hh.


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