![]() |
PhoenixClockMock
2.0.0
Tool to manipulate mock of clock (split, merge and get info)
|
#include <unistd.h>
#include <iomanip>
#include <iostream>
#include "data_stream_assert.h"
#include "PClockNs.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | testPClockNs () |
Test the PClockNs. More... | |
void | testPClockNsCoherence () |
Test the coherence of the PClockNs. More... | |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 41 of file main.cpp.
References testPClockNs(), and testPClockNsCoherence().
void testPClockNs | ( | ) |
Test the PClockNs.
Definition at line 15 of file main.cpp.
References data_stream_assert, PClockNs::getDateCompactNs(), PClockNs::getDateNs(), PClockNs::getFullTimeNs(), PClockNs::getOffsetTimeNs(), and PClockNs::setOffsetTimeNs().
Referenced by main().
void testPClockNsCoherence | ( | ) |
Test the coherence of the PClockNs.
Definition at line 32 of file main.cpp.
References PClockNs::getFullTimeNs(), and phoenix_dateNs().
Referenced by main().