void _beginFrame(ScopedFrame frame, bool enableInstrumentation) { if (enableInstrumentation) { this._frameTime.start(); } }
void _endFrame(ScopedFrame frame, bool enableInstrumentation) { this._rasterCache.sweepAfterFrame(); if (enableInstrumentation) { this._frameTime.stop(); } }
private void EndFrame(ScopedFrame frame, bool enable_instrumentation) { raster_cache_.SweepAfterFrame(); //if (enable_instrumentation) //{ // frame_time_.Stop(); //} }
//private Stopwatch frame_time_ = new Stopwatch(); //private Stopwatch engine_time_ = new Stopwatch(); private void BeginFrame(ScopedFrame frame, bool enable_instrumentation) { //if (enable_instrumentation) //{ // frame_count_.Increment(); // frame_time_.Start(); //} }
private void BeginFrame(ScopedFrame frame, bool enable_instrumentation) { if (enable_instrumentation) { Interlocked.Increment(ref _frame_count); frame_time_.Start(); } }
private void EndFrame(ScopedFrame frame, bool enable_instrumentation) { raster_cache_.SweepAfterFrame(); }
private void BeginFrame(ScopedFrame frame, bool enable_instrumentation) { }
void _endFrame(ScopedFrame frame) { this._rasterCache.sweepAfterFrame(); }
void _beginFrame(ScopedFrame frame) { }