[riot-commits] [RIOT-OS/RIOT] ccbb29: tests/xtimer_drift: increase priority of worker

Sebastian Meiling s at mlng.net
Mon Jan 7 10:40:03 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: ccbb294f9d43587f5452aa4b102a95a3f5ab3596
      https://github.com/RIOT-OS/RIOT/commit/ccbb294f9d43587f5452aa4b102a95a3f5ab3596
  Author: josar <josuaarndt at live.de>
  Date:   2018-11-15 (Thu, 15 Nov 2018)

  Changed paths:
    M tests/xtimer_drift/main.c

  Log Message:
  -----------
  tests/xtimer_drift: increase priority of worker

When the slacker threads and the worker thread have the same priority
the drift and jitter depend on the workload.
Timer set before the worker thread will be fired before the worker and so
the result is not the timings the system might reach when proper priority
is set. Increasing the priority of the worker thread ensures that the
measureed timings are the achievable timings.


  Commit: 612469f8ad0c2bb38826b8638f7ea3aa83d1cd32
      https://github.com/RIOT-OS/RIOT/commit/612469f8ad0c2bb38826b8638f7ea3aa83d1cd32
  Author: Sebastian Meiling <s at mlng.net>
  Date:   2019-01-07 (Mon, 07 Jan 2019)

  Changed paths:
    M tests/xtimer_drift/main.c

  Log Message:
  -----------
  Merge pull request #10398 from Josar/pr/xtimer_hang/priority_worker

tests/xtimer_drift: increase priority of worker


Compare: https://github.com/RIOT-OS/RIOT/compare/26ea289ce065...612469f8ad0c
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list