examples/Qt/ISFEditor/fftreal/stopwatch/ClockCycleCounter.hpp
/*
==============================================================================
Name: stop_lap
Description:
	Captures the current time and updates the smallest duration between two
	consecutive calls to stop_lap() or the latest start().
	start() must have been called at least once before calling this function.
Throws: Nothing
==============================================================================
*/
stop_lap
Description:
Captures the current time and updates the smallest duration between two
consecutive calls to stop_lap() or the latest start().
start() must have been called at least once before calling this function.
Throws: Nothing
stop_lap Description : Captures the current time and updates the smallest duration between two consecutive calls to stop_lap () or the latest start () . start () must have been called at least once before calling this function . Throws : Nothing
void	ClockCycleCounter::stop_lap ()
{
	const Int64		end_clock = read_clock_counter ();
	_best_score = min (end_clock - _state, _best_score);
	_state = end_clock;
}
void ClockCycleCounter :: stop_lap ( ) { const Int64 end_clock = read_clock_counter ( ) ; _best_score = min ( end_clock - _state , _best_score ) ; _state = end_clock ; }
Name: stop_lap
Description:
Captures the current time and updates the smallest duration between two
consecutive calls to stop_lap() or the latest start().
Name : stop_lap Description : Captures the current time and updates the smallest duration between two consecutive calls to stop_lap () or the latest start () .