Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: performance
Hello friends ,
 
I was testing multithreaded application lets say a application using 10 thread to execute n number of profiles , and i need to validate its performance.
 
I am calculating its Process Memory/Handle count/Thread But i also want to calculate how many profile it concurrently support with 10 threads .
 
Some body redirect me to some tool or link where i can find my answer
 
In Short i am able to monitor Resource Utilization but not first two .

1 Response time or latency
2 Throughput
3 Resource utilization

 

 
Many thanks in advance..
Posted 7-Oct-12 6:09am
Edited 7-Oct-12 6:19am
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi
 
The scenario that you are describing fits exactly to the use of PerformanceCounters.
 
You can create your own custom performance counters and monitor their behavior from PerfMon.
 
You can wrap your relevant business code with counters - such as avarage response time, throughput/sec etc..
 
I've found a nice article about Custom Performance Counters here in CodeProject:
Using Custom Attributes to Create Performance Counters[^]
 
You can find a lot more examples on the web.
 
HTH,
Ofir.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 277
1 Maciej Los 240
2 DamithSL 200
3 Raul Iloc 185
4 Richard MacCutchan 175
0 OriginalGriff 5,130
1 DamithSL 4,197
2 Maciej Los 3,670
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,821


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100