Searched refs:drain_period_ms (Results 1 – 19 of 19) sorted by relevance
74 uint32_t ClampDrainPeriodMs(uint32_t drain_period_ms) { in ClampDrainPeriodMs() argument75 if (drain_period_ms == 0) { in ClampDrainPeriodMs()78 if (drain_period_ms < kMinDrainPeriodMs || in ClampDrainPeriodMs()79 kMaxDrainPeriodMs < drain_period_ms) { in ClampDrainPeriodMs()81 drain_period_ms, kMinDrainPeriodMs, kMaxDrainPeriodMs); in ClampDrainPeriodMs()84 return drain_period_ms; in ClampDrainPeriodMs()193 auto drain_period_ms = GetDrainPeriodMs(); in StartIfNeeded() local200 drain_period_ms - (NowMs() % drain_period_ms)); in StartIfNeeded()285 auto drain_period_ms = GetDrainPeriodMs(); in ReadTick() local291 drain_period_ms - (NowMs() % drain_period_ms)); in ReadTick()[all …]
185 uint32_t drain_period_ms() { return GetDrainPeriodMs(); } in drain_period_ms() function in perfetto::TestFtraceController447 EXPECT_EQ(100u, controller->drain_period_ms()); in TEST()455 EXPECT_EQ(100u, controller->drain_period_ms()); in TEST()463 EXPECT_EQ(100u, controller->drain_period_ms()); in TEST()471 EXPECT_EQ(200u, controller->drain_period_ms()); in TEST()
5 …drain_period_ms: 0\n }\n chrome_config: {\n trace_config: \"\"\n }\n inode_file_c…
4 …drain_period_ms: 0\n }\n chrome_config: {\n trace_config: \"\"\n }\n inode_file_c…
16 drain_period_ms: 250
14 drain_period_ms: 200
12 drain_period_ms: 100
28 drain_period_ms: 200
17 drain_period_ms: 200
39 drain_period_ms: 42
24 drain_period_ms: 250
36 drain_period_ms: 250
12 drain_period_ms: 500
27 optional uint32 drain_period_ms = 11; field
129 buffer_size_kb=buffer_size_kb, drain_period_ms=drain_rate_ms)
184 ASSERT_EQ(ftrace_config.drain_period_ms(), 42u); in TEST()
73 between two frace read cycles (`TraceConfig.FtraceConfig.drain_period_ms`).214 [`TraceConfig.FtraceConfig.drain_period_ms`][FtraceConfig]
371 optional uint32 drain_period_ms = 11; field