Namespace threads
-
namespace threads
-
Variables
-
static thread_local std::shared_ptr<Level> currentLevel = nullptr
-
class Level
Public Functions
-
Level(int32_t numThreadsIn)
-
int getMaxThreadsAtNextLevel() const
-
std::vector<uint8_t> serialise()
-
int getLocalThreadNum(const faabric::Message *msg)
-
int getGlobalThreadNum(int localThreadNum)
-
int getGlobalThreadNum(const faabric::Message *msg)
-
std::string toString()
Public Members
-
int32_t depth = 0
-
int32_t activeLevels = 0
-
int32_t maxActiveLevels = 1
-
int32_t numThreads = 1
-
int32_t wantedThreads = -1
-
int32_t pushedThreads = -1
-
int32_t globalTidOffset = 0
Public Static Functions
-
static std::shared_ptr<Level> deserialise(const std::vector<uint8_t> &bytes)
-
Level(int32_t numThreadsIn)
-
class PthreadCall
Public Members
-
int32_t pthreadPtr
-
int32_t entryFunc
-
int32_t argsPtr
-
int32_t pthreadPtr
-
static thread_local std::shared_ptr<Level> currentLevel = nullptr