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

Definition at line 27 of file Performance.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DefaultAlignment 

Definition at line 14 of file AlignedAllocator.h.

Function Documentation

◆ GetPerformanceCounter()

performance_t MiscLib::GetPerformanceCounter ( )
inline

Definition at line 28 of file Performance.h.

◆ GetPerformanceFreq()

double MiscLib::GetPerformanceFreq ( )
inline

Definition at line 32 of file Performance.h.

◆ MakePair()

Pair< FirstT, SecondT > MiscLib::MakePair ( FirstT &  first,
SecondT &  second 
)

Definition at line 63 of file Pair.h.

◆ rn_frand()

float MiscLib::rn_frand ( )
inline

Definition at line 30 of file Random.h.

+ Here is the call graph for this function:

◆ rn_rand()

size_t MiscLib::rn_rand ( )
inline

Definition at line 20 of file Random.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rn_refresh()

size_t rn_refresh ( void  )

Definition at line 92 of file Random.cpp.

+ Here is the caller graph for this function:

◆ rn_setseed()

void rn_setseed ( size_t  seed)

Definition at line 25 of file Random.cpp.

+ Here is the caller graph for this function:

◆ rn_urand()

size_t MiscLib::rn_urand ( size_t  m)
inline

Definition at line 26 of file Random.h.

+ Here is the call graph for this function:

Variable Documentation

◆ rn_buf

size_t rn_buf

Definition at line 22 of file Random.cpp.

◆ rn_point

size_t rn_point = MiscLib_RN_BUFSIZE

Definition at line 23 of file Random.cpp.