terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ StopAndPrint()

bool ReLogic.Utilities.MultiTimer.StopAndPrint ( )
inline

Definition at line 33 of file MultiTimer.cs.

34 {
35 this._timer.Stop();
37 Stopwatch timer = this._timer;
39 Console.WriteLine("Average elapsed time: ");
40 Dictionary<string, MultiTimer.TimerData> timerDataMap = this._timerDataMap;
41 if (ticksBetweenPrint == 0)
42 {
43 }
44 string text;
45 if (text == null || text != null)
46 {
47 if (" : (Average: " != null && " : (Average: " == null)
48 {
50 }
51 string text2;
52 if (text2 != null && text2 == null)
53 {
55 }
56 if (" Min: " != null && " Min: " == null)
57 {
59 }
60 string text3;
61 if (text3 != null && text3 == null)
62 {
64 }
65 if (" Max: " != null && " Max: " == null)
66 {
68 }
69 string text4;
70 if (text4 != null && text4 == null)
71 {
73 }
74 if (" from " != null && " from " == null)
75 {
77 }
78 string text5;
79 if (text5 != null && text5 == null)
80 {
82 }
83 if (" records)" != null && " records)" == null)
84 {
86 }
87 string text6;
89 string text8;
90 string text7 = "Total : " + text8 + "ms";
91 if ("ms" == null)
92 {
93 }
95 }
97 }
class f__AnonymousType0<< Count > j__TPar
MultiTimer(int ticksBetweenPrint=100)
Definition MultiTimer.cs:11
readonly Stopwatch _timer
readonly Dictionary< string, MultiTimer.TimerData > _timerDataMap
static void WriteLine(object value)
Definition Console.cs:134

References ReLogic.Utilities.MultiTimer._ticksBetweenPrint, ReLogic.Utilities.MultiTimer._timer, ReLogic.Utilities.MultiTimer._timerDataMap, j__TPar, System.Diagnostics.Stopwatch.Stop(), System.text, and System.Console.WriteLine().