Adding benchmark

This commit is contained in:
Dynamitos
2024-07-05 12:02:46 +02:00
parent 8418cdbd11
commit fd8dc5ed0f
47 changed files with 1071 additions and 1010 deletions
+5
View File
@@ -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));