Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipeline latency #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Pipeline latency #33

wants to merge 2 commits into from

Conversation

jlelli
Copy link
Contributor

@jlelli jlelli commented Jul 14, 2017

Hi,
I've been thinking it would be helpful to have a metric to measure end-to-end latency of pipelines of tasks (to compare against energy consumption).
The idea is to propose rt-app as a tool for creating mobile like type of workloads during the Scheduler Workloads uconf at LPC (if accepted).
Still highly WIP, I'm sure it doesn't always work reliably, but get some early feedback would be much appreciated.

@jlelli jlelli self-assigned this Jul 14, 2017
@jlelli jlelli requested review from credp and vingu-linaro July 14, 2017 14:06
Copy link
Contributor

@credp credp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it looks good - could be hugely useful.

pthread_cond_wait(&(rdata->res.barrier.c_obj), &(rdata->res.barrier.m_obj));
rdata->res.barrier.waiting += 1;
{
struct timespec t_delta;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems a bit nitpicky, so feel free to ignore it, but you could put t_delta inside the if condition to avoid the additional {} indent.

Juri Lelli added 2 commits July 20, 2017 15:17
End-to-end latency of a pipeline of tasks is a useful metric to evaluate
synthetic mobile-like workloads (e.g., audio/video decoding pipeline).

Add such feature by piggybacking barrier_like events.

Signed-off-by: Juri Lelli <[email protected]>
Add information in the tutorial and an example about how bref event can
be used to measure end-to-end latency of pipelines of tasks.

Signed-off-by: Juri Lelli <[email protected]>
@jlelli jlelli force-pushed the pipeline-latency branch from ebbf559 to 9978cc8 Compare July 20, 2017 14:17
@credp
Copy link
Contributor

credp commented May 22, 2018

Hey @jlelli did you get anywhere with this?

@jlelli
Copy link
Contributor Author

jlelli commented May 22, 2018

Hey, I didn't unfortunately.
Let me see if I'll find any time to work on this.
Someone else can pick it up as well of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants