add time counter for feature generator.