MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / ScoreCallback

Function ScoreCallback

test/openmp-2.cpp:113–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void
114ScoreCallback(unsigned int m)
115{
116 int threadNum = omp_get_thread_num();
117
118 scratch[threadNum] += m * (threadNum - 2); // meaningless calculation
119}

Callers 1

ScoreMetaCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected