Controller optimizations -- make locking more fine-grained, use true hardware concurrency, etc.
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <thread>
|
||||
|
||||
#include "node/Constants.hpp"
|
||||
#include "node/Hashtable.hpp"
|
||||
@@ -1114,6 +1115,7 @@ int main(int argc,char **argv)
|
||||
*/
|
||||
|
||||
std::cout << "[info] sizeof(void *) == " << sizeof(void *) << std::endl;
|
||||
std::cout << "[info] hardware concurrency == " << std::thread::hardware_concurrency() << std::endl;
|
||||
std::cout << "[info] sizeof(NetworkConfig) == " << sizeof(ZeroTier::NetworkConfig) << std::endl;
|
||||
|
||||
srand((unsigned int)time(0));
|
||||
|
||||
Reference in New Issue
Block a user