Profile Guided Optimizations on VS2005 Std

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



After reading a bunch of articles saying that Profile Guided
Optimizations (PGO) is the greatest thing since sliced bread, or at
least Link Time Code Generation for improving app speed, I decided to
give it a try. I have a VS2005 .sln with a bunch of helper DLLs, a
bunch of projects that build .libs, and one exe that has a fair amount
of code, and pulls in those .libs. Under Project properties -> General
-> Whole Program Optimization, I selected 'Profile Guided Optimization
- Instrument', and hit build. At the bottom, I get:

19>Linking...
19> Creating library ..\debug\bzone.lib and object ..\debug\bzone.exp
19>Generating code
19>c:\src\BZ2\Source\CORE\utilsys\varfile.cpp : fatal error C1350: error loading dll 'pgodb80.dll': dll not found

Scanning C:\Program Files\Microsoft Visual Studio 8 , I don't see
that DLL anyhere. I'm using Visual Studio 2005 Standard, as handed out
at one of the launch events for it. I've even tried uninstalling it
and reinstalling from the CD, and it gives me the same problem --
it allows me to select PGO, but I get the link error above. It seems
rather misleading to allow selection of a menu item if one can't
actually use it.

I've also got VS2008 Standard from the launch event. Is anything
any different in that product?

Nathan
--
<*> Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein
.



Relevant Pages

  • Re: A taxonomy of types
    ... bunch of electrons crowding at p-n junctions... ... optimization problem which complexity grows as the abstraction level drops. ... Because this problem is seemingly incomputable, it is human programmers ... The compiler designers knew it much better than you. ...
    (comp.lang.misc)
  • Re: Optimizations.
    ... >> IMHO optimization in FreeBSD's code has too low priority. ... then set up a bunch of machines to track there are no regressions? ... > an optimization team created out of thin air can only lead to ... of hard work 8-) ...
    (freebsd-hackers)
  • Re: Optimizations.
    ... >> IMHO optimization in FreeBSD's code has too low priority. ... then set up a bunch of machines to track there are no regressions? ... > an optimization team created out of thin air can only lead to ... of hard work 8-) ...
    (freebsd-performance)
  • Re: Why is bsxfun *faster* for power and hypot operations?
    ... optimization that occurred for the m-file actually ... It would be worth reporting the details to technical support. ... you run the function a bunch of times before doing the timing? ...
    (comp.soft-sys.matlab)