Searched refs:drain_period_ms (Results 1 – 11 of 11) sorted by relevance
62 uint32_t ClampDrainPeriodMs(uint32_t drain_period_ms) { in ClampDrainPeriodMs() argument63 if (drain_period_ms == 0) { in ClampDrainPeriodMs()66 if (drain_period_ms < kMinDrainPeriodMs || in ClampDrainPeriodMs()67 kMaxDrainPeriodMs < drain_period_ms) { in ClampDrainPeriodMs()69 drain_period_ms, kMinDrainPeriodMs, kMaxDrainPeriodMs); in ClampDrainPeriodMs()72 return drain_period_ms; in ClampDrainPeriodMs()221 if (sink->config().drain_period_ms() < min_drain_period_ms) in GetDrainPeriodMs()222 min_drain_period_ms = sink->config().drain_period_ms(); in GetDrainPeriodMs()303 uint32_t drain_period_ms) { in OnDataAvailable() argument312 uint32_t delay_ms = drain_period_ms - (NowMs() % drain_period_ms); in OnDataAvailable()
212 uint32_t drain_period_ms() { return GetDrainPeriodMs(); } in drain_period_ms() function in perfetto::TestFtraceController437 PostDelayedTask(_, controller->drain_period_ms())) in TEST()454 controller->now_ms += controller->drain_period_ms(); in TEST()579 EXPECT_EQ(100u, controller->drain_period_ms()); in TEST()587 EXPECT_EQ(100u, controller->drain_period_ms()); in TEST()595 EXPECT_EQ(100u, controller->drain_period_ms()); in TEST()603 EXPECT_EQ(200u, controller->drain_period_ms()); in TEST()
76 static_assert(sizeof(drain_period_ms_) == sizeof(proto.drain_period_ms()), in FromProto()79 static_cast<decltype(drain_period_ms_)>(proto.drain_period_ms()); in FromProto()110 static_assert(sizeof(drain_period_ms_) == sizeof(proto->drain_period_ms()), in ToProto()113 static_cast<decltype(proto->drain_period_ms())>(drain_period_ms_)); in ToProto()
14 drain_period_ms: 42
12 drain_period_ms: 200
17 drain_period_ms: 200
92 uint32_t drain_period_ms() const { return drain_period_ms_; } in drain_period_ms() function
31 optional uint32 drain_period_ms = 11; field
207 uint32_t drain_period_ms);
147 optional uint32 drain_period_ms = 11; field