mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 05:40:14 -05:00
In the speed test, set the CPU affinity to the expected best core
This commit is contained in:
parent
bbd9ad0864
commit
8cd3bc5d0e
3 changed files with 208 additions and 1 deletions
|
|
@ -400,6 +400,11 @@ char* os_fgets(char* s, int size, OS_FILE* stream);
|
|||
*/
|
||||
int os_pclose(OS_FILE* stream);
|
||||
|
||||
/**
|
||||
* Get the optimal CPU for the speed test
|
||||
*/
|
||||
int os_get_optimal_cpu(void);
|
||||
|
||||
/****************************************************************************/
|
||||
/* app */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue