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

Merge branch 'ci-stats' into 'master'

[gitlab-ci] Fix test-with-stats

See merge request !159
parents 8400cf21 1468eb91
No related branches found
No related tags found
No related merge requests found
......@@ -93,9 +93,9 @@ clang-tidy:
variables:
EMPER_WORKER_SLEEP: 'false'
.emper-worker-stats:
.emper-stats:
variables:
EMPER_WORKER_STATS: 'true'
EMPER_STATS: 'true'
.emper-userspace-rcu:
variables:
......@@ -201,7 +201,7 @@ test-worker-no-sleep:
test-with-stats:
extends:
- .test
- .emper-worker-stats
- .emper-stats
test-with-userspace-rcu:
extends:
......
......@@ -165,7 +165,10 @@ Runtime::~Runtime() {
// objects bound to the runtime's lifetime
if constexpr (emper::STATS) {
printLastRuntimeStats();
emper::io::Stats::printStats(globalIo, ioContexts);
if constexpr (emper::IO) {
emper::io::Stats::printStats(globalIo, ioContexts);
}
}
for (unsigned int i = 0; i < workerCount; ++i) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment