Home
last modified time | relevance | path

Searched defs:cpu (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/libs/binary_translation/guest_state/arm/
Dguest_state_arch.cc24 void SetReturnValueRegister(CPUState& cpu, GuestAddr val) { in SetReturnValueRegister()
28 GuestAddr GetReturnValueRegister(const CPUState& cpu) { in GetReturnValueRegister()
32 void SetStackRegister(CPUState& cpu, GuestAddr val) { in SetStackRegister()
36 GuestAddr GetStackRegister(const CPUState& cpu) { in GetStackRegister()
40 void SetLinkRegister(CPUState& cpu, GuestAddr val) { in SetLinkRegister()
44 GuestAddr GetLinkRegister(const CPUState& cpu) { in GetLinkRegister()
56 void SetShadowCallStackPointer(CPUState& cpu, GuestAddr scs_sp) { in SetShadowCallStackPointer()
60 void AdvanceInsnAddrBeyondSyscall(CPUState& cpu) { in AdvanceInsnAddrBeyondSyscall()
/frameworks/libs/binary_translation/guest_state/arm64/
Dguest_state_arch.cc24 void SetReturnValueRegister(CPUState& cpu, GuestAddr val) { in SetReturnValueRegister()
28 GuestAddr GetReturnValueRegister(const CPUState& cpu) { in GetReturnValueRegister()
32 void SetStackRegister(CPUState& cpu, GuestAddr val) { in SetStackRegister()
36 GuestAddr GetStackRegister(const CPUState& cpu) { in GetStackRegister()
40 void SetLinkRegister(CPUState& cpu, GuestAddr val) { in SetLinkRegister()
44 GuestAddr GetLinkRegister(const CPUState& cpu) { in GetLinkRegister()
56 void SetShadowCallStackPointer(CPUState& cpu, GuestAddr scs_sp) { in SetShadowCallStackPointer()
60 void AdvanceInsnAddrBeyondSyscall(CPUState& cpu) { in AdvanceInsnAddrBeyondSyscall()
/frameworks/libs/binary_translation/guest_state/riscv64/
Dguest_state_arch.cc25 void SetReturnValueRegister(CPUState& cpu, GuestAddr val) { in SetReturnValueRegister()
29 GuestAddr GetReturnValueRegister(const CPUState& cpu) { in GetReturnValueRegister()
33 void SetStackRegister(CPUState& cpu, GuestAddr val) { in SetStackRegister()
37 GuestAddr GetStackRegister(const CPUState& cpu) { in GetStackRegister()
41 void SetLinkRegister(CPUState& cpu, GuestAddr val) { in SetLinkRegister()
45 GuestAddr GetLinkRegister(const CPUState& cpu) { in GetLinkRegister()
57 void SetShadowCallStackPointer(CPUState& cpu, GuestAddr scs_sp) { in SetShadowCallStackPointer()
61 void AdvanceInsnAddrBeyondSyscall(CPUState& cpu) { in AdvanceInsnAddrBeyondSyscall()
/frameworks/libs/binary_translation/runtime_primitives/include/berberis/runtime_primitives/
Dmemory_region_reservation.h34 static GuestAddr Clear(CPUState* cpu) { in Clear()
41 static Type Load(CPUState* cpu, GuestAddr addr, std::memory_order mem_order) { in Load()
56 static uint32_t Store(CPUState* cpu, GuestAddr addr, Type value, std::memory_order mem_order) { in Store()
/frameworks/libs/binary_translation/runtime_primitives/
Dvirtual_guest_call_frame_riscv64_test.cc34 CPUState cpu{}; in TEST() local
47 void RunGuestCall(CPUState* cpu) { in RunGuestCall()
62 CPUState cpu{}; in TEST() local
Dmemory_region_reservation.cc99 void MemoryRegionReservation::SetOwner(GuestAddr aligned_addr, void* cpu) { in SetOwner()
111 void* cpu) { in TryLock()
127 Reservation MemoryRegionReservation::ReservationLoad(void* cpu, in ReservationLoad()
146 bool MemoryRegionReservation::ReservationExchange(void* cpu, in ReservationExchange()
Dmemory_region_reservation_test.cc30 CPUState cpu{}; in TEST() local
54 CPUState cpu{}; in TEST() local
Dvirtual_guest_call_frame_riscv64.cc51 ScopedVirtualGuestCallFrame::ScopedVirtualGuestCallFrame(CPUState* cpu, GuestAddr pc) : cpu_(cpu) { in ScopedVirtualGuestCallFrame()
/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.cpp140 for (auto cpu : cpuList) { in initGlobals() local
219 for (auto &cpu : gPolicyCpus[i]) { in startTrackingUidTimes() local
291 for (const auto &cpu : gPolicyCpus[policyIdx]) { in getTotalCpuFreqTimes() local
330 for (const auto &cpu : gPolicyCpus[j]) { in getUidCpuFreqTimes() local
397 for (const auto &cpu : gPolicyCpus[i]) { in getUidsUpdatedCpuFreqTimes() local
442 for (uint32_t cpu = 0; cpu < gNCpus; ++cpu) { in getUidConcurrentTimes() local
453 for (const auto &cpu : gPolicyCpus[policy]) { in getUidConcurrentTimes() local
511 for (uint32_t cpu = 0; cpu < gNCpus; ++cpu) { in getUidsUpdatedConcurrentTimes() local
522 for (const auto &cpu : gPolicyCpus[policy]) { in getUidsUpdatedConcurrentTimes() local
656 for (const auto &cpu : gPolicyCpus[j]) { in getAggregatedTaskCpuFreqTimes() local
/frameworks/libs/binary_translation/guest_state/
Dguest_state.cc149 void SetCPUState(ThreadState& state, const CPUState& cpu) { in SetCPUState()
153 void SetInsnAddr(CPUState& cpu, GuestAddr addr) { in SetInsnAddr()
157 GuestAddr GetInsnAddr(const CPUState& cpu) { in GetInsnAddr()
/frameworks/libs/binary_translation/runtime/
Druntime_library.cc40 CPUState& cpu = GetCPUState(*state); in berberis_HandleNoExec() local
/frameworks/base/core/proto/android/os/
Dcpuinfo.proto59 optional int32 cpu = 1; // 400% cpu indicates 4 cores field
80 optional float cpu = 6; // precentage of cpu usage of the task field
Dbatterystats.proto609 optional Cpu cpu = 7; field
/frameworks/libs/binary_translation/guest_state/arm/include/berberis/guest_state/
Dguest_state_arch.h30 CPUState cpu; member
/frameworks/libs/binary_translation/guest_state/arm64/include/berberis/guest_state/
Dguest_state_arch.h31 CPUState cpu; member
/frameworks/base/tools/powermodel/test/com/android/powermodel/
DPowerProfileTest.java72 final CpuProfile cpu = (CpuProfile)profile.getComponent(Component.CPU); in testReadGood() local
/frameworks/libs/binary_translation/guest_os_primitives/riscv64/
Dguest_setjmp.cc145 CPUState& cpu = state->cpu; in RestoreRegsFromJumpBuf() local
Dguest_context_arch.h35 void Save(const CPUState* cpu) { in Save()
49 void Restore(CPUState* cpu) const { in Restore()
/frameworks/base/tests/JankBench/app/src/main/jni/
DWorkerPool.cpp158 int cpu = sysconf(_SC_NPROCESSORS_CONF); in init() local
/frameworks/native/libs/binder/tests/
Dschd-dbg.cpp135 int cpu = sched_getcpu(); in onTransact() local
265 static void parcel_fill(Parcel& data, int sz, int priority, int cpu) { in parcel_fill()
/frameworks/base/core/proto/android/service/
Dprocstats.proto160 optional int32 cpu = 1; field
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp53 RsdCpuReferenceImpl *cpu = new RsdCpuReferenceImpl(rsc); in create() local
237 int cpu = sysconf(_SC_NPROCESSORS_CONF); in init() local
/frameworks/libs/binary_translation/guest_loader/
Dguest_loader.cc113 CPUState& cpu = state->cpu; in StartGuestExecutableImpl() local
/frameworks/libs/binary_translation/guest_state/riscv64/include/berberis/guest_state/
Dguest_state_arch.h133 CPUState cpu; member
/frameworks/base/services/core/java/com/android/server/cpu/
DCpuInfoReader.java639 int cpu = cumulativeCpuUsageStats.keyAt(i); in readLatestCpuUsageStats() local

12