| 1204 | } |
| 1205 | |
| 1206 | void 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 | |
| 1233 | void cComponentManager::tick(int threadId, long long tickNr, long lastNrun, long tickResultCounts[NUM_TICK_RESULTS]) |
| 1234 | { |
nothing calls this directly
no test coverage detected