If I instrument the code I get results.
If I sample I get: PRF0025: No data was collected.
Everything is defaults, except I set the clock sample interval to minimum
value.
It's a trivial MFC console app (see below). I used it, because I could not
get a very structurally complex example of an unmanged application to work!
The environment i need to evaluate has mixed managed, unmanged, and mixed
applications.
Running on a DELL M90 with the 180 day evaluation of VSTS.
#include "stdafx.h"
void Sub1(int i) {
for (int j = i; j < 20000; j++) {
double y = sqrt((double) j);
}
}
int _tmain(int argc, _TCHAR* argv[]) {
for (int i = 0; i < 10000; i++) {
Sub1(i);
}
return 0;
}
RTS - 20 Jul 2006 10:52 GMT
I also replaced the sqrt function with a local function that just did 100
double divisions. My thinking was that the samples would all be in the DLL
providing the sqrt function and not list in my application. But the change
did not effect anything.
> If I instrument the code I get results.
> If I sample I get: PRF0025: No data was collected.
[quoted text clipped - 20 lines]
> return 0;
> }