Add some instrumentation to keep track of dispatcher cost

Created by  Eelco Dolstra  on March 2, 2016
KQ3EGUQYAFZ25JSZCY4RI554LJ3ZWACBQFHL2HTYVXIVTBEJPMGAC
Change contents