MCPcopy Create free account
hub / github.com/Niko1221/Strata / expect

Function expect

engine/src/kernels/cpu/card_node_test.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19static int g_fail = 0;
20
21static void expect(bool ok, const std::string& what) {
22 if (!ok) {
23 ++g_fail;
24 std::fprintf(stderr, "FAIL: %s\n", what.c_str());
25 }
26}
27
28// A two-socket machine, one node per socket, 2-way SMT: node k has cores [0, cores_k), CPU numbers as Linux gives them
29// (node 0's first threads, node 1's first threads, then node 0's siblings, node 1's siblings).

Callers 3

decisionsFunction · 0.70
readersFunction · 0.70
restrictionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected