Changeset 2540 for trunk/libffado/src/libieee1394/test-cyclecalc.cpp
- Timestamp:
- 06/01/14 16:49:28 (7 years ago)
- Files:
-
- trunk/libffado/src/libieee1394/test-cyclecalc.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/libieee1394/test-cyclecalc.cpp
r1763 r2540 39 39 */ 40 40 41 #ifdef DEBUG 41 #ifdef DEBUG_MESSAGES 42 42 uint32_t now_ctr = 0x140001DA; 43 43 uint64_t now = CYCLE_TIMER_TO_TICKS(0x140001DA); 44 44 unsigned int cycle = 7968; 45 45 uint16_t syt = 0x583B; 46 #endif47 46 48 47 debugOutput(DEBUG_LEVEL_VERBOSE,"NOW_CTR : %08X (%03us %04uc %04ut)\n", … … 64 63 debugOutput(DEBUG_LEVEL_VERBOSE,"CYCLE : %uc\n", 65 64 cycle); 66 #ifdef DEBUG67 65 uint64_t calc_ts = sytRecvToFullTicks(syt, cycle, now_ctr); 68 #endif69 66 70 67 debugOutput(DEBUG_LEVEL_VERBOSE,"CALC_TS : %011"PRIu64" (%03us %04uc %04ut)\n", … … 73 70 (unsigned int)TICKS_TO_CYCLES(calc_ts), 74 71 (unsigned int)TICKS_TO_OFFSET(calc_ts)); 75 72 #else 73 printf("DEBUG_MESSAGES not enabled for build. This program won't show anything without it.\n"); 74 #endif 76 75 77 76 // BL: 1211722982: Debug (IsoHandler.cpp)[ 420] putPacket: received packet: length=168, channel=0, cycle=7968