MCPcopy Create free account
hub / github.com/audeering/opensmile / printExecDebug

Method printExecDebug

src/core/componentManager.cpp:1206–1231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1204}
1205
1206void cComponentManager::printExecDebug(int threadId) {
1207 eTickResult tickResults[6] = {
1208 TICK_SUCCESS,
1209 TICK_SOURCE_NOT_AVAIL,
1210 TICK_EXT_SOURCE_NOT_AVAIL,
1211 TICK_DEST_NO_SPACE,
1212 TICK_EXT_DEST_NO_SPACE,
1213 TICK_INACTIVE
1214 };
1215 for (int j = 0; j < 6; j++) {
1216 std::string compListStr;
1217 for (int i=0; i<=lastComponent; i++) {
1218 if (component[i] != NULL) {
1219 if (((threadId == -1)||(threadId == componentThreadId[i]))&&(componentThreadId[i]!=-2)) {
1220 if (component[i]->getLastTickResult() == tickResults[j]) {
1221 compListStr += std::string(component[i]->getInstName()) + " ";
1222 }
1223 }
1224 }
1225 }
1226 if (!compListStr.empty()) {
1227 SMILE_PRINT(" The following components returned %s:", tickResultStr(tickResults[j]));
1228 SMILE_PRINT(" %s", compListStr.c_str());
1229 }
1230 }
1231}
1232
1233void cComponentManager::tick(int threadId, long long tickNr, long lastNrun, long tickResultCounts[NUM_TICK_RESULTS])
1234{

Callers

nothing calls this directly

Calls 5

tickResultStrFunction · 0.85
getLastTickResultMethod · 0.80
c_strMethod · 0.80
getInstNameMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected