diff options
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index d3f1b5f..f025966 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -8813,7 +8813,6 @@ Copy correct config/config.ini to there. | |||
8813 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 8813 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
8814 | // Other start up stuff. | 8814 | // Other start up stuff. |
8815 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 8815 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
8816 | getSims(); | ||
8817 | 8816 | ||
8818 | if (isTmux || isWeb) | 8817 | if (isTmux || isWeb) |
8819 | { | 8818 | { |
@@ -8943,6 +8942,7 @@ Copy correct config/config.ini to there. | |||
8943 | // TODO - See https://stackoverflow.com/questions/2693948/how-do-i-retrieve-the-number-of-processors-on-c-linux, there are more portable ways, this seems to be GNU specific. | 8942 | // TODO - See https://stackoverflow.com/questions/2693948/how-do-i-retrieve-the-number-of-processors-on-c-linux, there are more portable ways, this seems to be GNU specific. |
8944 | int cpus = (int) sysconf(_SC_NPROCESSORS_CONF), cpusOnline = (int) sysconf(_SC_NPROCESSORS_ONLN); | 8943 | int cpus = (int) sysconf(_SC_NPROCESSORS_CONF), cpusOnline = (int) sysconf(_SC_NPROCESSORS_ONLN); |
8945 | 8944 | ||
8945 | getSims(); | ||
8946 | ourSims->doIt = 1; | 8946 | ourSims->doIt = 1; |
8947 | if (0 == bulkSims) | 8947 | if (0 == bulkSims) |
8948 | bulkSims = (cpusOnline / 3) - 1; | 8948 | bulkSims = (cpusOnline / 3) - 1; |