Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Enterprise Tools / July 2006

Tip: Looking for answers? Try searching our database.

Performance Session - Sampling - No Data collected

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RTS - 20 Jul 2006 09:43 GMT
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;
> }

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.