Skip to content
Snippets Groups Projects
  1. Aug 08, 2018
    • Cedric Roux's avatar
      T: add a 'multi' tracer · fdd4366d
      Cedric Roux authored
      This tracer allows the connection of several tracers to one tracee.
      
      To use the multi tracer:
      - run the tracee as usual, eg. ./lte-softmodem -O xxxx.conf --T_stdout 0
      - run the multi tracer: ./multi -d ../T_messages.txt
      - connect other tracers to the multi tracer:
         - ./enb -d ../T_messages.txt -p 2022
         - ./textlog -d ../T_messages.txt -p 2022
         - etc.
      
      By default the multi tracer connects to the tracee to the port 2021,
      as for any other tracer.
      
      Then it accepts connections from other tracers on the port 2022.
      
      This can be changed with parameters on the command line.
      
      The tracee and the other tracers can be stopped/started at any time.
      fdd4366d
    • Cedric Roux's avatar
      T: bugfix and cleanup · eb3b87d9
      Cedric Roux authored
      - bug fixed in ue and enb tracer: the socket needs to be closed
        in case of restart
      - cleanup: fix spacing in T_messages.txt
      eb3b87d9
  2. Aug 06, 2018
  3. Jul 30, 2018
  4. Jun 25, 2018
  5. May 02, 2018
    • Cedric Roux's avatar
      T tracer: don't depend on T_BUFFER_MAX anymore in the tracers · 52cf61de
      Cedric Roux authored
      Whenever the value T_BUFFER_MAX changes, the tracers had to
      be recompiled. The only reason why it was needed is because we
      used some fixed size buffers to read events. This commit removes
      this restriction.
      
      Also, with the basic simulator, this value T_BUFFER_MAX now comes
      with an #ifdef which would have required some special hackish-level
      tricks in the tracers, which is not good.
      
      Let's just allocate memory when needed.
      52cf61de
  6. Oct 27, 2017
    • Cedric Roux's avatar
      T: minor: close socket · 4d1705e3
      Cedric Roux authored
      Sometimes when the user does ctrl+c to quit, it may not quit
      if nothing comes on the socket. Closing the socket in the
      signal handler fixes this.
      4d1705e3
    • Cedric Roux's avatar
      T: cleanup · faae3c8c
      Cedric Roux authored
      Do not link the X stuff for tracers not needing it.
      faae3c8c
    • Cedric Roux's avatar
      T tracer: add a tracer to dump to VCD file · 7e7fd3c4
      Cedric Roux authored
      Later on, use this file with gtkwave.
      To be used to check realtime behaviour of the system.
      7e7fd3c4
    • Cedric Roux's avatar
      T: add extract_output_subframe · 8dd3a2bd
      Cedric Roux authored
      This tracer extracts output subframes generated by the eNodeB,
      so they can be analyzed with some external tools.
      8dd3a2bd
    • Cedric Roux's avatar
      T: add a tracer: extract · 6322010e
      Cedric Roux authored
      This tracer extracts the content of a buffer field of an event
      that was previously saved using the tracer 'record'.
      
      For example, to extract the channel estimation done in
      frame 924 and subframe 2 as saved in the file input_record.raw
      and to store it in the file output.raw, do:
      
      ./extract -d ../T_messages.txt -o output.raw input_record.raw ENB_PHY_UL_CHANNEL_ESTIMATE chest_t -f frame 924 -f subframe 2
      6322010e
  7. Oct 18, 2017
    • Cedric Roux's avatar
      T tracer: improve a bit enb tracer · 2516216d
      Cedric Roux authored
      - UE_id 0 is for rnti 65535 (sib)
      - UE_id 1 is for rnti 65534 (this is a hack)
      - UE_id 2 is for rnti 2     (RA RNTI as of today's code/config)
      - we start enb by displaying UE_id 3
      - there was a bug: we need to lock when resetting UE ids (reset_ue_ids)
      2516216d
  8. Oct 17, 2017
  9. Oct 12, 2017
  10. Oct 09, 2017
  11. Sep 27, 2017
  12. Aug 20, 2017
  13. Jun 16, 2017
  14. Jan 09, 2017
  15. Dec 19, 2016
  16. Dec 05, 2016
    • Cedric Roux's avatar
      T: add 'throughputlog' logger · 9a0f32aa
      Cedric Roux authored
      Normally it is used to display throughput.
      
      The computation it does is to sum up the wanted value for the last
      second (1000 TTIs) and send this value to the views associated to
      this logger, at each TTI.
      9a0f32aa
    • Cedric Roux's avatar
      T: new view 'scolltti' · 2270dae1
      Cedric Roux authored
      This view is used to display throughput (to come in next commits).
      2270dae1
    • Cedric Roux's avatar
      T: some work on XY plot · 5b6a83fc
      Cedric Roux authored
      - change paint function:
        when the XY plot is resized we scale. Previously
        the last range was put in the middle of the new range
        (say when we increase the size).
        We may get aspect ratio changes if the resize is not identical
        vertically and horizontally, but I think this behaviour is more
        'natural'.
      - fix a bug:
        the last horizontal tick label was printed to far on the right,
        out of the bouding box of the XY plot. This is not totally fixed
        in the case the label is larger than the XY plot. Now the part
        out of the bounding box will be printed on the left. No big deal,
        make the plot big enough. (Before, even if big enough you had a
        problem.)
      - add a new vertical tick display, to be used for throughput mostly.
        See in enb.c the difference between 'input signal' and throughput
        plots (those throughput plots will come in later commits).
      5b6a83fc
    • Cedric Roux's avatar
      T: add widget 'textarea' · bff8e40d
      Cedric Roux authored
      It's like a label but with fixed dimensions and maximum
      characters' capacity at creation time.
      bff8e40d
    • Cedric Roux's avatar
      T: new function 'bps' · 031a72de
      Cedric Roux authored
      This function is used to print rates (say '1kb/s' or '16Mb/s').
      031a72de
  17. Dec 01, 2016
  18. Nov 30, 2016
    • Cedric Roux's avatar
      T: change range of DL/UL MCS plots · f89c70df
      Cedric Roux authored
      [-1 29] was not very pleasant for MCS 28 or no DCI (value is -1 in this case).
      [-2 30] looks better.
      f89c70df
    • Cedric Roux's avatar
      T: bugfix: vertical tick was off by 1 pixel · cbc2164e
      Cedric Roux authored
      The problem was visible when DL MCS was set to 20
      (do a ping -c 192.172.0.1 -i0.2 to get it). The dots
      were not plotted at the exact line of the tick mark.
      
      Not sure the fix is always correct.
      
      No big deal anyway.
      cbc2164e
    • Cedric Roux's avatar
      T: add DL and UL MCS plots in enb.c · 1e485b4b
      Cedric Roux authored
      Helps visualize MCS usage over time.
      1e485b4b
    • Cedric Roux's avatar
      T: new logger ticked_ttilog · a016cb75
      Cedric Roux authored
      A new logger is there: the "ticked TTI logger".
      Similar to TTI logger (used by the PUCCH1 energy plot)
      but takes another input, the "tick" (think subframe)
      and a default value for when no event is triggered between
      two ticks.
      
      This is used for the UL and DL MCS plots in enb.c (next commit).
      a016cb75
  19. Nov 28, 2016
    • Cedric Roux's avatar
      T: bugfix: lock required · 86039424
      Cedric Roux authored
      When the user clicks on "next UE" or "prev UE" we change the
      filters of loggers.
      
      At the same time, the main thread of enb.c processes events
      received from the soft-modem and uses the filters, some of them
      maybe in the process of being changed.
      
      Changing the filters is not atomic and has to be protected.
      86039424
  20. Nov 25, 2016
Loading