profile for cpu code