DeteMin
2020-03-31 77c62e023d2dc31200fc696158df84b3aee90ee7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.basic.security.utils;
 
public class TimeUtil {
    public static long startTime = System.currentTimeMillis();
 
    public static void startTime() {
        startTime = System.currentTimeMillis();
    }
 
    public static void endTime() {
        long cost = (System.currentTimeMillis() - startTime);
        System.out.println("TimeUtil.endTime " +
                FrameUtil.getFrames(2) +
                " 花费 " + cost);
    }
 
}