Menu

#419 PDTestFastBase2 fails when send-cycles are set to 256ms

3.0.0.0
closed
2376 (1)
2024-02-05
2023-02-14
No

For reasonable tests with PD high performance index tables based on power of 2, the send cycle time for cyclic transmission should be set to an even factor of the index-table-base time (1, 8, 64ms). For example 128ms and 256ms: int period[2] = { 128, 256 };
Doing this causes the test "trdp-pd-test-fast.c" to fail, because ComID 10089 will only be sent once.

Discussion

  • Chris Wetzler

    Chris Wetzler - 2023-02-14
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,2 +1,2 @@
     For reasonable tests with PD high performance index tables based on power of 2, the send cycle time for cyclic transmission should be set to an even factor of the index-table-base time (1, 8, 64ms). For example 128ms and 256ms: `int period[2]  = { 128, 256 };`
    -Doing this causes the test to fail, because ComID 10089 will only be sent once.
    +Doing this causes the test "trdp-pd-test-fast.c" to fail, because ComID 10089 will only be sent once.
    
     
  • Chris Wetzler

    Chris Wetzler - 2023-02-14
    • summary: TRDP_PDTestFastBase2 fails for ComID 10089 when send-cycles are set to 128ms+256ms --> PDTestFastBase2 fails when send-cycles are set to 256ms
     
  • Chris Wetzler

    Chris Wetzler - 2023-02-16
    • labels: --> 2376
    • status: open --> closed
     
  • Chris Wetzler

    Chris Wetzler - 2023-02-16
    • fixed #419: PDTestFastBase2 failed when send-cycles are set to 256ms
    • "make debug" target added in Makefile
    • compare internal cycle-time against clock at each time the HighPerf index tables are started over again: log infos/warnings/errors if delays are measured
    • fixed tests with broken TRDP_PROCESS_CONFIG_T initialization
    • improved comments to clarify the meaning of the HighPerf index tables on standard base 10 and optional base 2
    • improved pd-test and pd-test-fast logging: include timestamp in log lines
     

Log in to post a comment.

MongoDB Logo MongoDB