/** * The running total latency of the ad call. * * @return the running total latency, -1 if `latencyStop` not set. */ private long getTotalLatencyParam(AdRequester requester) { if ((requester != null) && (latencyStop > 0)) { return requester.getLatency(latencyStop); } // return -1 if invalid. return -1; }