This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Instrumentation, scheduler lock and unlock count is an equal?


Hello all!

I am checking eCos application behavior with Instrumentation and I
have "strange" data. Application is to test MBox. There are 2 threads,
PROD thread produces N items and CONS tread consumes it all. When I
have N=60, scheduler LOCK count is 2473 and UNLOCK 3016. I checked for
other values of N (20, 40, 80,100) and count of UNLOCK is always
higher than LOCK around 20%. I think by concept and source code it
should be an equal, isn't it?

Am I having something wrong in Instrumentation or is there any reason
for scheduler lock and unlock count to be different?
Thanking in advance,
Nodir.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]