summaryrefslogtreecommitdiffstats
path: root/staging_vespalib
Commit message (Collapse)AuthorAgeFilesLines
* Must generate the hash before the object is invalidHenning Baldersheim2017-12-281-1/+2
|
* Use a faster and simpler iteration for speed and simplicity.Henning Baldersheim2017-12-281-2/+2
|
* add compulsory description for metricsArne Juul2017-12-075-10/+10
|
* integrate new MockTick from havardpeArne Juul2017-12-056-112/+91
|
* update metrics library after reviewArne Juul2017-12-0524-55/+182
| | | | | | | | | | * move ticker kill * use relaxed JSON in test * rewrite loops in MockTick * no need for atomics when protected by mutex * add alive() to Tick API * hook up total metrics * add some documentation comments
* move MockTickArne Juul2017-12-046-11/+10
|
* update metrics library after reviewsArne Juul2017-12-0432-341/+477
| | | | | | | | | | * use slimmer handle subclasses * new tick abstraction * gc unused time supplier * rename current bucket concept to current samples * rename TimeStamp type * add padding making old metrics visible * improve test, now with less debug printing.
* review follow-upArne Juul2017-12-0329-182/+272
| | | | | | | | | | | | | | | * bug fix PointMap::operator< and use "for" loop * construct aggregators from samples only * use generation counter instead of timestamps to ensure correct ordering * add "noexcept" to signal strong exception guarantees * handle out-of-order metric type checks * ensure ticker thread is stopped in destructor * change TickerThread::stop() to only do its work once, as calling stop() twice crashed for some strange reason * refactor CurrentSamples extraction * move time-handling to tick() * ensure we do not have concurrent tick()s running * simpler time handling
* update metrics library after reviewArne Juul2017-12-0349-559/+833
| | | | | | | | | | | | | | | | | | | | | | | * Fix PointMap comparison bug and style. * Rename ReAllocBunch to StableStore, and GC its unused lookup method. Rename method apply -> for_each * Rename CounterIncrement -> Counter::Increment and GaugeMeasurement -> Gauge::Measurement * Rename PointMapBacking -> PointMap::BackingMap * Make single-argument constructors explicit. * Do not use actual time in dummy. * Rename mergeWithMap -> mergeFromSamples, and do some refactoring of it. * Refactor opaque handle implementation into its own class * Copy strings into snapshot, do not refer to strings owned elsewhere. * Refactor _pointMaps code into new PointMapCollection class * Split aggregators into their own files, move Bucket into its own files, and rename files for CurrentSamples. * Make Counter and Gauge only hold the MetricName and supply an empty Point via default argument instead. * Split out StableStore test, and test for pointer equality. * Separate out ticker thread, and arrange for fast stop. * Use less swap. * Add totalSnapshot() facility.
* first take on new simple metrics library.Arne Juul2017-12-0346-27/+1910
| | | | | | This is still a Work In Progress, the most basic public APIs should be stable now but most of the implementation is still untested and undocumented.
* Use std::lock_guard instead of std::unique_lock.Tor Egge2017-11-131-1/+1
|
* Use std::mutex and std::condition_variable instead of FastOS_Cond.Tor Egge2017-10-272-8/+10
|
* Remove leftover code.Henning Baldersheim2017-10-131-1/+0
|
* You can only start threads that operates on this in the constructor if you ↵Henning Baldersheim2017-10-132-3/+3
| | | | are final.
* Earlier conclusion about issue with too ealy stop was incorrect. However ↵Henning Baldersheim2017-10-132-6/+9
| | | | adding sanity checks to catch incorrect usage.
* Avoid that we miss a stop that happens while we are STARTING.Henning Baldersheim2017-10-131-0/+2
|
* Wire in for live reconfiguration of DocumentStore.Henning Baldersheim2017-10-053-38/+22
|
* Remove or update outdated copyright noticesTor Brede Vekterli2017-09-201-2/+0
|
* Moved databuffer and compresssion to vespalibHenning Baldersheim2017-08-2810-934/+3
|
* Drop the dangerous LinkedPtr.Henning Baldersheim2017-08-213-55/+2
|
* Include what you need.Henning Baldersheim2017-08-181-0/+1
|
* Fix up @vekterli's comments.Henning Baldersheim2017-08-181-1/+1
|
* Remove more clutter in fastos/types.hHenning Baldersheim2017-08-184-10/+16
|
* Include only what you need.Henning Baldersheim2017-08-184-0/+8
|
* Use std::atomic all over and completely get rid of homegrown atomics.Henning Baldersheim2017-08-112-3/+3
|
* Add some final keywords to improve inliningHenning Baldersheim2017-07-311-2/+2
|
* Use syntax that works for both gcc 7 and gcc 6.Henning Baldersheim2017-07-241-1/+1
|
* Add [[falltrhough]] for gcc 7Henning Baldersheim2017-07-241-0/+2
|
* Update copyright headersJon Bratseth2017-06-14186-184/+186
|
* Revert "Update copyright headers"Jon Bratseth2017-06-14186-186/+184
|
* Update copyright headersJon Bratseth2017-06-14186-184/+186
|
* Revert "Copyright header"Jon Bratseth2017-06-13186-186/+184
|
* Merge with masterJon Bratseth2017-06-131-4/+2
|\
| * Add support for Zstandard compression in the document store.Henning Baldersheim2017-06-121-4/+2
| |
* | Copyright headerJon Bratseth2017-06-13186-184/+186
|/
* Do not provide unnecessary fastos/mutex.h by default.Henning Baldersheim2017-06-071-0/+1
|
* Hide BucketId::ListHenning Baldersheim2017-06-073-4/+4
|
* Forward declare XmlOutputStream and FieldValue::IteratorHandler.Henning Baldersheim2017-06-0710-727/+785
|
* Include vectorHenning Baldersheim2017-06-071-0/+1
|
* Forward declare ByteBuffer and FastOS_ThreadHenning Baldersheim2017-06-061-2/+0
|
* Include stringfmt where it was needed.Henning Baldersheim2017-06-068-22/+24
|
* hide and deinline template instantiations.Henning Baldersheim2017-05-052-110/+104
|
* Make searchcore compile without optimizations (-Og).Geir Storli2017-05-044-0/+10
|
* Add missing fileHenning Baldersheim2017-05-021-0/+9
|
* Fix warnings hidden earlier due to including application headers as system ↵Henning Baldersheim2017-05-028-9/+22
| | | | includes
* Add back loggingHenning Baldersheim2017-04-291-0/+3
|
* No virtual on overrideHenning Baldersheim2017-04-2633-871/+88
| | | | Optimize includes.
* Revert "Balder/enforce override 2"Arne H Juul2017-04-2423-81/+150
|
* Add override to memfilepersistence.Henning Baldersheim2017-04-231-50/+31
|
* Use overrideHenning Baldersheim2017-04-2322-100/+50
|