summaryrefslogtreecommitdiffstats
path: root/jdisc_core_test
diff options
context:
space:
mode:
authorArne Juul <arnej@yahoo-inc.com>2017-11-26 09:25:53 +0000
committerArne Juul <arnej@yahoo-inc.com>2017-12-03 20:05:01 +0000
commit2634665462f58cb5219ffe226b7f9e192350e0af (patch)
tree459f928da267aba066070c1a9de82139d9dc539e /jdisc_core_test
parent00404e5b3966e20dac4a012ad8329b49bac281e9 (diff)
update metrics library after review
* 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.
Diffstat (limited to 'jdisc_core_test')
0 files changed, 0 insertions, 0 deletions