1. 26 Jun, 2019 1 commit
    • Maciej Lipinski's avatar
      [issue #194] add facility to wrs_msg and <facility*8+priority> to output msgs · 8c9ef674
      Maciej Lipinski authored
      Logger can interpret get log facility & level (error, info, etc) from
      log message if such info is provided properly. I.e. it needs to be
      enclosed in <> and the first thing in the message. The wrs-msg.c file
      in the libwr was changed such that the log facility & level ares properly
      printed in log messages, and thus later properly interpreted by the syslog
      elastic search on the server. For this, wrs_msg lib needs to know the
      faciltiy of the application that uses it. Thus, the wrs_msg_init()
      function was updated (in the library and all its calls in applications)
      8c9ef674
  2. 11 Jun, 2019 1 commit
    • Jean-Claude BAU's avatar
      wr_mon: Improvements · 071254d3
      Jean-Claude BAU authored
      - Add round trip delay (delayMM)
      - For pp_time structure, display in time in ns unit if the time is less
      than 1 second (in absolute)
      071254d3
  3. 06 Jun, 2019 1 commit
  4. 04 Jun, 2019 1 commit
  5. 03 Jun, 2019 1 commit
    • Jean-Claude BAU's avatar
      [Issue:#196] WR time not set properly in GM mode · f7c33411
      Jean-Claude BAU authored
      1/ wr_date script:
      - Started before PPSi
      - Set number of NTP retries to 10 if GM otherwise 1. GM info is
      extracted from dot-config
      - Clock source is controlled directly with wr_date tool
      - Can be started any time without any risk to set a wrong date (see
      point 2)
      2/ wr_date
      - 'set host' parameters take into account the time mode ( FR: set
      sec+ns, BC: time cannot be set, GM: set seconds only+wait to be in a
      middle of a second)
      - function substrat_substrat() moved to time_lib.h. Also used by wr_mon
      3/ wr_mon
      - Print TAI-UTC
      - Update Timing Mode & PLL locking state displayed values
      f7c33411
  6. 20 May, 2019 2 commits
    • Benoit Rat's avatar
      tools: wr_mon: show usec to avoid rounding errors (38s instead of 37) · d94ff7a8
      Benoit Rat authored
      We have 37s of leap second but we were showing without usec the
      following which could be seen as a wrong leap second offset.
      
      WR time (TAI):     2019-03-15 05:40:48.006697
      Switch time (UTC): 2019-03-15 05:40:10.975551
      
      localtime has also been replaced by gmtime (TAI should never be
      converted using localtime in case TZ variable is set)
      
      Conflicts:
      	userspace/tools/wr_mon.c
      d94ff7a8
    • Jean-Claude BAU's avatar
      [Feature:#128] Improve GM status · 8f92ab2a
      Jean-Claude BAU authored
      - Display in wr_mon the current timing mode and the PLL locking state
      - Import PPsi changes related to this issue
      8f92ab2a
  7. 09 May, 2019 1 commit
  8. 02 May, 2019 1 commit
  9. 10 Apr, 2019 7 commits
  10. 02 Aug, 2017 5 commits
  11. 21 Jul, 2017 1 commit
  12. 01 Dec, 2016 1 commit
  13. 30 Sep, 2016 1 commit
  14. 30 Aug, 2016 1 commit
  15. 11 Aug, 2016 3 commits
  16. 07 Jul, 2016 2 commits
  17. 15 Apr, 2016 1 commit
  18. 01 Apr, 2016 2 commits
  19. 02 Mar, 2016 1 commit
  20. 18 Feb, 2016 1 commit
    • Tjeerd Pinkert's avatar
      userspace/tools: improve wr_mon to display statistics in a more segregated way · ccdc9a56
      Tjeerd Pinkert authored
      - Help (-h) option was added.
      - The tool now uses WR time to display the state every second.
      - The show statistics (-s) mode was changed to display statistics in a
        segregated way.
      - The -i option was added to show TIME information as second, nanosecond pair
      - The -m option was added to show only the MASTER ports information
      - The -s option was changed to show only the SLAVE ports information
      - The -o option was added to show only the OTHER ports information
      - The -e option was added to show only the SERVO information
      - The -t option was added to show only the TEMPERATURE information
      - The show X options can be combined, e.g. -i -t shows time and temperature
        information
      - The -a option was added to show all information (convenience option)
      - The -b option was unchanged and shows the gui in black and white
      - The -w option shows the WEB interface information unchanged, but the
        underlying code has been rewritten to be less of a hack.
      - Toggle printing on/off (t) during display should now work.
      Signed-off-by: Tjeerd Pinkert's avatarTjeerd Pinkert <t.j.pinkert@alumnus.utwente.nl>
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      ccdc9a56
  21. 24 Aug, 2015 1 commit
  22. 13 Aug, 2015 1 commit
  23. 22 Jul, 2015 3 commits