Home
last modified time | relevance | path

Searched refs:epoch (Results 1 – 2 of 2) sorted by relevance

/mipi-sys-t-2.7.6/library/platform/example/src/
Dmipi_syst_platform.c367 mipi_syst_u64 epoch;
369 epoch = 0x12345678aabbccddull;
377 epoch = ft.dwHighDateTime;
378 epoch = ((epoch << 32) | ft.dwLowDateTime) / 10 - 11644473600000000ULL;
384 epoch = tv.tv_sec;
385 epoch *= 1000000;
386 epoch += tv.tv_usec;
388 return epoch;
/mipi-sys-t-2.7.6/library/platform/mipi_stp_sim/src/
Dmipi_syst_platform.c75 mipi_syst_u64 epoch; in mipi_syst_get_epoch_us() local
77 epoch = 0x12345678aabbccddull; in mipi_syst_get_epoch_us()
85 epoch = ft.dwHighDateTime; in mipi_syst_get_epoch_us()
86 epoch = ((epoch<<32) | ft.dwLowDateTime) / 10 - 11644473600000000ULL; in mipi_syst_get_epoch_us()
90 epoch = tv.tv_sec; in mipi_syst_get_epoch_us()
91 epoch *= 1000000; in mipi_syst_get_epoch_us()
92 epoch += tv.tv_usec; in mipi_syst_get_epoch_us()
94 return epoch; in mipi_syst_get_epoch_us()