Fix on start_cycle_count() function
memset optimization example