/////////////////////////////////////////////////////////////////////////// Total execution time for the timer over all runs since the last reset or timer creation. @param name name of the timer to obtain the value of. ///////////////////////////////////////////////////////////////////////////
| 454 | //! @param name name of the timer to obtain the value of. |
| 455 | //////////////////////////////////////////////////////////////////////////////// |
| 456 | inline float sdkGetTimerValue(StopWatchInterface **timer_interface) { |
| 457 | // printf("sdkGetTimerValue called object %08x\n", (void *)*timer_interface); |
| 458 | if (*timer_interface) { |
| 459 | return (*timer_interface)->getTime(); |
| 460 | } else { |
| 461 | return 0.0f; |
| 462 | } |
| 463 | } |
| 464 | |
| 465 | #endif // COMMON_HELPER_TIMER_H_ |
no test coverage detected