19 #include <signaldata/LocalRouteOrd.hpp>
20 #include <DebuggerNames.hpp>
21 #include <RefConvert.hpp>
24 printLOCAL_ROUTE_ORD(FILE* output,
25 const Uint32* theData, Uint32 len,
29 Uint32 pathcnt = sig->cnt >> 16;
30 Uint32 dstcnt = sig->cnt & 0xFFFF;
32 fprintf(output,
" pathcnt: %u dstcnt: %u\n", pathcnt, dstcnt);
33 fprintf(output,
" gsn: %u(%s) prio: %u\n",
34 sig->gsn, getSignalName(sig->gsn), sig->prio);
36 const Uint32 * ptr = sig->path;
37 fprintf(output,
" path:");
38 for (Uint32
i = 0;
i<pathcnt;
i++)
40 fprintf(output,
" [ hop: 0x%x(%s) prio: %u ]",
41 ptr[0], getBlockName(refToMain(ptr[0])), ptr[1]);
45 fprintf(output,
"\n dst:");
46 for (Uint32
i = 0;
i<dstcnt;
i++)
48 fprintf(output,
" [ 0x%x(%s) ]",
49 ptr[0], getBlockName(refToMain(ptr[0])));
51 fprintf(output,
"\n");
53 if (ptr < (theData + len))
55 fprintf(output,
" data:");
56 while (ptr < (theData + len))
58 fprintf(output,
" %.8x", * ptr++);
60 fprintf(output,
"\n");