LCOV - code coverage report
Current view: top level - firmware/libfirmware/mock - lib-time-mocks.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 6 6 100.0 %
Date: 2024-04-25 02:23:43 Functions: 3 3 100.0 %

          Line data    Source code
       1             : #include <rusefi/rusefi_time_math.h>
       2             : 
       3             : int timeNowUs = 0;
       4             : 
       5      407721 : efitimeus_t getTimeNowUs() {
       6      407721 :         return timeNowUs;
       7             : }
       8             : 
       9         314 : efitimesec_t getTimeNowS() {
      10         314 :         return getTimeNowUs() / 1000 / 1000;
      11             : }
      12             : 
      13      385041 : efitick_t getTimeNowNt() {
      14      385041 :         return getTimeNowUs() * US_TO_NT_MULTIPLIER;
      15             : }

Generated by: LCOV version 1.14