From mboxrd@z Thu Jan 1 00:00:00 1970 From: salvatorelionetti@yahoo.it (Salvatore Lionetti) Date: Wed, 22 Oct 2008 08:35:07 +0000 (GMT) Subject: [ltt-dev] system time In-Reply-To: <8d94e9280810211104t526a8879oa42ae901d357fa25@mail.gmail.com> Message-ID: <678679.18183.qm@web27203.mail.ukl.yahoo.com> 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 ha scritto: > Da: Gian Lorenzo Meocci > Oggetto: Re: [ltt-dev] system time > A: "Pierre-Marc Fournier" > 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 > 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