Ignore:
Timestamp:
Aug 27, 2014 1:08:53 PM (7 years ago)
Author:
ldelgass
Message:

Add some Makefile flags for sleep throttling settings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • geovis/trunk/RenderServer.cpp

    r4424 r4628  
    367367    for (;;) {
    368368        long timeout = g_renderer->getTimeout();
     369#ifdef SLEEP_AFTER_QUEUE_FRAME
     370        g_renderer->markFrameStart();
     371#endif
    369372        int cmdStatus = processCommands(interp, NULL, g_inBufPtr, g_fdOut, timeout);
    370373        if (cmdStatus < 0)
     
    391394                g_stats.nFrameBytes += imgData->s() * imgData->t() * 3;
    392395            }
     396#ifdef SLEEP_AFTER_QUEUE_FRAME
     397            g_renderer->markFrameEnd();
     398#endif
    393399        } else {
    394400            //TRACE("No render required");
Note: See TracChangeset for help on using the changeset viewer.