diff options
author | Vratko Polak <vrpolak@cisco.com> | 2021-06-24 19:40:38 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2021-06-24 19:40:38 +0200 |
commit | fd59d7ff012291f27e9ad2cd6ca863d8307f9104 (patch) | |
tree | 7a14a9b3fb5f32c4cb3f43677d6a510940c6f000 /VPP_STABLE_VER_UBUNTU_FOCAL | |
parent | 39001a2af7f465bb97e21747db749ff3e44ebbd4 (diff) |
Metrics: Fix timestamps, they were not epoch
Library documentation [0] says this about monotonic():
The reference point of the returned value is undefined,
so that only the difference between the results of two calls is valid.
Switching to time().
[0] https://docs.python.org/3/library/time.html
Change-Id: Ia7ef8d89119f7dc72619cac44b213611163ff054
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'VPP_STABLE_VER_UBUNTU_FOCAL')
0 files changed, 0 insertions, 0 deletions