>Usually, this is done with gettimeofday
Thanks Tim.. now able to spot sample profiling code at ./dalvik/vm/profile.c

On Fri, May 14, 2010 at 3:39 AM, Tim Bird <tim.b...@am.sony.com> wrote:

> On 05/13/2010 02:42 PM, Deva R wrote:
> > Hi,
> >
> > i wish to profile time consumed in my service., (probably in order of
> > few mS)
> > we can use gettimeofday or a hw timer in kernel side.,
> > for user library, what call shall be used in user mode?
>
> Usually, this is done with gettimeofday
>
> > how to query system tick count or millisecond count, from a native
> library?
> See 'man gettimeofday'
>
> =============================
> Tim Bird
> Architecture Group Chair, CE Linux Forum
> Senior Staff Engineer, Sony Network Entertainment
> =============================
>
>

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to