Skip to content
Snippets Groups Projects
Commit 7c494c94 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Merge branch 'adjust-unblock-on-main-actor-test-workload' into 'master'

[UnblockOnMainActorTest] adjust workload to log level

See merge request i4/manycore/emper!303
parents c076e3aa b170ac89
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,11 @@
#include "Actor.hpp" // for Actor
#include "BinaryPrivateSemaphore.hpp" // for BPS
#include "CountingPrivateSemaphore.hpp" // for CPS
#include "Fiber.hpp" // for Fiber
#include "Runtime.hpp" // for Runtime
#include "emper.hpp" // for spawn
#include "Debug.hpp"
#include "Fiber.hpp"
#include "Runtime.hpp"
#include "emper-config.h"
#include "emper.hpp"
#include "lib/adt/LockedUnboundedQueue.hpp"
/*
......@@ -37,7 +39,7 @@ class AlarmActor : public Actor<BPS*> {
auto main(int argc, char* argv[]) -> int {
unsigned int sleeper_count = std::thread::hardware_concurrency();
unsigned int sleeps = 1000;
unsigned int sleeps = EMPER_LOG_LEVEL > Info ? 100 : 1000;
if (argc > 3) {
std::cerr << "Usage: " << argv[0] << " [fiber count] [block count]" << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment