diff options
Diffstat (limited to 'src/Interface.cs')
| -rw-r--r-- | src/Interface.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Interface.cs b/src/Interface.cs index 208bd2a4..3cfed981 100644 --- a/src/Interface.cs +++ b/src/Interface.cs @@ -284,7 +284,7 @@ namespace Crow #if MEASURE_TIME public Stopwatch clippingTime = new Stopwatch (); public Stopwatch layoutTime = new Stopwatch (); - public Stopwatch guTime = new Stopwatch (); + public Stopwatch updateTime = new Stopwatch (); public Stopwatch drawingTime = new Stopwatch (); #endif @@ -377,12 +377,20 @@ namespace Crow if (!Monitor.TryEnter (UpdateMutex)) return; + #if MEASURE_TIME + updateTime.Restart(); + #endif + processLayouting (); clippingRegistration (); processDrawing (); + #if MEASURE_TIME + updateTime.Stop (); + #endif + Monitor.Exit (UpdateMutex); } void processLayouting(){ |