Searched refs:drain_period_ms (Results 1 – 18 of 18) sorted by relevance
/external/perfetto/src/traced/probes/ftrace/ |
D | ftrace_controller.cc | 55 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()
|
D | ftrace_controller_unittest.cc | 225 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/ |
D | ftrace_config.cc | 87 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/ |
D | summary.cfg | 14 drain_period_ms: 200
|
D | ftrace_largebuffer.cfg | 12 drain_period_ms: 100
|
D | android_log.cfg | 28 drain_period_ms: 200
|
D | background.cfg | 17 drain_period_ms: 200
|
D | atrace.cfg | 39 drain_period_ms: 42
|
D | processes.cfg | 12 drain_period_ms: 200
|
D | long_trace.cfg | 32 drain_period_ms: 250
|
D | sys_stats.cfg | 24 drain_period_ms: 250
|
D | ftrace.cfg | 12 drain_period_ms: 200
|
/external/perfetto/protos/perfetto/config/ftrace/ |
D | ftrace_config.proto | 31 optional uint32 drain_period_ms = 11; field
|
/external/perfetto/include/perfetto/tracing/core/ |
D | ftrace_config.h | 102 uint32_t drain_period_ms() const { return drain_period_ms_; } in drain_period_ms() function
|
/external/perfetto/tools/ |
D | load_tool | 145 buffer_size_kb=buffer_size_kb, drain_period_ms=drain_rate_ms)
|
/external/perfetto/src/perfetto_cmd/ |
D | pbtxt_to_pb_unittest.cc | 137 config.data_sources().Get(0).config().ftrace_config().drain_period_ms(), in TEST()
|
/external/perfetto/protos/perfetto/config/ |
D | perfetto_config.proto | 290 optional uint32 drain_period_ms = 11; field
|
/external/perfetto/protos/perfetto/trace/ |
D | perfetto_trace.proto | 3391 optional uint32 drain_period_ms = 11; field
|