[COMMIT osv master] tests-with-linux-ld: add misc-loadbalance.cc

4 views
Skip to first unread message

Commit Bot

unread,
Dec 14, 2023, 11:32:42 PM12/14/23
to osv...@googlegroups.com, Waldemar Kozaczuk
From: Waldemar Kozaczuk <jwkoz...@gmail.com>
Committer: Waldemar Kozaczuk <jwkoz...@gmail.com>
Branch: master

tests-with-linux-ld: add misc-loadbalance.cc

Signed-off-by: Waldemar Kozaczuk <jwkoz...@gmail.com>

---
diff --git a/tests/misc-loadbalance.cc b/tests/misc-loadbalance.cc
--- a/tests/misc-loadbalance.cc
+++ b/tests/misc-loadbalance.cc
@@ -210,7 +210,9 @@ int main()
concurrent_loops(looplen, 4, secs, 2.0);
concurrent_loops(looplen, 3, secs, 1.5);

+#ifdef __OSV__
concurrent_loops_priority(looplen, secs);
+#endif

std::cout << "\nStarting intermittent background thread:\n";
// Estimate the loop length required for taking 1ms.
Reply all
Reply to author
Forward
0 new messages