1st time a command is executed takes > 10 times as long as the next time

1st time a command is executed takes > 10 times as long as the next time

I'm running an application where I process inbetween frames. The first time I execute a command like threshold, it takes a huge amount of time, whereas the next time - it's fast. I notice this when I first boot up the machine and run the program. Subsequent runs do OK until I turn the machine off and restart. I'm using 5.2. What is causing that and how can I overcome that?

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

You probably have linked with IPP DLLs, so they are loaded when you touch any IPP function for the first time.

Regards,
Vladimir

Thanks Vladimir,
Actually I have the dll's in the windows/system32 directory and are not linking directly to them. So, I guess they are being called instead of the library files? I'll take them out of the system32 directory and try.
THANKS AGAIN

Leave a Comment

Please sign in to add a comment. Not a member? Join today