measures time of autograyscale recognition