#include <PerThreadStorage.h>
Public Member Functions | |
| template<typename... Args> | |
| PerThreadStorage (Args &&...args) | |
| ~PerThreadStorage () | |
| T * | getLocal () const |
| T * | getLocal (unsigned int thread) const |
| Like getLocal() but optimized for when you already know the thread id. | |
| T * | getRemote (unsigned int thread) const |
| unsigned | size () const |
Protected Attributes | |
| unsigned | offset |
| PerBackend & | b |
| Galois::Runtime::PerThreadStorage< T >::PerThreadStorage | ( | Args &&... | args | ) | [inline] |
| Galois::Runtime::PerThreadStorage< T >::~PerThreadStorage | ( | ) | [inline] |
| T* Galois::Runtime::PerThreadStorage< T >::getLocal | ( | unsigned int | thread | ) | const [inline] |
Like getLocal() but optimized for when you already know the thread id.
| T* Galois::Runtime::PerThreadStorage< T >::getLocal | ( | ) | const [inline] |
| T* Galois::Runtime::PerThreadStorage< T >::getRemote | ( | unsigned int | thread | ) | const [inline] |
| unsigned Galois::Runtime::PerThreadStorage< T >::size | ( | ) | const [inline] |
PerBackend& Galois::Runtime::PerThreadStorage< T >::b [protected] |
unsigned Galois::Runtime::PerThreadStorage< T >::offset [protected] |
1.6.1