MiscLib Namespace Reference

Classes

class  AlignedAllocator
 
struct  MakeFixedAlignedAllocator
 
class  NoShrinkVector
 
struct  Pair
 
struct  Pair< FirstT, FirstT >
 
class  RefCount
 
class  RefCounted
 
class  RefCountPtr
 
class  Vector
 

Typedefs

typedef clock_t performance_t
 

Enumerations

enum  { DefaultAlignment = sizeof(size_t) }
 

Functions

performance_t GetPerformanceCounter ()
 
double GetPerformanceFreq ()
 
template<class FirstT, class SecondT>
Pair< FirstT, SecondT > MakePair (FirstT &first, SecondT &second)
 
float rn_frand ()
 
size_t rn_rand ()
 
size_t rn_refresh (void)
 
void rn_setseed (size_t)
 
size_t rn_urand (size_t m)
 

Variables

size_t rn_buf []
 
size_t rn_point = MiscLib_RN_BUFSIZE
 

Typedef Documentation

◆ performance_t

typedef clock_t performance_t

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DefaultAlignment 

Function Documentation

◆ GetPerformanceCounter()

performance_t GetPerformanceCounter ( )
inline

◆ GetPerformanceFreq()

double GetPerformanceFreq ( )
inline

◆ MakePair()

template<class FirstT, class SecondT>
Pair< FirstT, SecondT > MakePair ( FirstT & first,
SecondT & second )

◆ rn_frand()

float rn_frand ( )
inline

◆ rn_rand()

size_t rn_rand ( )
inline

◆ rn_refresh()

size_t rn_refresh ( void )

◆ rn_setseed()

void rn_setseed ( size_t seed)

◆ rn_urand()

size_t rn_urand ( size_t m)
inline

Variable Documentation

◆ rn_buf

size_t rn_buf
extern

◆ rn_point

size_t rn_point = MiscLib_RN_BUFSIZE
extern