OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:durationMetric
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/cmds/statsd/tests/e2e/
WakelockDuration_e2e_test.cpp
31
StatsdConfig CreateStatsdConfig(
DurationMetric
::AggregationType aggregationType) {
51
auto
durationMetric
= config.add_duration_metric();
52
durationMetric
->set_id(StringToId("WakelockDuration"));
53
durationMetric
->set_what(holdingWakelockPredicate.id());
54
durationMetric
->set_condition(screenIsOffPredicate.id());
55
durationMetric
->set_aggregation_type(aggregationType);
57
*
durationMetric
->mutable_dimensions_in_what() =
60
durationMetric
->set_bucket(FIVE_MINUTES);
120
auto config = CreateStatsdConfig(
DurationMetric
::SUM);
157
auto config = CreateStatsdConfig(
DurationMetric
::SUM)
[
all
...]
Anomaly_duration_sum_e2e_test.cpp
34
DurationMetric
::AggregationType aggregationType,
54
auto
durationMetric
= config.add_duration_metric();
55
durationMetric
->set_id(StringToId("WakelockDuration"));
56
durationMetric
->set_what(holdingWakelockPredicate.id());
57
durationMetric
->set_condition(screenIsOffPredicate.id());
58
durationMetric
->set_aggregation_type(aggregationType);
59
*
durationMetric
->mutable_dimensions_in_what() =
61
durationMetric
->set_bucket(FIVE_MINUTES);
95
auto config = CreateStatsdConfig(num_buckets, threshold_ns,
DurationMetric
::SUM, true);
272
auto config = CreateStatsdConfig(num_buckets, threshold_ns,
DurationMetric
::SUM, true)
[
all
...]
/frameworks/base/cmds/statsd/src/metrics/
DurationMetricProducer.h
41
DurationMetricProducer(const ConfigKey& key, const
DurationMetric
&
durationMetric
,
metrics_manager_util.cpp
323
const
DurationMetric
& metric = config.duration_metric(i);
328
ALOGE("
DurationMetric
's \"what\" is invalid");
335
ALOGE("
DurationMetric
's \"what\" must be a simple condition");
384
sp<MetricProducer>
durationMetric
= new DurationMetricProducer(
388
allMetricProducers.push_back(
durationMetric
);
Completed in 99 milliseconds