Home
last modified time | relevance | path

Searched refs:cpuUsage (Results 1 – 25 of 30) sorted by relevance

12

/hardware/google/pixel/perfstatsd/
Dcpu_usage.cpp194 uint64_t cpuUsage = cpuTime - idle - iowait; in getOverallUsage() local
198 uint64_t diffUsage = cpuUsage - mPrevUsage.cpuUsage; in getOverallUsage()
210 LOG(INFO) << "prev total: " << mPrevUsage.cpuUsage in getOverallUsage()
211 << " , cur total: " << cpuUsage << " , diffusage: " << diffUsage in getOverallUsage()
215 mPrevUsage.cpuUsage = cpuUsage; in getOverallUsage()
232 uint64_t diffUsage = cpuUsage - mPrevCoresUsage[c].cpuUsage; in getOverallUsage()
236 << " , prev cpu usage: " << mPrevCoresUsage[c].cpuUsage in getOverallUsage()
237 << " , cur cpu usage: " << cpuUsage in getOverallUsage()
242 mPrevCoresUsage[c].cpuUsage = cpuUsage; in getOverallUsage()
Dperfstatsd.cpp26 std::unique_ptr<StatsType> cpuUsage(new CpuUsage); in Perfstatsd() local
27 cpuUsage->setBufferSize(CPU_USAGE_BUFFER_SIZE); in Perfstatsd()
28 mStats.emplace_back(std::move(cpuUsage)); in Perfstatsd()
/hardware/interfaces/thermal/1.0/vts/functional/
DVtsHalThermalV1_0TargetTest.cpp145 void checkCpuUsage(const CpuUsage& cpuUsage) { in checkCpuUsage() argument
147 EXPECT_TRUE(!cpuUsage.isOnline || in checkCpuUsage()
148 (cpuUsage.active >= 0 && cpuUsage.total >= 0 && in checkCpuUsage()
149 cpuUsage.total >= cpuUsage.active)); in checkCpuUsage()
152 EXPECT_LT(0u, cpuUsage.name.size()); in checkCpuUsage()
/hardware/interfaces/camera/common/default/include/
DHandleImporter.h45 void* lock(buffer_handle_t& buf, uint64_t cpuUsage, size_t size);
48 void* lock(buffer_handle_t& buf, uint64_t cpuUsage, const android::Rect& accessRegion);
51 android_ycbcr lockYCbCr(buffer_handle_t& buf, uint64_t cpuUsage,
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc0Hal.h104 Error lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock() argument
110 result = mModule->lockAsync(mModule, bufferHandle, cpuUsage, accessRegion.left, in lock()
117 mModule->lock(mModule, bufferHandle, cpuUsage, accessRegion.left, accessRegion.top, in lock()
129 Error lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr() argument
135 result = mModule->lockAsync_ycbcr(mModule, bufferHandle, cpuUsage, accessRegion.left, in lockYCbCr()
142 result = mModule->lock_ycbcr(mModule, bufferHandle, cpuUsage, accessRegion.left, in lockYCbCr()
DGralloc1Hal.h124 Error lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock() argument
128 cpuUsage & ~static_cast<uint64_t>(BufferUsage::CPU_WRITE_MASK); in lock()
131 int32_t error = mDispatch.lock(mDevice, bufferHandle, cpuUsage, consumerUsage, &accessRect, in lock()
140 Error lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr() argument
153 cpuUsage & ~static_cast<uint64_t>(BufferUsage::CPU_WRITE_MASK); in lockYCbCr()
155 error = mDispatch.lockFlex(mDevice, bufferHandle, cpuUsage, consumerUsage, &accessRect, in lockYCbCr()
/hardware/interfaces/camera/common/default/
DHandleImporter.cpp64 android_ycbcr HandleImporter::lockYCbCr(buffer_handle_t& buf, uint64_t cpuUsage, in lockYCbCr() argument
73 status_t status = GraphicBufferMapper::get().lockYCbCr(buf, cpuUsage, accessRegion, &layout); in lockYCbCr()
148 void* HandleImporter::lock(buffer_handle_t& buf, uint64_t cpuUsage, size_t size) { in lock() argument
150 return lock(buf, cpuUsage, accessRegion); in lock()
153 void* HandleImporter::lock(buffer_handle_t& buf, uint64_t cpuUsage, in lock() argument
162 status_t status = GraphicBufferMapper::get().lock(buf, cpuUsage, accessRegion, &ret); in lock()
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapperHal.h45 virtual Error lock(const native_handle_t* bufferHandle, uint64_t cpuUsage,
50 virtual Error lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage,
DMapper.h91 Return<void> lock(void* buffer, uint64_t cpuUsage, const V2_0::IMapper::Rect& accessRegion, in lock() argument
107 error = mHal->lock(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &data); in lock()
112 Return<void> lockYCbCr(void* buffer, uint64_t cpuUsage, const V2_0::IMapper::Rect& accessRegion, in lockYCbCr() argument
129 error = mHal->lockYCbCr(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &layout); in lockYCbCr()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h71 void* lock(const native_handle_t* bufferHandle, uint64_t cpuUsage,
73 YCbCrLayout lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage,
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp164 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock() argument
177 mMapper->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock()
190 YCbCrLayout Gralloc::lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr() argument
203 mMapper->lockYCbCr(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lockYCbCr()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/
DMapperVts.h72 void* lock(const native_handle_t* bufferHandle, uint64_t cpuUsage,
75 YCbCrLayout lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage,
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp185 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock() argument
202 mMapper->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock()
218 YCbCrLayout Gralloc::lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr() argument
231 mMapper->lockYCbCr(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lockYCbCr()
/hardware/google/gfxstream/host/
DRenderLibImpl.cpp102 void RenderLibImpl::setUsageTracker(android::base::CpuUsage* cpuUsage, in setUsageTracker() argument
104 emugl::setCpuUsage(cpuUsage); in setUsageTracker()
DRenderLibImpl.h53 virtual void setUsageTracker(android::base::CpuUsage* cpuUsage,
/hardware/interfaces/graphics/mapper/stable-c/implutils/include/android/hardware/graphics/mapper/utils/
DIMapperProvider.h49 virtual AIMapper_Error lock(buffer_handle_t _Nonnull buffer, uint64_t cpuUsage,
132 .lock = [](buffer_handle_t _Nonnull buffer, uint64_t cpuUsage, ARect accessRegion, in bindV5()
134 return impl().lock(buffer, cpuUsage, accessRegion, acquireFence, outData); in bindV5()
/hardware/interfaces/graphics/mapper/2.0/
DIMapper.hal158 * @param cpuUsage specifies one or more CPU usage flags to request.
168 * BAD_VALUE when cpuUsage is 0, contains non-CPU usage
177 bitfield<BufferUsage> cpuUsage,
194 * @param cpuUsage specifies one or more CPU usage flags to request.
204 * BAD_VALUE when cpuUsage is 0, contains non-CPU usage
213 bitfield<BufferUsage> cpuUsage,
/hardware/google/gchips/gralloc4/src/hidl_common/
DMapper.cpp158 uint64_t cpuUsage, in lockBuffer() argument
196 …if (private_handle->cpu_write != 0 && (cpuUsage & static_cast<uint64_t>(BufferUsage::CPU_WRITE_MAS… in lockBuffer()
216 mali_gralloc_lock(bufferHandle, cpuUsage, accessRegion.left, accessRegion.top, in lockBuffer()
314 Error lock(buffer_handle_t bufferHandle, uint64_t cpuUsage, const GrallocRect &accessRegion, int ac… in lock() argument
324 const Error error = lockBuffer(bufferHandle, cpuUsage, accessRegion, in lock()
DMapper.h110 Error lock(buffer_handle_t buffer, uint64_t cpuUsage, const GrallocRect &accessRegion, int acquireF…
/hardware/google/pixel/perfstatsd/include/
Dcpu_usage.h36 uint64_t cpuUsage; member
/hardware/google/gfxstream/include/render-utils/
DRenderLib.h92 virtual void setUsageTracker(android::base::CpuUsage* cpuUsage,
/hardware/interfaces/graphics/mapper/3.0/
DIMapper.hal206 * @param cpuUsage CPU usage flags to request. See +ndk
218 * - `BAD_VALUE` if @p cpuUsage is 0, contains non-CPU usage flags, or
227 uint64_t cpuUsage,
248 * @param cpuUsage CPU usage flags to request. See +ndk
260 * - `BAD_VALUE` if @p cpuUsage is 0, contains non-CPU usage flags, or
267 uint64_t cpuUsage,
/hardware/google/gchips/gralloc4/src/4.x/
DGrallocMapper.h60 Return<void> lock(void *buffer, uint64_t cpuUsage, const IMapper::Rect &accessRegion,
/hardware/google/gchips/gralloc4/src/stable-c/
DGrallocMapper.h44 AIMapper_Error lock(buffer_handle_t _Nonnull buffer, uint64_t cpuUsage, ARect accessRegion,
/hardware/interfaces/graphics/mapper/stable-c/include/android/hardware/graphics/mapper/
DIMapper.h294 AIMapper_Error (*_Nonnull lock)(buffer_handle_t _Nonnull buffer, uint64_t cpuUsage,

12