Commit Graph

37 Commits

Author SHA1 Message Date
Philippe Gerum 26f0ed1a4d benchmarks, utils: add verbosity to installation rule 2019-08-09 12:05:13 +02:00
Philippe Gerum 147ff5aeae utils/ps: display count of remote wakeups
RWA (Remote-WAkeups) reports the number of times a thread was readied
and rescheduled from a remote CPU. Available with the -s display
format.
2019-08-02 15:47:24 +02:00
Philippe Gerum 6ac46dfa8d utils/evl: add -A switch to get the ABI revision 2019-07-29 15:19:44 +02:00
Philippe Gerum b95e8fcbf0 libevl: rename commands/ to utils/ 2019-07-21 17:30:59 +02:00
Philippe Gerum d1ed4447e7 libevl: rename utils/ to benchmarks/ 2019-07-21 17:28:27 +02:00
Philippe Gerum 4a61fdfacd lib, utils: help in detecting bad core setup 2019-07-02 16:25:46 +02:00
Philippe Gerum 996a1e5bd1 utils/latmus: restrict C-state when applicable
If /dev/cpu_dma_latency is present, we can restrict the usable C-state
the CPU may be asked to enter by writing zero to this file, and
keeping the file descriptor open for the duration of the test. This
helps in preventing PM-originated latency spikes.
2019-07-02 16:07:28 +02:00
Philippe Gerum e4e4097a4c utils/latmus: inform about sampling on a non-isolated CPU 2019-07-02 15:46:36 +02:00
Philippe Gerum 983129b6ec utils/latmus: run sampler on a CPU from the OOB set
If -c was not given, we must run the sampler on a CPU which is part of
the out-of-band set the core is controlling since such set might have
been restricted on the kernel command line (i.e. evl.oobcpus=).
2019-07-02 12:05:59 +02:00
Philippe Gerum 385ba4bb30 utils/hectic: pick default CPU list from OOB set
If -c was not given, we must default to the set of OOB CPUs the core
is controlling since such set might have been restricted on the kernel
command line (i.e. evl.oobcpus=).
2019-07-02 11:20:32 +02:00
Philippe Gerum dd71aeaca6 utils/latmus: include results from the last bulk
When the test is interrupted, we usually have some results pending in
kernel space which have been collected but not yet received via the
cross-buffer. Make sure to collect and include them in the latency
report.
2019-06-27 17:08:36 +02:00
Philippe Gerum 628c6f456d evl: do not use the Mu character
It is not always properly rendered depending on the locale.
2019-06-27 17:08:36 +02:00
Philippe Gerum 72bc055396 utils/latmus: fix help strings 2019-06-26 18:04:39 +02:00
Philippe Gerum 882dfc5b4f lib/thread: convert to T_WOSS, T_WOLI flags 2019-06-25 19:03:00 +02:00
Philippe Gerum 1611835618 build: fix various target inter-dependencies 2019-06-09 11:50:27 +02:00
Philippe Gerum f6f2ae7284 build: create convenience Makefiles in output directories
Allow rebuilding the tree while retaining the initial build settings,
i.e.:

-C <srcdir> O= ARCH= CROSS_COMPILE= UAPI= and DESTDIR=
2019-06-03 18:45:00 +02:00
Philippe Gerum 696013f17f utils/latmus: dump summary report in greppable format w/ -g 2019-06-02 11:15:27 +02:00
Philippe Gerum 13f521985a utils/latmus: dump test information header with -g 2019-05-29 14:58:12 +02:00
Philippe Gerum 9cc7b9aa52 utils/latmus: detect orphaned arguments 2019-05-29 14:28:50 +02:00
Philippe Gerum 28b56a53fd utils/latmus: parse d/h/m/s modifiers to the timeout value (-T)
d/h/m/s suffixes can be added to the value passed to -T for modifying
its meaning (days/hours/mins/secs). Defaults to secs when unspecified.
2019-05-29 13:01:08 +02:00
Philippe Gerum 9429d6ebb5 utils/latmus: fix help strings 2019-05-29 12:34:22 +02:00
Philippe Gerum 9e28343c92 utils/latmus: fix signedness when calculating the average latency
We may receive negative delta sum when sampling latency on fast
machines, use proper signedness for the divisor to prevent weird
results.
2019-05-13 14:53:56 +02:00
Philippe Gerum 6ef611b8aa utils/latmus: detect and stop on obviously inconsistent results 2019-05-13 14:53:56 +02:00
Philippe Gerum 9b218f1912 utils/latmus: prevent false positive on exit with -a 2019-04-22 18:42:48 +02:00
Philippe Gerum bb5b380f3f utils/latmus: remove extraneous LF in output 2019-04-22 18:35:45 +02:00
Philippe Gerum e89a5c5761 lib/init: do not override the SIGDEBUG handler
Instead, provide a basic handler which only prints out the cause for
receiving SIGDEBUG, which the application can use freely.
2019-04-22 18:34:09 +02:00
Philippe Gerum 0962f81372 utils/latmus: enable in-band switch notification for sampler
Signed-off-by: Philippe Gerum <rpm@xenomai.org>
2019-04-06 12:10:09 +02:00
Philippe Gerum dab58e618a utils/latmus: prevent div_by_zero in absence of samples
We might get ^C even before the first sample is received, do not issue
any stats in such a case.
2019-04-04 18:13:39 +02:00
Philippe Gerum 3d25879efd utils/hectic: skip idle CPUs in display 2019-03-13 10:42:04 +01:00
Philippe Gerum b6fa88473e utils/hectic: tell the driver about rtu{o/p/s} tasks starting in OOB wait 2019-03-13 10:27:29 +01:00
Philippe Gerum eda7791f9b evl: rename evenless/ paths to evl/ 2019-03-10 16:25:02 +01:00
Philippe Gerum 449b29ad25 evl: rename libevenless to libevl 2019-03-04 17:49:07 +01:00
Philippe Gerum 2ca922bf9f utils/latmus: fix quiet mode 2019-03-04 17:49:07 +01:00
Philippe Gerum afc35766e7 include: make evl.h a central include-all header
Signed-off-by: Philippe Gerum <rpm@xenomai.org>
2019-03-04 17:49:06 +01:00
Philippe Gerum 5a6c28d4c0 include: rename init.h -> evl.h
Signed-off-by: Philippe Gerum <rpm@xenomai.org>
2019-03-04 17:49:06 +01:00
Philippe Gerum 6205a1eac6 build: export build system to external modules
Signed-off-by: Philippe Gerum <rpm@xenomai.org>
2019-03-04 17:49:06 +01:00
Philippe Gerum 240f0babe1 evenless: nothing more
Signed-off-by: Philippe Gerum <rpm@xenomai.org>
2019-03-04 17:49:06 +01:00