32 #if !ALIB_SINGLE_THREADED
46 NAString& target,
int maxKeyLength= 10 )
91 #if !ALIB_SINGLE_THREADED
ALIB_DLL NAString & storeThreadToScope(ThreadID threadID)
ALIB_DLL NAString & storeKeyToScope(String key)
NAString & targetBuffer
The target to write to.
ALIB_DLL int writeStore(ScopeStore< T, true > *store, int indentSpaces)
ScopeDump(ScopeInfo::ThreadDictionary &threadDictionary, const NString noKeyHashKey, NAString &target, int maxKeyLength=10)
ScopeInfo::ThreadDictionary & threadDict
User-defined threads names.
ALIB_DLL integer writeStoreMapHelper(SSMap< T > &map, const NString &prefix)
ALIB_DLL int writeStoreMap(ScopeStore< T, false > *store)
const NString noKey
String to identify global keys.
integer maximumKeyLength
The maximum length of a key. Adjusts (increases) over life-cycle.
HashMap< MonoAllocator, threads::ThreadID, String32 > ThreadDictionary
A map we use to translate thread IDs to thread names.
#define IF_ALIB_THREADS(...)
HashMap< PoolAllocator, NString, T, std::hash< NString >, std::equal_to< NString >, lang::Caching::Enabled, Recycling::None > SSMap
Shortcut to the ScopeStore's hashmap.
threads::ThreadID ThreadID
Type to store thread identifiers.
lang::integer integer
Type alias in namespace alib.
strings::TString< nchar > NString
Type alias in namespace alib.
strings::TAString< nchar, lang::HeapAllocator > NAString
Type alias in namespace alib.
strings::TString< character > String
Type alias in namespace alib.