aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/misc_os_dependent.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-04-18Merge functionality of misc_os_dependent into time_helper.hJeffrey1-129/+0
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: a9fbe52b02ffab451e90c977459fea4642731cd1 9a59b131c4ed1be8afe238fff3780fe203c65a46 7fa9e2817df9b9ef3f0290f7f86357939829e588
2021-04-16Split epee/string_tools.h and encapsulate boost::lexical_castmj-xmr1-10/+2
2018-11-21blockchain_stats: don't use gmtime_r on Windowsmoneromooo-monero1-0/+9
In some cases, it doesn't like it (I don't know the details). Factor into a new epee function
2018-09-10Modify depends for monero's dependenciesTheCharlatan1-1/+1
Add readline, ldns, graphviz, unbound to depends packages Add a cmake toolchain file to depends that is uniquely created for every build and placed in triple/share/toolchain.cmake This file is then passed to cmake with -DCMAKE_TOOLCHAIN_FILE=/path/to/triple/share/toolchain.cmake Add the boost locale package to depends In the depends cmake toolchain file, a DEPENDS flag is added to exclude, or change cmake checks done that are required for depends Link miniupnpc and unwind from depends and not external Add libiconv and icu4c to depends, required for mingw32 builds. Headers (winsock) need to be lower case in order to compile on unix systems. This should not affect building on windows.
2018-02-08epee get_ns_count: cast to uint64_t before multiplying 10^9 to avoid overflowstoffu1-2/+2
2017-12-23Fix Windows builddEBRUYNE-11-0/+4
Fix no new line
2017-12-16move includes around to lessen overall loadmoneromooo-monero1-0/+3
2017-08-01epee: add nanosecond timer and pause/restart profiling macrosmoneromooo-monero1-5/+10
Nanosecond timer precision won't work on Windows, but we don't care since I'm using that just for profiling incremental code paths, but a Windows coder is welcome to add it if there's a way.
2016-04-06Fix get_tick_count() on WindowsHoward Chu1-5/+7
GetTickCount used in 52056dcfc480a126e06afaf209b1772b6aa77fb3 only has ~10-16ms resolution. Use higher rez timer to get 1ms rez.
2016-03-11WIN32 thread_id is OS-dependent not compiler-dependentHoward Chu1-1/+7
2014-07-25move modified epee code to new classes, revert licensefluffypony1-26/+21
2014-07-23License updated to BSD 3-clausefluffypony1-21/+26
2014-03-20some fixesAntonio Juarez1-1/+1
2014-03-03moved all stuff to githubAntonio Juarez1-0/+108