Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

virtual void Impala::Application::DataServer::UpdateStatusBuf (  )  [inline, protected, virtual]

Reimplemented from Impala::Util::ChannelServer.

Definition at line 494 of file mainDataServer.cpp.

References Impala::Util::ChannelServer::GetStatusBuffer(), mFramesDone, and Impala::Util::ChannelServer::SplitTime().

00495     {
00496         double timeVal = SplitTime();
00497         double fps = (double) mFramesDone / timeVal;
00498         std::ostrstream statusStream;
00499         statusStream << "Did " << mFramesDone << " frames in " << timeVal
00500                      << " sec = " << fps << " fps" << std::ends;
00501         strcpy(GetStatusBuffer(), statusStream.str());
00502         statusStream.freeze(false); // prevents mem leak
00503     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:37:19 2010 for ImpalaSrc by  doxygen 1.5.1