From: mmcternan@airvana.com (Mike McTernan)
Subject: [ltt-dev] trace_clock_update() spinning
Date: Tue, 2 Feb 2010 21:12:38 -0000 [thread overview]
Message-ID: <4B3F8896E1733D4787DDB0EA1C7FF91F0108CDDF@ukmail.uk.wirelessworld.airvananet.com> (raw)
In-Reply-To: <20100202194228.GA24026@Krystal>
> Mathieu Desnoyers wrote:
>
> So it's not that LTTng itself is taking time, but that the trace clock
> resolution available for your architecture is really coarse.
Excellent! I understand what that means now. Everything in the trace
is crushed up using the bottom 13-bits of the counter advanced with each
marker, then at the instance the upper bits are updated on the timer
tick the output appears to jump along making it _look_ like the update
function took all the remaining time. What a fool I was!
> You could possibly get a better resolution by creating a trace clock
> specific for your architecture.
I'm pretty sure there's a general purpose timer hanging around somewhere
on this board if I can't find some sort of performance counter register
with which to improve things.
Many Thanks,
Mike
next prev parent reply other threads:[~2010-02-02 21:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-02 18:52 Mike McTernan
2010-02-02 19:42 ` Mathieu Desnoyers
2010-02-02 21:12 ` Mike McTernan [this message]
2010-02-05 9:37 ` Mike McTernan
2010-02-05 15:16 ` Mathieu Desnoyers
2010-02-05 15:48 ` Josh Boyer
2010-02-05 15:57 ` Mathieu Desnoyers
2010-02-05 17:27 ` Mike McTernan
2010-02-09 0:30 ` Mathieu Desnoyers
2010-02-09 10:19 ` Mike McTernan
2010-02-09 14:42 ` Mathieu Desnoyers
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=4B3F8896E1733D4787DDB0EA1C7FF91F0108CDDF@ukmail.uk.wirelessworld.airvananet.com \
--to=mmcternan@airvana.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