examples/Qt/ISFEditor/fftreal/stopwatch/ClockCycleCounter.cpp
/*
==============================================================================
Name: compute_measure_time_lap
Description:
	Computes the duration of one stop_lap() call and store it. It will be used
	later to get the real duration of the measured operation (by substracting
	the measurement duration).
Throws: Nothing
==============================================================================
*/
compute_measure_time_lap
Description:
Computes the duration of one stop_lap() call and store it. It will be used
later to get the real duration of the measured operation (by substracting
the measurement duration).
Throws: Nothing
compute_measure_time_lap Description : Computes the duration of one stop_lap () call and store it . It will be used later to get the real duration of the measured operation ( by substracting the measurement duration ) . Throws : Nothing
void	ClockCycleCounter::compute_measure_time_lap ()
{
	start ();
	spend_time ();
	long				nbr_tests = 10;
	for (long cnt = 0; cnt < nbr_tests; ++cnt)
	{
		stop_lap ();
		stop_lap ();
		stop_lap ();
		stop_lap ();
	}
	_measure_time_lap = _best_score;
}
void ClockCycleCounter :: compute_measure_time_lap ( ) { start ( ) ; spend_time ( ) ; long nbr_tests = 10 ; for ( long cnt = 0 ; cnt < nbr_tests ; ++ cnt ) { stop_lap ( ) ; stop_lap ( ) ; stop_lap ( ) ; stop_lap ( ) ; } _measure_time_lap = _best_score ; }
Name: compute_measure_time_lap
Description:
Computes the duration of one stop_lap() call and store it.
Name : compute_measure_time_lap Description : Computes the duration of one stop_lap () call and store it .