Add option to use logical cores for default threads

This commit is contained in:
Binh Vo committed 2021-06-16 15:46:17 -04:00
1 parent 0152435ab0
commit 6a46e38deb
5 files changed
+123 -47

No files matched your search

+6
View File
@@ -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)
}