What instrument would you use to measure the diameter of a cylinder?

Generally a caliper would be the proper tool.