有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!


共 (1) 个答案

  1. # 1 楼答案

    long startTime = System.nanoTime();
    encryption/decryptionMethodToTime();
    long endTime = System.nanoTime();
    
    long duration = (endTime - startTime);  //divide by 1000000 to get milliseconds.