RTEMS Workspsace number of used blocks?
Joel Sherrill
joel.sherrill at OARcorp.com
Tue Aug 17 16:09:29 UTC 2010
On 08/17/2010 10:30 AM, Peter Dufault wrote:
> On Aug 17, 2010, at 11:07 , Joel Sherrill wrote:
>
>
>> No. The 99 means there have been 99 allocations from the workspace.
>>
>>
> I thought that might be the case but it seemed too coincidental that there were exactly 100. I've since experimented and saw there is always 1 free block.
>
>
What that 1 block means is that you create objects and never delete
them. Or at
least not in a pattern that creates fragmentation. :)
It is a nifty coincidence that 1 + 99 == 100 but that's all I think it is.
> Peter
> -----------------
> Peter Dufault
> HD Associates, Inc. Software and System Engineering
>
>
--
Joel Sherrill, Ph.D. Director of Research& Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list