Home
last modified time | relevance | path

Searched refs:drain_period_ms (Results 1 – 18 of 18) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller.cc55 uint32_t ClampDrainPeriodMs(uint32_t drain_period_ms) { in ClampDrainPeriodMs() argument
56 if (drain_period_ms == 0) { in ClampDrainPeriodMs()
59 if (drain_period_ms < kMinDrainPeriodMs || in ClampDrainPeriodMs()
60 kMaxDrainPeriodMs < drain_period_ms) { in ClampDrainPeriodMs()
62 drain_period_ms, kMinDrainPeriodMs, kMaxDrainPeriodMs); in ClampDrainPeriodMs()
65 return drain_period_ms; in ClampDrainPeriodMs()
188 uint32_t drain_period_ms = weak_ctl->GetDrainPeriodMs(); in OnCpuReaderRead() local
195 drain_period_ms - (weak_ctl->NowMs() % drain_period_ms)); in OnCpuReaderRead()
322 if (data_source->config().drain_period_ms() < min_drain_period_ms) in GetDrainPeriodMs()
323 min_drain_period_ms = data_source->config().drain_period_ms(); in GetDrainPeriodMs()
Dftrace_controller_unittest.cc225 uint32_t drain_period_ms() { return GetDrainPeriodMs(); } in drain_period_ms() function in perfetto::TestFtraceController
529 EXPECT_EQ(100u, controller->drain_period_ms()); in TEST()
537 EXPECT_EQ(100u, controller->drain_period_ms()); in TEST()
545 EXPECT_EQ(100u, controller->drain_period_ms()); in TEST()
553 EXPECT_EQ(200u, controller->drain_period_ms()); in TEST()
/external/perfetto/src/tracing/core/
Dftrace_config.cc87 static_assert(sizeof(drain_period_ms_) == sizeof(proto.drain_period_ms()), in FromProto()
90 static_cast<decltype(drain_period_ms_)>(proto.drain_period_ms()); in FromProto()
121 static_assert(sizeof(drain_period_ms_) == sizeof(proto->drain_period_ms()), in ToProto()
124 static_cast<decltype(proto->drain_period_ms())>(drain_period_ms_)); in ToProto()
/external/perfetto/test/configs/
Dsummary.cfg14 drain_period_ms: 200
Dftrace_largebuffer.cfg12 drain_period_ms: 100
Dandroid_log.cfg28 drain_period_ms: 200
Dbackground.cfg17 drain_period_ms: 200
Datrace.cfg39 drain_period_ms: 42
Dprocesses.cfg12 drain_period_ms: 200
Dlong_trace.cfg32 drain_period_ms: 250
Dsys_stats.cfg24 drain_period_ms: 250
Dftrace.cfg12 drain_period_ms: 200
/external/perfetto/protos/perfetto/config/ftrace/
Dftrace_config.proto31 optional uint32 drain_period_ms = 11; field
/external/perfetto/include/perfetto/tracing/core/
Dftrace_config.h102 uint32_t drain_period_ms() const { return drain_period_ms_; } in drain_period_ms() function
/external/perfetto/tools/
Dload_tool145 buffer_size_kb=buffer_size_kb, drain_period_ms=drain_rate_ms)
/external/perfetto/src/perfetto_cmd/
Dpbtxt_to_pb_unittest.cc137 config.data_sources().Get(0).config().ftrace_config().drain_period_ms(), in TEST()
/external/perfetto/protos/perfetto/config/
Dperfetto_config.proto290 optional uint32 drain_period_ms = 11; field
/external/perfetto/protos/perfetto/trace/
Dperfetto_trace.proto3391 optional uint32 drain_period_ms = 11; field