Merge functionality of misc_os_dependent into time_helper.h

Actions:
1. Remove unused functions from misc_os_dependent.h
2. Move three remaining functions, get_gmt_time, get_ns_count, and get_tick_count into time_helper.h
3. Remove unused functions from time_helper.h
4. Refactor get_ns_count and get_internet_time_str and get_time_interval_string
5. Remove/add includes as needed

Relevant commits on the old PR:
a9fbe52b02
9a59b131c4
7fa9e2817d
This commit is contained in:
Jeffrey
2022-03-07 19:16:26 -06:00
parent 40f02f9d73
commit 441c860738
10 changed files with 35 additions and 281 deletions

View File

@@ -59,7 +59,7 @@
#include "include_base_utils.h"
#include "file_io_utils.h"
#include "wipeable_string.h"
#include "misc_os_dependent.h"
#include "time_helper.h"
using namespace epee;
#include "crypto/crypto.h"