I am not familiar with the C# stopwatch class. I am trying to find elapsed time for a function. When I call a function again I need to get the total time since the last call. How Should I do it?
I thought something like below:
public double CalculateAngle(double Theta_dot, double Psi_dot)
{
mywatch.Stop();
var time = mywatch.ElapsedMilliseconds / 1000;
mywatch.Start();
}