Commit Graph
255 Commits
Author SHA1 Message Date
Cedric Roux bfecb5e54a T: add PHY throughput view to enb tracer 2017-01-09 17:08:30 +01:00
hbilel a1f25f073c [OAI-UE] T-tracer for UE, more traces 2016-12-22 11:09:57 +01:00
hbilel 619d34d781 [OAI-UE] UE T-tracer updates part 2 2016-12-19 18:05:59 +01:00
hbilel d9255b5c72 [OAI-UE] T-tracer UE updates 2016-12-19 17:42:09 +01:00
hbilel 378020ce97 adapt oai-ue to t tracer part 2 2016-12-19 17:34:59 +01:00
hbilel 15a1af31db [OAI-UE] adapt T-tracer to support OAI-UE 2016-12-19 17:34:27 +01:00
Cedric Roux 66c292b95b integration fix: update T messages 2016-12-19 11:19:05 +01:00
Chia-Yu Chang 7f4c961d82 add T messages for FLEXRAN and fix a complication error in FLEXRAN 2016-12-12 18:41:26 +01:00
Cedric Roux 9a0f32aa1d T: add 'throughputlog' logger
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.
2016-12-05 17:58:16 +01:00
Cedric Roux 2270dae1e7 T: new view 'scolltti'
This view is used to display throughput (to come in next commits).
2016-12-05 17:49:03 +01:00
Cedric Roux 5b6a83fc7f T: some work on XY plot
- 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).
2016-12-05 17:37:22 +01:00
Cedric Roux bff8e40d00 T: add widget 'textarea'
It's like a label but with fixed dimensions and maximum
characters' capacity at creation time.
2016-12-05 17:30:13 +01:00
Cedric Roux 031a72de7d T: new function 'bps'
This function is used to print rates (say '1kb/s' or '16Mb/s').
2016-12-05 15:08:27 +01:00
Cedric Roux d7831c1f57 T: add TBS to ENB_PHY_DLSCH_UE_DCI 2016-12-05 14:52:12 +01:00
Cedric Roux ce1e9cb15a T: bugfix: bad order of parameters in function declaration 2016-12-01 13:16:49 +01:00
Cedric Roux 53ccc0e7ad T: minor bugfix - bad argument type in log 2016-12-01 13:15:34 +01:00
Cedric Roux cae34e0f4d T: minor fix - wrong comments 2016-12-01 11:08:13 +01:00
Cedric Roux f89c70dfc3 T: change range of DL/UL MCS plots
[-1 29] was not very pleasant for MCS 28 or no DCI (value is -1 in this case).
[-2 30] looks better.
2016-11-30 18:03:49 +01:00
Cedric Roux cbc2164e50 T: bugfix: vertical tick was off by 1 pixel
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.
2016-11-30 18:01:17 +01:00
Cedric Roux 1e485b4b5e T: add DL and UL MCS plots in enb.c
Helps visualize MCS usage over time.
2016-11-30 16:39:49 +01:00
Cedric Roux a016cb7589 T: new logger ticked_ttilog
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).
2016-11-30 16:32:29 +01:00
Cedric Roux 7adc4703be T: update traces
- add mcs to ENB_PHY_DLSCH_UE_DCI
- add mcs, round, first_rb, nb_rb, TBS to ENB_PHY_ULSCH_UE_DCI
2016-11-30 16:29:14 +01:00
Cedric Roux 860394244b T: bugfix: lock required
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.
2016-11-28 18:28:10 +01:00
Cedric Roux ee934102b6 T: switch UE in enb tracer
Just below the logo you see the current UE, eg. [UE 0],
and near that you have two "buttons" [prev UE] and [next UE].

You click with left button of mouse on those and the various
plots that depend on the UE are now done for the new UE (say UE 1
instead of UE 0 if you click on [next UE]).

The plots are not cleared when you switch.
Let's say it's a feature.
2016-11-25 17:19:33 +01:00
Cedric Roux 484cad2431 T: add function xy_plot_set_title 2016-11-25 17:17:39 +01:00
Cedric Roux 8eeebdaf98 T: add function label_set_text 2016-11-25 17:17:16 +01:00
Cedric Roux 0bb875d9c2 T: free previous filter in logger_set_filter 2016-11-25 17:15:25 +01:00
Cedric Roux 956135f9a3 T: add mechanisms to free filters 2016-11-25 17:14:40 +01:00
Cedric Roux 2716aaa711 T: activate all info/warning/error legacy traces by default in enb.c 2016-11-23 15:00:36 +01:00
Cedric Roux b526ef7b47 T: update a trace
add ndi to trace ENB_MAC_UE_DL_SDU
2016-11-22 12:04:06 +01:00
Cedric Roux 3ae5f95653 T: fix small typo 2016-11-22 11:21:54 +01:00
Cedric Roux 43df291374 T: add some traces
- Msg3 allocation
- initiation of Random Access procedure
2016-11-22 10:17:22 +01:00
Cedric Roux c03f13c07b T: add a trace for PHICH 2016-11-18 10:29:48 +01:00
Cedric Roux a6742020d0 T: add some hack programs
- time_meas to measure time spent in scheduling
- timeplot to show nice histograms in realtim of above measurement
2016-10-18 18:17:11 +02:00
Cedric Roux 634ac5fc75 T: update T_message.txt and T_defs.h for VCD traces
The VCD traces have changed. This commit gets in synch
with current status.
2016-10-18 18:02:34 +02:00
Rohit Gupta 4787c975ec delete files with GPL License + modify build scripts 2016-10-07 18:19:43 +02:00
Cedric Roux 972d0e612e add README in the T tracer to clarify its licensing information
The T is released with the same license as the rest of OpenAirInterface,
of which it is an integral part.
2016-09-28 10:46:16 +02:00
Cedric Roux 8b732dc7e2 T: add a mac pdu -> wireshark replay tracer
This tracer takes the traces ENB_MAC_UE_DL_PDU_WITH_DATA
and ENB_MAC_UE_UL_PDU_WITH_DATA from a trace file
(as generated by the "record" tracer) and sends them
in UDP packets correctly formatted for wireshark to
dissect them.

One unresolved problem I face with my version of
wireshark (1.10.6) is that I don't get the frame number,
only subframe. See in the code to change the behavior
if you use a more recent version of wireshark.

You need to properly configure wireshark for it to work.
See $OPENAIR_DIR/openair2/UTIL/OPT/README.txt.
2016-08-11 12:49:37 +02:00
Cedric Roux 3f2a080cba better autoscroll management in textlist
left click: enable autoscroll and go to end of list
right click: disable autoscroll
2016-07-27 14:40:25 +02:00
Cedric Roux d62de525eb scroll by one line in textlist
to scroll by only one line, hold CONTROL key and scroll with
mouse wheel
2016-07-27 13:05:46 +02:00
Cedric Roux b07efe7a01 add trace ENB_MAC_UE_DL_PDU_WITH_DATA to trace downlink pdu 2016-07-27 11:36:35 +02:00
Cedric Roux b1dde78f87 use official openair logo in enb.c 2016-07-12 16:00:14 +02:00
Cedric Roux 19d4502c3d add PUCCH plots to enb.c 2016-07-08 13:14:03 +02:00
Cedric Roux 1dff3c4db6 add another IQ logger
iqlog.c should change its name, it's too specific.
This new one is more generic and should take over the name.
2016-07-08 13:02:54 +02:00
Cedric Roux aea2da5e4f minor compilation warning fix 2016-07-08 12:57:33 +02:00
Cedric Roux c4c288cb90 minor bugfix 2016-07-08 12:57:13 +02:00
Cedric Roux 3310c2a93f cosmetic changes 2016-07-08 12:56:25 +02:00
Cedric Roux cadb672d10 minor bugfix: forgot to update T_init in the example tracee 2016-06-28 13:00:16 +02:00
Cedric Roux 3d78e5a34b add option --T_dont_fork to tracee (lte-softmodem, oaisim)
The T has 2 processes: the tracee and the local tracer
if the tracee dies (segfault or whatever) the tracee
may still be running.

So there is a third process that monitors those two others
and kill everything when one dies.

The problem is that this third process has to be the parent
of the two others. That makes debugging the tracee with gdb
impossible. This new option disables the third monitor process.
2016-06-28 12:50:58 +02:00
Cedric Roux be03e9f80f bugfix in enb.c
we have to free memory in any case...
2016-06-24 18:11:09 +02:00