Changeset 282 for binary-improvements
- Timestamp:
- Jun 20, 2016, 12:05:51 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/Web.cs
r279 r282 132 132 Interlocked.Increment (ref handlingCount); 133 133 Interlocked.Increment (ref currentHandlers); 134 MicroStopwatch msw = new MicroStopwatch ();134 // MicroStopwatch msw = new MicroStopwatch (); 135 135 HttpListenerContext ctx = _listener.EndGetContext (result); 136 136 _listener.BeginGetContext (new AsyncCallback (HandleRequest), _listener); … … 193 193 ctx.Response.Close (); 194 194 } 195 msw.Stop ();196 totalHandlingTime += msw.ElapsedMicroseconds;197 Log.Out ("Web.HandleRequest(): Took {0} µs", msw.ElapsedMicroseconds);195 // msw.Stop (); 196 // totalHandlingTime += msw.ElapsedMicroseconds; 197 // Log.Out ("Web.HandleRequest(): Took {0} µs", msw.ElapsedMicroseconds); 198 198 Interlocked.Decrement (ref currentHandlers); 199 199 }
Note:
See TracChangeset
for help on using the changeset viewer.