Skip to content
Snippets Groups Projects
  1. Sep 05, 2019
  2. Sep 04, 2019
  3. Aug 23, 2019
  4. Aug 22, 2019
    • Jonathan Hanks's avatar
      Updates to answer review notes. · 613308e6
      Jonathan Hanks authored
      Fix usage message in local_dc.
      
      Remove commented out code in the makefile and associated .c code
      
      Looking for variables with ix_ prefix and removed an usused bit.
      613308e6
    • Jonathan Hanks's avatar
      Implementing dix_xmit and updating dix_recv. · 2a559897
      Jonathan Hanks authored
      * Renamed the cmake target ix_xmit to dix_xmit.  Copied in code from mx2ix.c, removed the
      mx specific bits.
      * Reformatted local_dc.c, explicitly checking for 64bit alignment in tests
      * fe_stream_check requires that the dataCycleSize is 8 byte aligned.
      * Adding a simple test program to the ix_stream area.
      
      ix_test -g <num> -s - sending/server side test
      ix_test -g <num> -c - recieving/client side test
      ix_test -g <num> [-c] -d - recieving side, dump first 64 bytes of data
      
      * dix_xmit waits for the input buffer to be valid before checking buffers.
      
      If you read the input mbuf before it is ready you will likely have invalid
      input and will make bad assumptions about buffer lengths and data strides.
      
      So wait until data is ready and then start up.
      
      * Moved ix_fb_rcv.c to dix_recv.c.  Ran clang-format on the code.  Reviewed
      the program arguments.
      2a559897
  5. Aug 21, 2019
  6. Aug 15, 2019
  7. Aug 14, 2019
  8. Aug 13, 2019
  9. Aug 12, 2019
  10. Aug 08, 2019
    • Jonathan Hanks's avatar
      Fixes to mx_fe · 970dc1b7
      Jonathan Hanks authored
      When resyncing to the IOP, reset the counter for all models.
      This helps mx_fe skip models that have not been started (ie
      their mbuf is unitialized).
      
      Corrected some index values.  The ixDataBlock dcuheaders where
      indexed with the wrong value, and could cause a bad tpBlockSize
      to be caculated if a required model was stopped (this happens when
      the ii index != the db index) which can manifest itself with the
      process aborting after seeing an overflow.
      970dc1b7
  11. Aug 07, 2019
  12. Aug 06, 2019
  13. Aug 03, 2019
    • Jonathan Hanks's avatar
      Add another debug tool, fe_check. · 7ff2be68
      Jonathan Hanks authored
      This tool can scan a rmIpcStr based mbuf continually and print some
      information out.  It was written to help debug fe or fe_stream_test
      issues.
      7ff2be68
    • Jonathan Hanks's avatar
      Fixed 2 indexing issues that could terminate local_dc when TP are on. · a1fb8574
      Jonathan Hanks authored
      Fix a mixup of index variables.  TP size was be calculated with the
      wrong models (possibily uninitialized memory) data.
      a1fb8574
    • Jonathan Hanks's avatar
      Guard against bad mbufs in local_dc. · b503f9b7
      Jonathan Hanks authored
      This handles the case where a model is not running at startup and we
      create an mbuf for it.  The contents are uninitialized and undefined.
      Simply setting an impossible cycle counter for all models (not just the
      IOP) protects us from processing uninitialized mbufs.  The buffers will
      not be seen as ready until a model runs and sets a proper cycle counter.
      b503f9b7
  14. Aug 02, 2019
  15. Aug 01, 2019
  16. Jul 31, 2019
    • Jonathan Hanks's avatar
      Implement local_dc · 793b8f1e
      Jonathan Hanks authored
      Local_dc reads RT model data from mbuf (rmIpcStr) concentrates the data
      into one block and stores it in an output mbuf (daq_multi_cycle_data_t).
      
      In a standalone system this would be the data concentrator.  On a larger
      system, this prepares data for a streamer process.
      
      This also adds a basic test for local_dc which starts several local
      simulated FE streams, concentrates their data and checks that each
      channel is available in the output with the expected values.
      
      This removes fe_data_concentrator.
      This updates code in fe_stream_test.
      This adds a new fe_stream_check, renaming the old (and disabled) one
      to fe_stream_check_nds.
      
      This also enables cmake based testing.
      
      !!Warning the tests fail unless mbuf and gpstime are enabled!!
      793b8f1e
    • Jonathan Hanks's avatar
      Update zmq_recv to no longer use IX. Move it to the zmq_stream dir. · df22ee5d
      Jonathan Hanks authored
      Moved a bit of old zmq code to an 'attic' directory in the zmq area.
      
      Ripped out the dolphin bits from zmq_recv_ix_xmit_delay.cc and renamed
      it zmq_stream/zmq_recv.cc.
      
      Moved ix_stream/recvr_utils.hh to zmq_stream as it was some debug code
      for zmq_recv_ix_xmit.
      df22ee5d
  17. Jul 25, 2019
  18. Jul 23, 2019
  19. Jul 20, 2019
  20. Jul 19, 2019
Loading