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:
|