| 214 | |
| 215 | |
| 216 | int main(int argc, char *argv[]) { |
| 217 | |
| 218 | int n_threads = std::max(1, std::min(4, (int) std::thread::hardware_concurrency())); |
| 219 | int n_rounds = 100; |
| 220 | |
| 221 | if (argc > 1) { |
| 222 | n_threads = std::atoi(argv[1]); |
| 223 | } |
| 224 | |
| 225 | if (argc > 2) { |
| 226 | n_rounds = std::atoi(argv[2]); |
| 227 | } |
| 228 | |
| 229 | test_barrier(n_threads, n_rounds); |
| 230 | |
| 231 | test_active(n_threads, n_rounds * 100); |
| 232 | |
| 233 | test_multi_graph(n_threads, n_rounds * 10); |
| 234 | |
| 235 | return 0; |
| 236 | } |
nothing calls this directly
no test coverage detected