[PLAT-3366] Expose function invocation timing.