Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: Phil Hertha via lttng-dev <lttng-dev@lists.lttng.org>
To: <lttng-dev@lists.lttng.org>
Subject: [lttng-dev] Compute execution times of threads
Date: Mon, 17 May 2021 12:03:56 +0000	[thread overview]
Message-ID: <63cae3953d25479ab410be167b5155d7@elektrobit.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 918 bytes --]

Hi all,

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.

Best regards
Phil Hertha


[-- Attachment #1.2: Type: text/html, Size: 5051 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

                 reply	other threads:[~2021-05-17 14:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=63cae3953d25479ab410be167b5155d7@elektrobit.com \
    --to=lttng-dev@lists.lttng.org \
    --cc=Phil.Hertha@elektrobit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox