GaloisRuntime Namespace Reference

Namespaces

namespace  HIDDEN
namespace  MM
namespace  WorkList

Classes

struct  cache_line_storage
class  cache_line_storage2
class  Lockable
class  SimpleRuntimeContext
class  galois_insert_bag
class  PaddedLock< true >
class  PaddedLock< false >
class  SimpleRuntimeContextHandler< true >
class  SimpleRuntimeContextHandler< false >
class  StatisticHandler< true >
class  StatisticHandler< false >
class  BreakImpl< true >
class  BreakImpl< false >
class  API_Break< true >
class  API_Break< false >
class  API_PerIter< true >
class  API_PerIter< false >
class  API_Push< true, WLT >
class  API_Push< false, WLT >
struct  Configurator
class  ParallelThreadContext
class  ForEachWork
class  PerCPU
class  PerLevel
class  QueuingLock< true >
class  QueuingLock< false >
class  SimpleLock< T, true >
class  SimpleLock< T, false >
class  PtrLock< T, true >
class  PtrLock< T, false >
class  TerminationDetection
struct  initMainThread
class  ThreadPool
class  ThreadPolicy
class  ThreadAware

Typedefs

typedef
boost::intrusive::slist_base_hook
< boost::intrusive::tag
< LockableListTag >
, boost::intrusive::link_mode
< boost::intrusive::normal_link > > 
LockableBaseHook

Functions

static SimpleRuntimeContextgetThreadContext ()
 get the current conflict detection class, may be null if not in parallel region
void setThreadContext (SimpleRuntimeContext *n)
 used by the parallel code to set up conflict detection per thread
static bool shouldLock (Galois::MethodFlag g)
 Helper function to decide if the conflict detection lock should be taken.
static __attribute__ ((unused)) void acquire(Lockable *C
 Master function which handles conflict detection.
static Galois::MethodFlagif (shouldLock(m))
template<typename WLTy , typename IterTy , typename Function >
void for_each_impl (IterTy b, IterTy e, Function f, const char *loopname)
void reportStatSum (const char *text, unsigned long val, const char *loopname=0)
void reportStatAvg (const char *text, unsigned long val, const char *loopname=0)
void statDone ()
void reportWarning (const char *text)
void reportWarning (const char *text, unsigned int val)
void reportWarning (const char *text, unsigned long val)
void reportWarning (const char *text, const char *val)
void reportInfo (const char *text)
void reportInfo (const char *text, unsigned int val)
void reportInfo (const char *text, unsigned long val)
void reportInfo (const char *text, const char *val)
ThreadPoolgetSystemThreadPool ()
ThreadPolicygetSystemThreadPolicy ()
void setSystemThreadPolicy (const char *name)

Variables

__thread SimpleRuntimeContextthread_cnx

Typedef Documentation

typedef boost::intrusive::slist_base_hook<boost::intrusive::tag<LockableListTag>,boost::intrusive::link_mode<boost::intrusive::normal_link> > GaloisRuntime::LockableBaseHook

Function Documentation

static GaloisRuntime::__attribute__ ( (unused)   )  [static]

Master function which handles conflict detection.

template<typename WLTy , typename IterTy , typename Function >
void GaloisRuntime::for_each_impl ( IterTy  b,
IterTy  e,
Function  f,
const char *  loopname 
) [inline]
ThreadPolicy & GaloisRuntime::getSystemThreadPolicy (  ) 
ThreadPool& GaloisRuntime::getSystemThreadPool (  ) 
static SimpleRuntimeContext* GaloisRuntime::getThreadContext (  )  [static]

get the current conflict detection class, may be null if not in parallel region

static Galois::MethodFlag m GaloisRuntime::if ( shouldLock(m)   ) 
void GaloisRuntime::reportInfo ( const char *  text,
const char *  val 
)
void GaloisRuntime::reportInfo ( const char *  text,
unsigned long  val 
)
void GaloisRuntime::reportInfo ( const char *  text,
unsigned int  val 
)
void GaloisRuntime::reportInfo ( const char *  text  ) 
void GaloisRuntime::reportStatAvg ( const char *  text,
unsigned long  val,
const char *  loopname = 0 
)
void GaloisRuntime::reportStatSum ( const char *  text,
unsigned long  val,
const char *  loopname = 0 
)
void GaloisRuntime::reportWarning ( const char *  text,
const char *  val 
)
void GaloisRuntime::reportWarning ( const char *  text,
unsigned long  val 
)
void GaloisRuntime::reportWarning ( const char *  text,
unsigned int  val 
)
void GaloisRuntime::reportWarning ( const char *  text  ) 
void GaloisRuntime::setSystemThreadPolicy ( const char *  name  ) 
void GaloisRuntime::setThreadContext ( SimpleRuntimeContext *  n  ) 

used by the parallel code to set up conflict detection per thread

static bool GaloisRuntime::shouldLock ( Galois::MethodFlag  g  )  [inline, static]

Helper function to decide if the conflict detection lock should be taken.

void GaloisRuntime::statDone (  ) 

Variable Documentation

Generated on Tue Aug 2 11:51:30 2011 for Galois by  doxygen 1.6.3