| 861 | return lastMs > 0 ? 1000.0f / static_cast<float>(lastMs) : 0.0f; |
| 862 | } |
| 863 | |
| 864 | float ProfileFrameMs() |
| 865 | { |
| 866 | if (!GEngine) |
| 867 | return 0.0f; |
| 868 | return static_cast<float>(GEngine->GetLastFrameDuration()); |
| 869 | } |
| 870 | } // namespace |
| 871 |
no test coverage detected