Executing a program with absolutely nothing in the main() takes about 11
millisecondes on a P800 and 170 millisecondes on a P166.
I find these values very big, What’s your opinion?
Alain.
Executing a program with absolutely nothing in the main() takes about 11
millisecondes on a P800 and 170 millisecondes on a P166.
I find these values very big, What’s your opinion?
Alain.
“Alain Bonnefoy” <alain.bonnefoy@icbt.com> wrote in message
news:3B728301.C7269338@icbt.com…
Executing a program with absolutely nothing in the main() takes about 11
millisecondes on a P800 and 170 millisecondes on a P166.I find these values very big, What’s your opinion?
When a program is started lots is involved
Then when exiting
That being said 170ms on a P166 sounds like a lot.
Alain.
Hi Alain,
Mario Charest <mcharest@zinformatic.com> wrote in article
<9ku1lf$98t$1@inn.qnx.com>…
When a program is started lots is involved
- Loading from Filesystem
- Decoding ELF
- Allocating memory and creating a new process
- Binding to dll
- opening std* (which sends message to devc-con)
Then when exiting
- Unbinding dll
- free memory (under QNX4 it was filled with 0 I assume it’s the same
with QNX6)- Clean up process entry and returning all resource
- Closing std*
That being said 170ms on a P166 sounds like a lot.
Are the all processes above included in your measurement? How exactly do
you measure? Did you try debug/nodebug options during compiling of dummy
main?
Thanks,
Eduard.
Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
Executing a program with absolutely nothing in the main() takes about 11
millisecondes on a P800 and 170 millisecondes on a P166.I find these values very big, What’s your opinion?
Are you running this on a 6.x system running fs-pkg?
cdm@qnx.com > “The faster I go, the behinder I get.”
Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<