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

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

Reimplemented from Impala::Util::ChannelServer.

Definition at line 521 of file mainDataServer.cpp.

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

00522     {
00523         double timeVal = SplitTime();
00524         double fps = (double) mFramesDone / timeVal;
00525         std::ostrstream statusStream;
00526         statusStream << "Did " << mFramesDone << " frames in " << timeVal
00527                      << " sec = " << fps << " fps" << std::ends;
00528         strcpy(GetStatusBuffer(), statusStream.str());
00529         statusStream.freeze(false); // prevents mem leak
00530     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:14:11 2011 for ImpalaSrc by  doxygen 1.5.1