[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

varying execution times



Title: varying execution times

Hi,
I am trying to write a small module that can simulate dyn. memory management.
On init. it gets a chunk of memory from the kernel . requests to my_malloc are then done by the function in this module.

i see that the execution time of this function varies from 10-30 micro seconds......even if only one RT thread runs......

this is something i cannot reason out why ...

the two files are attached.


<<rt_mem_mgr.h>> <<mod1.c>>

thanks for any help ....
siva


rt_mem_mgr.h

mod1.c

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

		Visit us at http://www.cognizant.com