Home
last modified time | relevance | path

Searched refs:time_constraints (Results 1 – 6 of 6) sorted by relevance

/external/cronet/base/threading/
Dplatform_thread_mac.mm183 thread_time_constraint_policy_data_t time_constraints;
195 time_constraints.period = abs_realtime_period;
196 time_constraints.constraint = std::min(
198 time_constraints.computation =
199 std::min(time_constraints.constraint,
201 time_constraints.preemptible = config.preemptible ? YES : NO;
202 return time_constraints;
231 time_constraints.period = kTimeQuantum * ms_to_abs_time;
232 time_constraints.computation = kAudioTimeNeeded * ms_to_abs_time;
233 time_constraints.constraint = kMaxTimeAllowed * ms_to_abs_time;
[all …]
Dplatform_thread_unittest.cc595 const thread_time_constraint_policy_data_t& time_constraints = in RunTest() local
610 EXPECT_EQ(time_constraints.period, abs_realtime_period); in RunTest()
612 time_constraints.computation, in RunTest()
616 time_constraints.constraint, in RunTest()
619 EXPECT_EQ(time_constraints.preemptible, in RunTest()
631 EXPECT_EQ(time_constraints.period, in RunTest()
633 EXPECT_EQ(time_constraints.computation, in RunTest()
635 EXPECT_EQ(time_constraints.constraint, in RunTest()
637 EXPECT_FALSE(time_constraints.preemptible); in RunTest()
/external/perfetto/src/trace_processor/prelude/table_functions/
Dexperimental_flamegraph.cc105 std::vector<TimeConstraints> time_constraints = {}; in GetFlamegraphInputValues() local
114 time_constraints.push_back( in GetFlamegraphInputValues()
133 profile_type, ts, std::move(time_constraints), in GetFlamegraphInputValues()
343 values.time_constraints); in ComputeTable()
Dflamegraph_construction_algorithms.h41 const std::vector<TimeConstraints>& time_constraints);
Dflamegraph_construction_algorithms.cc349 const std::vector<TimeConstraints>& time_constraints) { in BuildNativeCallStackSamplingFlamegraph() argument
393 for (const auto& tc : time_constraints) { in BuildNativeCallStackSamplingFlamegraph()
417 if (!time_constraints.empty()) { in BuildNativeCallStackSamplingFlamegraph()
418 auto& tc = time_constraints[0]; in BuildNativeCallStackSamplingFlamegraph()
Dexperimental_flamegraph.h36 std::vector<TimeConstraints> time_constraints; member