Click here to Skip to main content
16,022,737 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Updated 7-Oct-12 5:19am
v2

1 solution

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900