In my application I am executing a new .NET Thread and within that thread I am acomplishing a task.
I am using Stopwatch to measure the execution time but Stopwatch measures the execution time of all threads of OS (nut just the execution time for my thread). I want a way to measure just the time that my created thread takes to execute its own instructions.
Is there such a way of measuring in .NET?