AI task time metrics

Part one of several.  @gradyward