Hello,
I'd like to be able to get some info about the performance of an application
I wrote. I have an application which sends an sql query to a database,
places the results in a datatable, sends this datatable to another form
which then writes a part of the datatable in a treeview. Now I'd like to
know how much time evry operation takes and place this info or on screen or
in a log file...
I've been looking around and saw there is a Debug class, only I cant seem to
fully comprehend if this class is suitable form what I want to do, and if so
which members I should be using ?
Thanx...

Re: Debug Class ???? by Alex

Alex
Fri Jul 09 12:57:20 CDT 2004

You will have to make use of the performance counters by yourself.
Take a look at this article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncfhowto/html/uperfcoun.asp

The sample displays the results on the form but you can log them in the
file.

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org



"tiger79" <poli@freemail.nl> wrote in message
news:O4ysKfYZEHA.3988@tk2msftngp13.phx.gbl...
> Hello,
> I'd like to be able to get some info about the performance of an
application
> I wrote. I have an application which sends an sql query to a database,
> places the results in a datatable, sends this datatable to another form
> which then writes a part of the datatable in a treeview. Now I'd like to
> know how much time evry operation takes and place this info or on screen
or
> in a log file...
> I've been looking around and saw there is a Debug class, only I cant seem
to
> fully comprehend if this class is suitable form what I want to do, and if
so
> which members I should be using ?
> Thanx...
>
>