Home
last modified time | relevance | path

Searched refs:queryCount (Results 1 – 25 of 69) sorted by relevance

123

/external/swiftshader/src/Vulkan/
DVkQueryPool.cpp86 , count(pCreateInfo->queryCount) in QueryPool()
118 return sizeof(Query) * pCreateInfo->queryCount; in ComputeRequiredAllocationSize()
121 VkResult QueryPool::getResults(uint32_t firstQuery, uint32_t queryCount, size_t dataSize, in getResults() argument
125 ASSERT(static_cast<size_t>(stride * queryCount) <= dataSize); in getResults()
128 ASSERT((firstQuery + queryCount) <= count); in getResults()
132 for(uint32_t i = firstQuery; i < (firstQuery + queryCount); i++, data += stride) in getResults()
203 void QueryPool::reset(uint32_t firstQuery, uint32_t queryCount) in reset() argument
206 ASSERT((firstQuery + queryCount) <= count); in reset()
208 for(uint32_t i = firstQuery; i < (firstQuery + queryCount); i++) in reset()
DVkQueryPool.hpp94 VkResult getResults(uint32_t firstQuery, uint32_t queryCount, size_t dataSize,
98 void reset(uint32_t firstQuery, uint32_t queryCount);
DVkCommandBuffer.cpp1099 CmdResetQueryPool(vk::QueryPool *queryPool, uint32_t firstQuery, uint32_t queryCount) in CmdResetQueryPool() argument
1102 , queryCount(queryCount) in CmdResetQueryPool()
1108 queryPool->reset(firstQuery, queryCount); in play()
1116 uint32_t queryCount; member in __anon37a6868d0111::CmdResetQueryPool
1156 CmdCopyQueryPoolResults(const vk::QueryPool *queryPool, uint32_t firstQuery, uint32_t queryCount, in CmdCopyQueryPoolResults() argument
1160 , queryCount(queryCount) in CmdCopyQueryPoolResults()
1170 queryPool->getResults(firstQuery, queryCount, dstBuffer->getSize() - dstOffset, in play()
1179 uint32_t queryCount; member in __anon37a6868d0111::CmdCopyQueryPoolResults
1369 void CommandBuffer::resetQueryPool(QueryPool *queryPool, uint32_t firstQuery, uint32_t queryCount) in resetQueryPool() argument
1371 addCommand<::CmdResetQueryPool>(queryPool, firstQuery, queryCount); in resetQueryPool()
[all …]
DVkCommandBuffer.hpp83 void resetQueryPool(QueryPool *queryPool, uint32_t firstQuery, uint32_t queryCount);
85 void copyQueryPoolResults(const QueryPool *queryPool, uint32_t firstQuery, uint32_t queryCount,
DVkPromotedExtensions.cpp214 …ResetQueryPoolEXT(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) in vkResetQueryPoolEXT() argument
216 vkResetQueryPool(device, queryPool, firstQuery, queryCount); in vkResetQueryPoolEXT()
DlibVulkan.cpp1657 …(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize… in vkGetQueryPoolResults() argument
1660 …device, static_cast<void *>(queryPool), int(firstQuery), int(queryCount), int(dataSize), pData, in… in vkGetQueryPoolResults()
1662 return vk::Cast(queryPool)->getResults(firstQuery, queryCount, dataSize, pData, stride, flags); in vkGetQueryPoolResults()
2729 …ool(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) in vkCmdResetQueryPool() argument
2732 commandBuffer, static_cast<void *>(queryPool), int(firstQuery), int(queryCount)); in vkCmdResetQueryPool()
2734 vk::Cast(commandBuffer)->resetQueryPool(vk::Cast(queryPool), firstQuery, queryCount); in vkCmdResetQueryPool()
2745 …er commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuf… in vkCmdCopyQueryPoolResults() argument
2748 …commandBuffer, static_cast<void *>(queryPool), int(firstQuery), int(queryCount), static_cast<void … in vkCmdCopyQueryPoolResults()
2750 …vk::Cast(commandBuffer)->copyQueryPoolResults(vk::Cast(queryPool), firstQuery, queryCount, vk::Cas… in vkCmdCopyQueryPoolResults()
2946 … vkResetQueryPool(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) in vkResetQueryPool() argument
[all …]
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolStatisticsTests.cpp137 …evice device, vk::VkQueryPool queryPool, deUint32 firstQuery, deUint32 queryCount, VkQueryResultFl… in GetQueryPoolResultsVector() argument
143 output.resize(queryCount); in GetQueryPoolResultsVector()
149 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, output.data(… in GetQueryPoolResultsVector()
155 IntermediateVector intermediate(queryCount); in GetQueryPoolResultsVector()
164 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, intermediate… in GetQueryPoolResultsVector()
174 …evice device, vk::VkQueryPool queryPool, deUint32 firstQuery, deUint32 queryCount, VkQueryResultFl… in GetQueryPoolResultsVector() argument
179 output.resize(queryCount); in GetQueryPoolResultsVector()
185 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, output.data(… in GetQueryPoolResultsVector()
191 IntermediateVector intermediate(queryCount); in GetQueryPoolResultsVector()
200 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, intermediate… in GetQueryPoolResultsVector()
[all …]
/external/mesa3d/src/freedreno/vulkan/
Dtu_query.c144 assert(pCreateInfo->queryCount > 0); in tu_CreateQueryPool()
171 pCreateInfo->queryCount * slot_size, false); in tu_CreateQueryPool()
189 pool->size = pCreateInfo->queryCount; in tu_CreateQueryPool()
299 uint32_t queryCount, in get_query_pool_results() argument
305 assert(dataSize >= stride * queryCount); in get_query_pool_results()
309 for (uint32_t i = 0; i < queryCount; i++) { in get_query_pool_results()
381 uint32_t queryCount, in tu_GetQueryPoolResults() argument
389 assert(firstQuery + queryCount <= pool->size); in tu_GetQueryPoolResults()
399 return get_query_pool_results(device, pool, firstQuery, queryCount, in tu_GetQueryPoolResults()
432 uint32_t queryCount, in emit_copy_query_pool_results() argument
[all …]
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_query.c36 assert(pCreateInfo->queryCount > 0); in v3dv_CreateQueryPool()
48 pool->query_count = pCreateInfo->queryCount; in v3dv_CreateQueryPool()
267 uint32_t queryCount, in v3dv_GetQueryPoolResults() argument
276 return v3dv_get_query_pool_results_cpu(device, pool, firstQuery, queryCount, in v3dv_GetQueryPoolResults()
284 uint32_t queryCount) in v3dv_CmdResetQueryPool() argument
289 v3dv_cmd_buffer_reset_queries(cmd_buffer, pool, firstQuery, queryCount); in v3dv_CmdResetQueryPool()
296 uint32_t queryCount, in v3dv_CmdCopyQueryPoolResults() argument
307 firstQuery, queryCount, in v3dv_CmdCopyQueryPoolResults()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_query.c50 uint32_t pool_size = sizeof(*pool) + pCreateInfo->queryCount * sizeof(struct pipe_query *); in lvp_CreateQueryPool()
61 pool->count = pCreateInfo->queryCount; in lvp_CreateQueryPool()
91 uint32_t queryCount, in lvp_GetQueryPoolResults() argument
103 for (unsigned i = firstQuery; i < firstQuery + queryCount; i++) { in lvp_GetQueryPoolResults()
Dlvp_cmd_buffer.c1257 uint32_t queryCount) in lvp_CmdResetQueryPool() argument
1269 cmd->u.query.index = queryCount; in lvp_CmdResetQueryPool()
1360 uint32_t queryCount, in lvp_CmdCopyQueryPoolResults() argument
1377 cmd->u.copy_query_pool_results.query_count = queryCount; in lvp_CmdCopyQueryPoolResults()
/external/mesa3d/src/intel/vulkan/
DgenX_query.c147 pool->slots = pCreateInfo->queryCount; in genX()
399 uint32_t queryCount, in genX()
424 for (uint32_t i = 0; i < queryCount; i++) { in genX()
699 uint32_t queryCount) in genX()
707 for (uint32_t i = 0; i < queryCount; i++) { in genX()
719 for (uint32_t i = 0; i < queryCount; i++) in genX()
729 for (uint32_t i = 0; i < queryCount; i++) { in genX()
745 for (uint32_t i = 0; i < queryCount; i++) in genX()
759 uint32_t queryCount) in genX()
763 for (uint32_t i = 0; i < queryCount; i++) { in genX()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_query.c1188 pool->availability_offset = pool->stride * pCreateInfo->queryCount; in radv_CreateQueryPool()
1191 pool->size += 4 * pCreateInfo->queryCount; in radv_CreateQueryPool()
1229 uint32_t queryCount, in radv_GetQueryPoolResults() argument
1243 for(unsigned i = 0; i < queryCount; ++i, data += stride) { in radv_GetQueryPoolResults()
1427 uint32_t queryCount, in radv_CmdCopyQueryPoolResults() argument
1457 for(unsigned i = 0; i < queryCount; ++i, dest_va += stride) { in radv_CmdCopyQueryPoolResults()
1472 queryCount, flags, 0, 0); in radv_CmdCopyQueryPoolResults()
1476 for(unsigned i = 0; i < queryCount; ++i, dest_va += stride) { in radv_CmdCopyQueryPoolResults()
1491 pool->stride, stride, queryCount, flags, in radv_CmdCopyQueryPoolResults()
1497 for(unsigned i = 0; i < queryCount; ++i, dest_va += stride) { in radv_CmdCopyQueryPoolResults()
[all …]
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2EdgeIndex.java69 private int queryCount; field in S2EdgeIndex
77 queryCount = 0; in reset()
165 ++queryCount; in incrementQueryCount()
208 if (getNumEdges() > 100 && (queryCount + n) > 30) { in predictAdditionalCalls()
/external/angle/src/libANGLE/renderer/vulkan/
DQueryVk.cpp123 uint32_t queryCount = 1; in allocateQuery() local
127 queryCount = std::max(contextVk->getCurrentViewCount(), 1u); in allocateQuery()
131 queryCount); in allocateQuery()
DSecondaryCommandBuffer.h398 uint32_t queryCount; member
647 void resetQueryPool(const QueryPool &queryPool, uint32_t firstQuery, uint32_t queryCount);
1376 uint32_t queryCount) in resetQueryPool() argument
1382 paramStruct->queryCount = queryCount; in resetQueryPool()
Dvk_wrapper.h352 void resetQueryPool(const QueryPool &queryPool, uint32_t firstQuery, uint32_t queryCount);
669 uint32_t queryCount,
1022 uint32_t queryCount)
1025 vkCmdResetQueryPool(mHandle, queryPool.getHandle(), firstQuery, queryCount);
1895 uint32_t queryCount,
1902 return vkGetQueryPoolResults(device, mHandle, firstQuery, queryCount, dataSize, data, stride,
/external/mesa3d/src/amd/vulkan/layers/
Dradv_sqtt_layer.c945 uint32_t queryCount) in sqtt_CmdResetQueryPool() argument
948 queryCount); in sqtt_CmdResetQueryPool()
955 uint32_t queryCount, in sqtt_CmdCopyQueryPoolResults() argument
962 queryCount, dstBuffer, dstOffset, stride, in sqtt_CmdCopyQueryPoolResults()
/external/mesa3d/prebuilt-intermediates/vulkan/
Danv_entrypoints.h1021 …(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize…
1022 …(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize…
1023 …(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize…
1024 …(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize…
1025 …(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize…
1026 …(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize…
1027 …(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize…
1028 …v_ResetQueryPool(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount);
1029 …7_ResetQueryPool(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount);
1030 …5_ResetQueryPool(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount);
[all …]
Danv_entrypoints.c1946 …(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize… in anv_GetQueryPoolResults() argument
1949 …_device->dispatch.vkGetQueryPoolResults(device, queryPool, firstQuery, queryCount, dataSize, pData… in anv_GetQueryPoolResults()
1952 …nv_ResetQueryPool(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) in anv_ResetQueryPool() argument
1955 return anv_device->dispatch.vkResetQueryPool(device, queryPool, firstQuery, queryCount); in anv_ResetQueryPool()
2444 …ool(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) in anv_CmdResetQueryPool() argument
2447 …cmd_buffer->device->dispatch.vkCmdResetQueryPool(commandBuffer, queryPool, firstQuery, queryCount); in anv_CmdResetQueryPool()
2456 …er commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuf… in anv_CmdCopyQueryPoolResults() argument
2459 …spatch.vkCmdCopyQueryPoolResults(commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstO… in anv_CmdCopyQueryPoolResults()
3411 …(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize…
3412 …(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) __attribute__ (…
[all …]
/external/vulkan-validation-layers/layers/
Dcore_validation.h554 …esetQueryPoolEXT(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount);
666 … uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride,
704 uint32_t queryCount);
842 uint32_t queryCount, QueryState value);
1028 …ueue queue, CMD_BUFFER_STATE* pCB, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount,
1654 …eGetQueryPoolResultsQueries(VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) const;
1655 …tQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount,
1812 uint32_t queryCount);
1814 … uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset,
1817 … uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride,
[all …]
/external/mesa3d/src/gallium/drivers/zink/
Dzink_query.c118 pool_create.queryCount = query->num_queries; in zink_create_query()
132 pool_create.queryCount = query->num_queries; in zink_create_query()
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingCaptureReplayTests.cpp217 deUint32 queryCount) in makeQueryPool() argument
225 queryCount, // queryCount in makeQueryPool()
1126 …deUint32 queryCount = (m_data.operationTarget == OT_BOTTOM_ACCELERATION) ? deUint32(bottomLevelAcc… in runTest() local
1128 … = makeQueryPool(vkd, device, VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR, queryCount); in runTest()
1134 …deUint32 queryCount = (m_data.operationTarget == OT_BOTTOM_ACCELERATION) ? deUint32(bottomLevelAcc… in runTest() local
1136 …akeQueryPool(vkd, device, VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR, queryCount); in runTest()
/external/vulkan-validation-layers/layers/generated/
Dparameter_validation.h214 uint32_t queryCount,
629 uint32_t queryCount);
639 uint32_t queryCount,
1757 uint32_t queryCount);
/external/deqp/external/vulkancts/framework/vulkan/
DvkDeviceDriverImpl.inl170 …(VkDevice device, VkQueryPool queryPool, deUint32 firstQuery, deUint32 queryCount, deUintptr dataS… argument
172 …return m_vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, dataSize, pData, stride…
570 …CommandBuffer commandBuffer, VkQueryPool queryPool, deUint32 firstQuery, deUint32 queryCount) const
572 m_vk.cmdResetQueryPool(commandBuffer, queryPool, firstQuery, queryCount);
580 …er commandBuffer, VkQueryPool queryPool, deUint32 firstQuery, deUint32 queryCount, VkBuffer dstBuf… argument
582 …m_vk.cmdCopyQueryPoolResults(commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffse…
720 …tQueryPool (VkDevice device, VkQueryPool queryPool, deUint32 firstQuery, deUint32 queryCount) const
722 m_vk.resetQueryPool(device, queryPool, firstQuery, queryCount);

123