Home
last modified time | relevance | path

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

/aosp_15_r20/external/cronet/base/threading/
H A Dplatform_thread_apple.mm178 thread_time_constraint_policy_data_t time_constraints;
190 time_constraints.period = abs_realtime_period;
191 time_constraints.constraint = std::min(
193 time_constraints.computation =
194 std::min(time_constraints.constraint,
196 time_constraints.preemptible = config.preemptible ? YES : NO;
197 return time_constraints;
226 time_constraints.period = kTimeQuantum * ms_to_abs_time;
227 time_constraints.computation = kAudioTimeNeeded * ms_to_abs_time;
228 time_constraints.constraint = kMaxTimeAllowed * ms_to_abs_time;
[all …]
H A Dplatform_thread_unittest.cc602 const thread_time_constraint_policy_data_t& time_constraints = in RunTest() local
614 EXPECT_EQ(time_constraints.period, abs_realtime_period); in RunTest()
616 time_constraints.computation, in RunTest()
620 time_constraints.constraint, in RunTest()
623 EXPECT_EQ(time_constraints.preemptible, in RunTest()
635 EXPECT_EQ(time_constraints.period, in RunTest()
637 EXPECT_EQ(time_constraints.computation, in RunTest()
639 EXPECT_EQ(time_constraints.constraint, in RunTest()
641 EXPECT_FALSE(time_constraints.preemptible); in RunTest()
/aosp_15_r20/external/perfetto/src/trace_processor/perfetto_sql/intrinsics/table_functions/
H A Dflamegraph_construction_algorithms.cc360 const std::vector<TimeConstraints>& time_constraints) { in BuildNativeCallStackSamplingFlamegraph() argument
392 for (const auto& tc : time_constraints) { in BuildNativeCallStackSamplingFlamegraph()
408 if (!time_constraints.empty()) { in BuildNativeCallStackSamplingFlamegraph()
409 const auto& tc = time_constraints[0]; in BuildNativeCallStackSamplingFlamegraph()
H A Dexperimental_flamegraph.cc156 ASSIGN_OR_RETURN(std::vector<TimeConstraints> time_constraints, in GetFlamegraphInputValues()
163 std::move(time_constraints), in GetFlamegraphInputValues()
357 values.time_constraints); in ComputeTable()
H A Dflamegraph_construction_algorithms.h48 const std::vector<TimeConstraints>& time_constraints);
H A Dexperimental_flamegraph.h44 std::vector<TimeConstraints> time_constraints; member