GitHub user SolidWallOfCode opened a pull request:
https://github.com/apache/trafficserver/pull/1330
Metric Library
The Metric library is a header only library that supports scaled integer
values.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SolidWallOfCode/trafficserver lib-metric
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/1330.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1330
----
commit 87ca41da4c2c2d9f51e8530c4aad30633cffb5de
Author: Alan M. Carroll <[email protected]>
Date: 2016-12-29T21:39:21Z
Metric: Add Metric (scaled value) support class.
commit 2de357872706fc707277d1faaa002cd767a2b4ac
Author: Alan M. Carroll <[email protected]>
Date: 2016-12-30T01:24:44Z
Metric: Add assignment, copy constructor.
commit e1157094ccd5a573b9aeffd3e0a320f949773889
Author: Alan M. Carroll <[email protected]>
Date: 2017-01-14T14:08:46Z
Metric: Cherry pick up to 4104d5cd063116bb95b071caec3ee0c8db87ac30.
Working rounding optimizations.
commit 71ec482594ad7cf675d1beaeefbb6a73374eb48b
Author: Alan M. Carroll <[email protected]>
Date: 2017-01-14T16:07:17Z
Metric: Further optimization tweaks. Removed Metric::round_down.
commit 6fa53e51fff9bcef93dec70ad4d498ccd1abae0b
Author: Alan M. Carroll <[email protected]>
Date: 2017-01-14T23:31:58Z
Metric: Bug fixes.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---