genode/repos/os/src/app/top
Ehmry - a7a0d3fe63 Refactor Tup, flatten output directories
Make no attempt to replicate the depot layout.
2019-10-28 11:32:29 +01:00
..
README top: show execution times per SC and per EC 2019-04-09 12:30:35 +02:00
Tupfile Refactor Tup, flatten output directories 2019-10-28 11:32:29 +01:00
main.cc top: show priority and quota 2019-05-06 16:15:27 +02:00
target.mk os: app showing top style CPU utilization via LOG 2017-03-15 12:32:25 +01:00

README

This component obtains the information about the existing trace subjects from
core's "TRACE" service and shows via the LOG session the highest CPU consumer
per CPU in percentage.

Configuration
-------------

The interval of output generation can be defined via the 'period_ms' attribute
of the '<config>' node. The value is specified in milliseconds.
The threads with the top most execution time are shown per CPU. The sorting
of the execution time can be shown per thread ('ec' - execution context) or,
if supported by the kernel, per scheduling context of a thread ('sc').

The following example shows the default values.

! <config period_ms="5000" sort_time="ec"/>