-
System.Diagnostics.Stopwatch sw = new System.Diagnostics.Stopwatch(); sw.Start(); // work Debug.Log("ElapsedMilliseconds : " + sw.ElapsedMilliseconds.ToString() + "ms"); // work sw.Stop(); Debug.Log("ElapsedMilliseconds : " + sw.ElapsedMilliseconds.ToString() + "ms");
'C#(Csharp)' 카테고리의 다른 글
실수형 소수점 자리 제한하여 출력(float, decimal) (0) 2021.07.27 Formating strings (0) 2021.07.27 List.Sort (0) 2021.07.26 SortedSet (0) 2021.07.24 HashSet (0) 2021.07.24 Csc Ex (0) 2021.06.23 Csc Microsoft (R) Visual C# Compiler (0) 2021.06.23 C# - 함수표현식(Lambda) (0) 2021.03.25