Home
last modified time | relevance | path

Searched refs:ShouldTrace (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/src/perfetto_cmd/
Drate_limiter_unittest.cc161 ASSERT_EQ(limiter.ShouldTrace({}), RateLimiter::kOkToTrace); in TEST()
184 ASSERT_EQ(limiter.ShouldTrace(args), RateLimiter::kOkToTrace); in TEST()
206 ASSERT_EQ(limiter.ShouldTrace(args), RateLimiter::kOkToTrace); in TEST()
233 ASSERT_EQ(limiter.ShouldTrace(args), RateLimiter::kOkToTrace); in TEST()
262 ASSERT_EQ(limiter.ShouldTrace(args), RateLimiter::kOkToTrace); in TEST()
296 ASSERT_EQ(limiter.ShouldTrace(args), RateLimiter::kInvalidState); in TEST()
320 ASSERT_EQ(limiter.ShouldTrace(args), RateLimiter::kInvalidState); in TEST()
347 ASSERT_EQ(limiter.ShouldTrace(args), RateLimiter::kOkToTrace); in TEST()
368 ASSERT_EQ(limiter.ShouldTrace(args), RateLimiter::kHitUploadLimit); in TEST()
385 ASSERT_EQ(limiter.ShouldTrace(args), RateLimiter::kHitUploadLimit); in TEST()
[all …]
Drate_limiter.h47 ShouldTraceResponse ShouldTrace(const Args& args);
Drate_limiter.cc51 RateLimiter::ShouldTraceResponse RateLimiter::ShouldTrace(const Args& args) { in ShouldTrace() function in perfetto::RateLimiter
Dperfetto_cmd.cc743 auto err_atom = ConvertRateLimiterResponseToAtom(limiter.ShouldTrace(args)); in Main()