* [lttng-dev] Compute execution times of threads
@ 2021-05-17 12:03 Phil Hertha via lttng-dev
0 siblings, 0 replies; only message in thread
From: Phil Hertha via lttng-dev @ 2021-05-17 12:03 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 918 bytes --]
I am currently working on my master thesis on a Linux project with regard to communication- and execution times.
Therefore I want to trace some user-space applications using lttng-ust.
Here I want to compute the best and worst case execution times and the response time of several threads.
The simplest approach would be to trace the start and end of each execution, but this would neglect scheduling effects such as interference with higher priority tasks, where the thread would pause execution.
What would be the best practice approach to calculate the CPU usage of each thread activation.
Lttng seems to be doing something similar in their kernel traces.
I am using lttng-ust for tracing and pythonic babeltrace2 for parsing of the trace.
Additionally it would be possible to collect an kernel trace if required.
I really appreciate any help you can provide.
[-- Attachment #1.2: Type: text/html, Size: 5051 bytes --]
[-- Attachment #2: Type: text/plain, Size: 156 bytes --]
lttng-dev mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-17 14:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 12:03 [lttng-dev] Compute execution times of threads Phil Hertha via lttng-dev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).