mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
Add option to use logical cores for default threads
This commit is contained in:
@ -289,13 +289,19 @@ void UTIL_refFilename(FileNamesTable* fnt, const char* filename);
|
||||
FileNamesTable*
|
||||
UTIL_createExpandedFNT(const char* const* filenames, size_t nbFilenames, int followLinks);
|
||||
|
||||
#if defined(_WIN32) || defined(WIN32)
|
||||
DWORD CountSetBits(ULONG_PTR bitMask);
|
||||
#endif
|
||||
|
||||
/*-****************************************
|
||||
* System
|
||||
******************************************/
|
||||
|
||||
int UTIL_countCores(int logical);
|
||||
|
||||
int UTIL_countPhysicalCores(void);
|
||||
|
||||
int UTIL_countLogicalCores(void);
|
||||
|
||||
#if defined (__cplusplus)
|
||||
}
|
||||
|
Reference in New Issue
Block a user