Current Endocrine Society and European Association of Urology guidelines recommend the measurement of testosterone levels in all men with type @ diabetes and in men suffering from erectile dysfunction .