Commit Graph

19 Commits

Author SHA1 Message Date
kevin
0c5e6d52b3 cwTime : Updated elapsedMicros(). 2024-02-24 13:55:44 -05:00
kevin
24e35872b2 Added specToMicroseconds() and microsecondsToSpec().
Simplified advanceMicros() and advanceMs()
2024-02-14 11:39:23 -05:00
kevin
e1aa033958 cwTime.h/cpp, cwMutex.cpp : Time now depends on CLOCK_MONOTONIC instead of CLOCK_REALTIME.
mutex::lock() apparently depends on CLOCK_REALTIME and so that is now handled with a direct call to clock_gettime().
2024-02-10 11:49:47 -05:00
kevin
e8c9e38d81 cwTime.cpp : Fixed some misuses of '1e' notation. 2023-06-27 17:27:15 -04:00
kevin
c93a9670f9 cwTime.h/cpp: Added formatDateTime() 2023-05-19 21:21:03 -04:00
kevin
2d646837a6 cwTime.h/cpp : Added specToSeconds() 2023-04-30 21:16:14 -04:00
kevin
748bf9ab44 cwTime.h/cpp : Added advanceMicros(). 2023-01-14 17:15:55 -05:00
kevin
b79e8e1948 cwTime.cpp : Slight efficiency improvement to advanceMs(). 2022-12-12 12:11:30 -05:00
kevin
1259ba96fb cwTime.h/cpp : Added elapsedSecs(). 2022-03-20 10:18:54 -04:00
kevin
f8f21a9c0e cwTime.h/cpp : Added isLT() and isGT(). 2021-12-12 16:41:03 -05:00
kevin
2d54982009 cwTime.h,cpp : Added seconds,milli,microToSpec() and subtractMicros() 2021-10-11 12:22:27 -04:00
kevin
62257d7d24 cwVectOps.h : Initial commit.
cwTime.h: Added elaspsedMs()
cwObject.h: Added getv_opt().
cwCommon.h: Added kInvalidStateRC
Makefile: Added use of cwWEBSOCK build variable.
cwAudioFileOps.h : Initial commit.
cwAudioFile.h : Moved some operations so cwAudioFileOps.h
cwCommonImpl.h : Removed is_int<> because has a std library implementation.
2020-09-22 11:37:19 -04:00
kevin.larke
273133f6f6 cwTime.cpp : Added >=, <= tests to test(). 2020-04-18 08:59:35 -04:00
kevin.larke
09a02e9a9b cwTime.h/cpp : Added test(). 2020-04-17 13:28:09 -04:00
kevin.larke
03d24fbbdc cwTime.h/cpp,cwDnsSd.cpp,cwMdns.cpp : Changed cwTime interface to use all references rather than pointers as arguments. 2020-04-17 11:16:21 -04:00
kevin.larke
7b2ebd5580 Changes to support autotools build.
Changed #define cwLINUX to OS_LINUX.
2020-03-24 08:51:51 -04:00
kpl
e0c69bfd25 cwTime.h : Added now(), advanceMs() and futureMs(). 2020-03-04 14:06:27 -05:00
kpl
3ef020648b cwTime.cpp/h : Added elapsedMs() 2020-02-01 10:13:21 -05:00
kpl
d6e0f5e675 Many changes and additions.
Added serial port, websocket, midi and initial audio functionality.
2019-12-24 10:05:24 -05:00