information about resources of actual application
Jan.Suchotzki at de.abb.com
Jan.Suchotzki at de.abb.com
Tue Sep 25 07:39:14 UTC 2001
Hi,
I think may question was not exactly enough.
That I can tell rtems how many resources may main application needs isn´t
the problem.
I would like to automate this.
Just think about a big pool of objects for rtems. Some of this objects need
a timer, while
some of them need two semaphores etc.
Now a user chooses five of this objects for an application. That means that
a main application
will be generated which uses this five objects. But while generating the
main application
a programmer (or a program which generates the application) needs to know
how many
and which resources are needed for the application. Just for typing it to
the place before
including confdefs.
For the known resources (semaphores, timers) it´s not the problem to write
a description
file for every object, but for resources like cpu load or runtime I have to
measure it.
Any other ideas?
regards
Jan Suchotzki
(Embedded "Fernando RUIZ CASAS" <correo at fernando-ruiz.com>
image moved 24.09.2001 19:11
to file:
pic26117.pcx)
Please respond to <correo at fernando-ruiz.com>
To: <Jan.Suchotzki at de.abb.com>, <rtems-users at oarcorp.com>
cc:
Subject: RE: information about resources of actual application
Security Level:? Internal
Before including the "confdefs.h" file you can choose in your main
application file
(where Init() is placed) how many resources you need.
You can see many test examples in the rtems tree and there you can see the
way to implement this.
It's your application who defines how many timers, semaphores needs it.
The simple test main hello world hasn't resources wasted.
Browse the test files like better solution after read 'C' users guide (A
PDF
file).
Fernando RUIZ CASAS
home: correo at fernando-ruiz.com
work: fernando.ruiz at ctv.es
> -----Mensaje original-----
> De: Jan.Suchotzki at de.abb.com [mailto:Jan.Suchotzki at de.abb.com]
> Enviado el: lunes, 24 de septiembre de 2001 18:30
> Para: rtems-users at oarcorp.com
> Asunto: information about resources of actual application
>
>
> Hi,
>
> is it possible to get information about the needed resources of an
> application?
>
> Some words about the background of this question:
> We have different objects for rtems. But we didn´t know how many
> semaphores, timers, memory etc. all this objects need. Because the
> resources
> are limited, we want to know which and how many resources are needed
> by every object.
> I think one possibility is to start an application which calls this
object
> and gather all information,
> while it is executed.
>
> Many thanks
>
> Jan Suchotzki
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic26117.pcx
Type: application/octet-stream
Size: 128 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20010925/85db326c/attachment-0001.obj>
More information about the users
mailing list