[EMAIL PROTECTED] wrote: > On 8/17/07, Dirk Eibach <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] wrote: >>> Dirk Eibach wrote: >>> > Hello, >>> > >>> > I'm wondering how long a rt_mutex_acquire is supposed to take on a PPC405 >>> > platform. I'm getting times about 50 usec here, which is too much for my >>> > application. Is anything wrong in my kernel/xenomai configuration or is >>> > this time to expected? >>> >>> How do you measure this ? Are you sure the mutex is free when you try to >>> acquire it ? >>> >> I prepared a small testcase. It shows about 8.300 ticks, which is about 30 >> usec on my platform (266MHz). > > Did you try to call ppc_getcounter twice in a raw to measure the > overhead of this function ?
Calling ppc_getcounter twice in a raw results in 116 ticks. Cheers. -- Dirk Eibach Entwicklung Guntermann & Drunck GmbH Systementwicklung _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
