The biggest disappointment in Advanced Micro Devices Inc . ' s second-quarter numbers was a sharp drop-off in its gross profit margin , which is a key measurement of how well a company is controlling its costs and pricing .