| 295 | } |
| 296 | |
| 297 | int CScriptObjectSystem::FrameProfiler(IFunctionHandler *pH) |
| 298 | { |
| 299 | bool on = false; |
| 300 | bool display = true; |
| 301 | char *prefix = ""; |
| 302 | if(pH->GetParamCount()>0) |
| 303 | { |
| 304 | pH->GetParam(1, on); |
| 305 | if(pH->GetParamCount()>1) |
| 306 | { |
| 307 | pH->GetParam(2, display); |
| 308 | if(pH->GetParamCount()>2) |
| 309 | { |
| 310 | pH->GetParam(3, prefix); |
| 311 | }; |
| 312 | }; |
| 313 | }; |
| 314 | m_pSystem->SetFrameProfiler(on, display, prefix); |
| 315 | return pH->EndFunction(); |
| 316 | }; |
| 317 | |
| 318 | int CScriptObjectSystem::DumpMemStats (IFunctionHandler *pH) |
| 319 | { |
nothing calls this directly
no test coverage detected