Skip to content

Commit 1e782dd

Browse files
otmeta-codesync[bot]
authored andcommitted
Tweak example in comment
Reviewed By: IosifSpulber Differential Revision: D93234058 fbshipit-source-id: 0c824e387867e94412a69354135ae31385f5bc9d
1 parent 3039bde commit 1e782dd

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

fb303/ServiceData.h

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -359,14 +359,12 @@ class ServiceData {
359359
*
360360
* To add values to the stat, call addValue on the QuantileStat returned.
361361
*
362-
* There are some helper consts in ExportType.h to make using this function
363-
* easier to use:
364-
*
365-
* ServiceData::get()->getQuantileStat(
366-
* "foo",
367-
* ExportTypeConsts::kSumCountAvg,
368-
* QuantileConsts::kP95_P99_P999,
369-
* SlidingWindowPeriodConsts::kOneMinTenMinHour);
362+
* There are some helper consts in ExportType.h to make it easier to change
363+
* the default parameters if needed, for example:
364+
*
365+
* - ExportTypeConsts::kSumCountAvg
366+
* - QuantileConsts::kP95_P99_P999
367+
* - SlidingWindowPeriodConsts::kOneMinTenMinHour
370368
*
371369
* While this function is relatively fast, it is better to reuse the pointer
372370
* to the QuantileStat returned.

0 commit comments

Comments
 (0)