A 68-year-old man is seen for a preoperative evaluation for a total left knee arthroplasty. He engages in no exercise and does minimal walking due to his knee pain. He reports no other symptoms. Medical history is notable for hypertension, for which he takes losartan.

On physical examination, blood pressure is 130/74 mm Hg. Cardiovascular examination is normal. The left knee shows changes compatible with severe osteoarthritis.

Laboratory studies show a normal serum creatinine level.

Which of the following should be performed preoperatively?