Home
last modified time | relevance | path

Searched refs:gpu_id (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/gpuservice/gpuwork/bpfprogs/
DgpuWork.c149 uint32_t gpu_id; member
172 _Static_assert(offsetof(GpuWorkPeriodEvent, gpu_id) == 8 &&
191 gpu_id_and_uid.gpu_id = period->gpu_id;
/frameworks/native/services/gpuservice/gpumem/
DGpuMem.cpp103 uint32_t gpu_id = key >> 32; in dump() local
110 dumpMap[gpu_id].emplace_back(pid, size); in dump()
144 uint32_t gpu_id = key >> 32; in traverseGpuMemTotals() local
151 callback(systemTime(), gpu_id, pid, size); in traverseGpuMemTotals()
/frameworks/native/services/gpuservice/bpfprogs/
DgpuMem.c39 uint32_t gpu_id; member
58 key = ((uint64_t)args->gpu_id << 32) | args->pid;
/frameworks/native/services/gpuservice/gpuwork/
DGpuWork.cpp55 return std::tie(l.gpu_id, l.uid) < std::tie(r.gpu_id, r.uid); in lessThanGpuIdUid()
59 return static_cast<size_t>((gpuIdUid.gpu_id << 5U) + gpuIdUid.uid); in hashGpuIdUid()
63 return std::tie(l.gpu_id, l.uid) == std::tie(r.gpu_id, r.uid); in equalGpuIdUid()
220 idToUidInfo.first.gpu_id, idToUidInfo.first.uid, in dump()
315 gpuIds.insert(workInfo.first.gpu_id); in pullWorkAtoms()
/frameworks/native/services/gpuservice/tests/unittests/
DGpuMemTracerTest.cpp153 EXPECT_EQ(gpuMemEvent0.gpu_id(), getGpuIdForPid(pid0)); in TEST_F()
164 EXPECT_EQ(gpuMemEvent1.gpu_id(), getGpuIdForPid(pid1)); in TEST_F()
175 EXPECT_EQ(gpuMemEvent2.gpu_id(), getGpuIdForPid(pid2)); in TEST_F()
/frameworks/native/services/gpuservice/gpuwork/bpfprogs/include/gpuwork/
DgpuWork.h29 uint32_t gpu_id; member
/frameworks/proto_logging/stats/
Datoms.proto21755 optional int32 gpu_id = 2; field