Creeps extract memory completly

This commit is contained in:
douwe
2025-08-22 03:11:44 +02:00
parent cd1464cc94
commit 6ee67eac47
9 changed files with 55 additions and 31 deletions

View File

@@ -18,8 +18,10 @@ extern "C" void loop()
JS::console.log(std::string("\n\n\n\n\n\n\n\n\n"));
JS::console.log(std::string("Processing tick:\t") + std::to_string(Screeps::Game.time()));
DouwcoHivemind::Engine engine;
engine.loop();
{
DouwcoHivemind::Engine engine;
engine.loop();
}
JS::console.log("Used CPU:\t" + std::to_string(Screeps::Game.cpuGetUsed()));
JS::console.log("Bucket:\t" + std::to_string(static_cast<int>(Screeps::Game.cpu()["bucket"])));