Перенос.

This commit is contained in:
2023-09-17 22:13:42 +03:00
parent dd2e0ca7e0
commit 629d8b8477
1239 changed files with 61161 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
package Common.Utils;
public class Stopwatch {
long st, en;
double res;
public void Start() {
st = System.nanoTime();
}
public void Stop() {
en = System.nanoTime();
res = en - st;
}
public String Print() {
//https://hr-vector.com/java/formatirovanie-chisel-strok
return String.format("%,3.2f", res * 0.000001) + " ms";
}
}