Call this function in correspondence of PerfLogBegin to mark the end of the measurement.
@param _log
@param method
@return long duration the difference between now and startTime, or -1 if startTime is null
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.