Vinnie Falco
9d819b95bf
Fix MSVC workaround in basic_seconds_clock
2014-06-16 16:18:09 -07:00
Vinnie Falco
ce8f56727e
Make all include paths relative to a root directory:
...
* Better include path support in the VSProject scons tool.
* Various manual fixes to include paths.
2014-06-02 09:16:28 -07:00
Vinnie Falco
4ccc380a7b
Tidy up some source filenames:
...
* Add .unity suffix to mark unity sources
* Fix some relative include paths
2014-05-27 15:23:48 -07:00
Tom Ritchford
6b0cec1189
Improvements to scons build for beast.
...
* Common code extracted to Python directories.
* Read ~/.scons file for scons environment defaults.
* Override scons settings with shell environment variables.
* New "tags" for debug, nodebug, optimize, nooptimize builds.
* Universal platform detection.
* Default value of environment variables set through prefix dictionaries.
* Check for correct Boost value and fail otherwise.
* Extract git describe --tags into a preprocesor variable, -DTIP_BRANCH
* More colors - blue for unchanged defaults, green for changed defaults, red for error.
* Contain unit tests for non-obvious stuff.
* Check to see that boost libraries have been built.
* Right now, we accept both .dylib and .a versions but it'd be easy to enforce .a only.
2014-04-11 10:40:26 -07:00
Vinnie Falco
d64f5a387c
Add beast SConstruct and .travis.yml
2014-03-25 15:22:34 -07:00
Vinnie Falco
3fbff6e620
beast cleanup and tidying:
...
* Replace custom types with C++11 <cstdint> types
* Fix sqlite integer intos and uses
* Fix String implicit integer constructors
* Escape the enclosing namespace in sqdb
* Replace contract checks with assert
* Make many header files compile independently
* Remove the dependence on beast_core.h in many places
* Remove unused or obsolete classes and functions
* Remove unused or obsolete macros
* Remove unused network functions and files
* Remove unused or obsolete classes:
- ChildProcess
- HighResolutionTimer
- InterProcessLock
- Throw
- TrackedMutex
- UntrackedMutex
- XmlDocument
- XmlElement
2014-03-23 15:23:55 -07:00
Vinnie Falco
f63cf33118
New unit_test framework:
...
* Header-only!
* No external dependencies or other beast modules
* Compilation options allow for:
- Stand-alone application to run a single test suite
- Stand-alone application to run a set of test suites
- Global suite of tests inline with the host application
- Disable test suite generation completely
* Existing tests reworked to use the new classes
2014-03-21 18:00:37 -07:00
Vinnie Falco
2d490f6e6a
beast cleaning and tidying:
...
* Consolidate small modules into one
* Remove Android-specific platform support
* Remove Chrono.h from beast_core.h
* Removed files:
- TypeTraits.h
- Utility.h
- Net.h
- Asio.h
* Remove zlib support:
- Remove inline zlib library sources
- Remove GZIPCompressorOutputStream
- Remove GZIPDecompressorInputStream
* Remove obsolete or unused classes:
- AbstractObject
- BigInteger
- BufferedInputStream
- CacheLine
- CPUMeter
- DatagramSocket
- DynamicObject
- FileLogger
- FPUFlags
- Identifier
- JSON
- LocalisedStrings
- MACAddress
- MemoryAlignment
- MemoryInputStream
- MemoryMappedFile
- NamedValueSet
- OptionalScopedPointer
- PerformanceCounter
- PropertySet
- ScopedTimeInterval
- SparseSet
- SpinDelay
- StreamingSocket
- StringPool
- SubregionStream
- Uuid
- Variant
2014-03-21 07:30:50 -07:00
Vinnie Falco
8b659a6d32
Add workaround/noexcept.h for visual studio
2014-03-19 13:42:05 -07:00
Vinnie Falco
18486169b3
Change to the treatment of BeastConfig.h
...
* No longer requires its own compiler include path
* Includes use relative paths to locate the file
* Client applications include the file themselves
* Inclusion of BeastConfig.h can be controlled via preprocessor directive
2014-03-19 13:42:04 -07:00
Vinnie Falco
78e1995365
New utility classes, containers, C++14 compatibility, and fixes:
...
* Add std::equal_to <void> (since C++14)
* Add heterogeneous std::equal (since C++14)
* Add maybe_const
* Add empty_base_optimization
* Add is_constructible specialization for pair, tuple
* Add aged associative containers:
- aged_set, aged_map, aged_multiset, aged_multimap
- aged_unordered_set, aged_unordered_map,
- aged_unordered_multiset, aged_unordered_multimap
* Fix auto keyword pass by reference
* Fix basic_seconds_clock warning and project file
2014-02-24 19:25:01 -08:00
Vinnie Falco
e219008320
Make abstract_clock members const
2014-02-14 11:14:09 -08:00
Vinnie Falco
aaced060bf
Add basic_seconds_clock, insight::Groups
2014-02-03 22:55:47 -08:00
Vinnie Falco
307ad244b0
Use duration in insight::Event, add chrono_util
2014-01-21 10:28:35 -05:00
Vinnie Falco
705e629001
Add std::hash <std::pair> specialization
2014-01-07 21:14:13 -08:00
Vinnie Falco
edc60e2e01
Fix warning in chrono_io
2014-01-07 21:14:07 -08:00
Vinnie Falco
9f65b26288
Add abstract_clock, manual_clock, chrono_io
...
Conflicts:
src/beast/Builds/VisualStudio2012/beast.vcxproj.filters
2014-01-07 17:17:26 -08:00
NATTSiM
eb19343f91
Fix clang compile
2013-12-27 17:46:51 -08:00
Vinnie Falco
1f97a239dc
Measure CPU usage in Workers
2013-10-22 17:23:54 -07:00
Vinnie Falco
29c38ef0d4
RelativeTime tidying
2013-10-20 15:31:50 -07:00
Patrick Dehne
74d616ac78
monotonicCurrentTimeInSeconds should return seconds, not milliseconds
2013-10-21 00:11:44 +02:00
Patrick Dehne
30cf0f8d3a
Rename millisecondsSinceStartup to monotonicCurrentTimeInSeconds
2013-10-20 23:37:24 +02:00
Patrick Dehne
b112b333bd
Make fromStartup compile on mac
2013-10-20 01:38:59 +02:00
Nik Bougalis
a3845f54e1
Add RelativeTime::value_type typedef
2013-10-06 18:33:53 -07:00
Vinnie Falco
6c7f5d093c
Move many Thread related classes
2013-10-04 14:34:01 -07:00
Vinnie Falco
93e9d8622e
Measure CPU utilization in ServiceQueue
2013-10-04 14:34:00 -07:00
Vinnie Falco
c864e4d3db
Move WaitableEvent
2013-10-04 14:33:59 -07:00
Vinnie Falco
ff305e63b6
Add CPUMeter and ScopedTimeInterval
2013-10-04 14:33:59 -07:00
Vinnie Falco
01fd05cb4b
Add RecursiveMutex, UnlockGuard, TryLockGuard
2013-10-04 14:33:59 -07:00
Vinnie Falco
ae22d5dc8a
Add more methods to RelativeTime
2013-10-03 18:36:53 -07:00
Vinnie Falco
f3d97c76df
Add RelativeTime::fromStartup
2013-10-01 12:25:00 -07:00
Vinnie Falco
f07515eb88
Add Stoppable prepare and start interfaces
2013-09-28 15:30:01 -07:00
Vinnie Falco
d37dd46f65
Move RelativeTime to chrono, add ostream support
2013-09-28 15:09:12 -07:00