Searched refs:ShouldTrace (Results 1 – 4 of 4) sorted by relevance
/external/perfetto/src/perfetto_cmd/ |
D | rate_limiter_unittest.cc | 161 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 …]
|
D | rate_limiter.h | 47 ShouldTraceResponse ShouldTrace(const Args& args);
|
D | rate_limiter.cc | 51 RateLimiter::ShouldTraceResponse RateLimiter::ShouldTrace(const Args& args) { in ShouldTrace() function in perfetto::RateLimiter
|
D | perfetto_cmd.cc | 743 auto err_atom = ConvertRateLimiterResponseToAtom(limiter.ShouldTrace(args)); in Main()
|