Adding benchmark
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
#include "ThreadPool.h"
|
||||
#include "MinimalEngine.h"
|
||||
|
||||
using namespace Seele;
|
||||
|
||||
Globals globals;
|
||||
|
||||
Globals& Seele::getGlobals() { return globals; }
|
||||
|
||||
ThreadPool::ThreadPool(uint32 numWorkers) {
|
||||
for (uint32 i = 0; i < numWorkers; ++i) {
|
||||
workers.add(std::thread(&ThreadPool::work, this));
|
||||
|
||||
Reference in New Issue
Block a user