Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6711 Discussions

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

douglaswinfield
Beginner
311 Views
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?
0 Kudos
2 Replies
Vladimir_Dudnik
Employee
311 Views

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

Regards,
Vladimir

0 Kudos
douglaswinfield
Beginner
311 Views
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

0 Kudos
Reply