Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] system time
@ 2008-10-21  7:49 Gian Lorenzo Meocci
  2008-10-21 15:30 ` Pierre-Marc Fournier
  0 siblings, 1 reply; 4+ messages in thread
From: Gian Lorenzo Meocci @ 2008-10-21  7:49 UTC (permalink / raw)


Hi all,

I have some problems to get exact system time from trace. Actually I
take only the time between a syscall_entry and a syscall_exit. Is it
too bad?

thanks a lot

-- 
Ing. Gian Lorenzo Meocci
http://www.meocci.it



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ltt-dev] system time
  2008-10-21  7:49 [ltt-dev] system time Gian Lorenzo Meocci
@ 2008-10-21 15:30 ` Pierre-Marc Fournier
  2008-10-21 18:04   ` Gian Lorenzo Meocci
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre-Marc Fournier @ 2008-10-21 15:30 UTC (permalink / raw)


Gian Lorenzo Meocci wrote:
> I have some problems to get exact system time from trace. Actually I
> take only the time between a syscall_entry and a syscall_exit. Is it
> too bad?

Depending on your application, a lot of time may be spent in traps, that
is between trap_entry and trap_exit.

pmf



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ltt-dev] system time
  2008-10-21 15:30 ` Pierre-Marc Fournier
@ 2008-10-21 18:04   ` Gian Lorenzo Meocci
  2008-10-22  8:35     ` Salvatore Lionetti
  0 siblings, 1 reply; 4+ messages in thread
From: Gian Lorenzo Meocci @ 2008-10-21 18:04 UTC (permalink / raw)


Thanks for your reply

On Tue, Oct 21, 2008 at 5:30 PM, Pierre-Marc Fournier
<pierre-marc.fournier at polymtl.ca> wrote:
> Gian Lorenzo Meocci wrote:
>> I have some problems to get exact system time from trace. Actually I
>> take only the time between a syscall_entry and a syscall_exit. Is it
>> too bad?
>
> Depending on your application, a lot of time may be spent in traps, that
> is between trap_entry and trap_exit.
>
> pmf
>



-- 
Ing. Gian Lorenzo Meocci
http://www.meocci.it




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ltt-dev] system time
  2008-10-21 18:04   ` Gian Lorenzo Meocci
@ 2008-10-22  8:35     ` Salvatore Lionetti
  0 siblings, 0 replies; 4+ messages in thread
From: Salvatore Lionetti @ 2008-10-22  8:35 UTC (permalink / raw)


Hi,

perhaps is a stupid diagnosis, but i remeber that the time you measure is simply the double of reported by linux statistics. Should be a problem in some linux timing #define, like CLOCK_TICK_RATE? You could simply verify this seeing time passing on your target.


--- Mar 21/10/08, Gian Lorenzo Meocci <glmeocci at gmail.com> ha scritto:

> Da: Gian Lorenzo Meocci <glmeocci at gmail.com>
> Oggetto: Re: [ltt-dev] system time
> A: "Pierre-Marc Fournier" <pierre-marc.fournier at polymtl.ca>
> Cc: ltt-dev at lists.casi.polymtl.ca
> Data: Marted? 21 ottobre 2008, 20:04
> Thanks for your reply
> 
> On Tue, Oct 21, 2008 at 5:30 PM, Pierre-Marc Fournier
> <pierre-marc.fournier at polymtl.ca> wrote:
> > Gian Lorenzo Meocci wrote:
> >> I have some problems to get exact system time from
> trace. Actually I
> >> take only the time between a syscall_entry and a
> syscall_exit. Is it
> >> too bad?
> >
> > Depending on your application, a lot of time may be
> spent in traps, that
> > is between trap_entry and trap_exit.
> >
> > pmf
> >
> 
> 
> 
> -- 
> Ing. Gian Lorenzo Meocci
> http://www.meocci.it
> 
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev


      Scopri il blog di Yahoo! Mail:
Trucchi, novit? e scrivi la tua opinione.
http://www.ymailblogit.com/blog




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-22  8:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-21  7:49 [ltt-dev] system time Gian Lorenzo Meocci
2008-10-21 15:30 ` Pierre-Marc Fournier
2008-10-21 18:04   ` Gian Lorenzo Meocci
2008-10-22  8:35     ` Salvatore Lionetti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox