public void endRequest() { if (rootRequestPerfCtx != null) { rootRequestPerfCtx.end(); } if (requestMetricsStartContext != null) { requestMetricsStartContext.stop(); } }
/** * Stops the Metric Timer context. * * <p>If the given context was null, it will silently be ignored. * * @param context timing context to stop, if not null. */ public static void stopTimer(Context context) { if (context != null) { context.stop(); } }