Profiled some D3D code and found that most of the time was spent in D3DXSHProjectCubeMap which is for spherical harmonics.
After searching the entire solution I could not find a single call to this function yet 60% of runtime is devoted to this function.
Anyone else have similar issues when profiling Direct3D code? Googled and found one forum question just like this...but had no replies.