Adding benchmark

This commit is contained in:
Dynamitos committed 2024-07-05 12:02:46 +02:00
1 parent 8418cdbd11
commit fd8dc5ed0f
47 files changed
+1071 -1010

No files matched your search

+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));