Home
last modified time | relevance | path

Searched refs:value_index (Results 1 – 13 of 13) sorted by relevance

/aosp12/hardware/google/pixel/power-libperfmgr/libperfmgr/
H A DFileNode.cc45 std::size_t value_index = default_val_index_; in Update() local
51 value_index = i; in Update()
57 if (value_index != current_val_index_ || reset_on_init_) { in Update()
59 req_sorted_[value_index].GetRequestValue(); in Update()
83 if ((!hold_fd_) || value_index == default_val_index_) { in Update()
93 current_val_index_ = value_index; in Update()
H A DPropertyNode.cc39 std::size_t value_index = default_val_index_; in Update() local
45 value_index = i; in Update()
51 if (value_index != current_val_index_ || reset_on_init_) { in Update()
53 req_sorted_[value_index].GetRequestValue(); in Update()
63 current_val_index_ = value_index; in Update()
H A DNode.cc39 bool Node::AddRequest(std::size_t value_index, const std::string& hint_type, in AddRequest() argument
41 if (value_index >= req_sorted_.size()) { in AddRequest()
42 LOG(ERROR) << "Value index out of bound: " << value_index in AddRequest()
47 req_sorted_[value_index].AddRequest(hint_type, end_time); in AddRequest()
H A DHintManager.cc513 std::size_t value_index = 0; in ParseActions() local
515 if (!nodes[node_index]->GetValueIndex(value_name, &value_index)) { in ParseActions()
522 LOG(VERBOSE) << "Action[" << i << "]'s ValueIndex: " << value_index; in ParseActions()
544 node_index, value_index, std::chrono::milliseconds(duration)); in ParseActions()
H A DNodeLooperThread.cc59 ret = nodes_[a.node_index]->AddRequest(a.value_index, hint_type, in Request()
/aosp12/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
H A DNodeLooperThread.h36 NodeAction(std::size_t node_index, std::size_t value_index, in NodeAction()
39 value_index(value_index), in NodeAction()
42 std::size_t value_index; member
H A DNode.h52 bool AddRequest(std::size_t value_index, const std::string& hint_type,
/aosp12/art/compiler/optimizing/
H A Dintrinsics_x86.cc3733 uint32_t value_index = invoke->GetNumberOfArguments() - 1; in CreateVarHandleSetLocations() local
3734 HInstruction* value = invoke->InputAt(value_index); in CreateVarHandleSetLocations()
3802 uint32_t value_index = invoke->GetNumberOfArguments() - 1; in GenerateVarHandleSet() local
3849 value_index, in GenerateVarHandleSet()
3903 uint32_t value_index = number_of_arguments - 1; in CreateVarHandleGetAndSetLocations() local
3931 locations->SetInAt(value_index, Location::FpuRegisterOrConstant(invoke->InputAt(value_index))); in CreateVarHandleGetAndSetLocations()
3947 uint32_t value_index = invoke->GetNumberOfArguments() - 1; in GenerateVarHandleGetAndSet() local
3948 Location value = locations->InAt(value_index); in GenerateVarHandleGetAndSet()
4302 uint32_t value_index = number_of_arguments - 1; in GenerateVarHandleGetAndAdd() local
4305 Location value_loc = locations->InAt(value_index); in GenerateVarHandleGetAndAdd()
[all …]
H A Dcode_generator_x86.h247 uint32_t value_index,
H A Dintrinsics_arm64.cc4539 uint32_t value_index = invoke->GetNumberOfArguments() - 1; in GenerateVarHandleSet() local
4540 DataType::Type value_type = GetDataTypeFromShorty(invoke, value_index); in GenerateVarHandleSet()
4543 CPURegister value = InputCPURegisterOrZeroRegAt(invoke, value_index); in GenerateVarHandleSet()
4591 if (CodeGenerator::StoreNeedsWriteBarrier(value_type, invoke->InputAt(value_index))) { in GenerateVarHandleSet()
H A Dintrinsics_arm_vixl.cc4439 uint32_t value_index = invoke->GetNumberOfArguments() - 1; in GenerateVarHandleSet() local
4440 DataType::Type value_type = GetDataTypeFromShorty(invoke, value_index); in GenerateVarHandleSet()
4444 Location value = locations->InAt(value_index); in GenerateVarHandleSet()
4517 if (CodeGenerator::StoreNeedsWriteBarrier(value_type, invoke->InputAt(value_index))) { in GenerateVarHandleSet()
H A Dcode_generator_x86.cc5859 uint32_t value_index, in HandleFieldSet() argument
5866 Location value = locations->InAt(value_index); in HandleFieldSet()
5868 CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(value_index)); in HandleFieldSet()
/aosp12/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/
H A DHintManagerTest.cc521 EXPECT_EQ(1u, actions["INTERACTION"].node_actions[0].value_index); in TEST_F()
526 EXPECT_EQ(1u, actions["INTERACTION"].node_actions[1].value_index); in TEST_F()
533 EXPECT_EQ(1u, actions["LAUNCH"].node_actions[0].value_index); in TEST_F()
538 EXPECT_EQ(0u, actions["LAUNCH"].node_actions[1].value_index); in TEST_F()
543 EXPECT_EQ(0u, actions["LAUNCH"].node_actions[2].value_index); in TEST_F()