Home
last modified time | relevance | path

Searched refs:queryPool (Results 1 – 25 of 65) sorted by relevance

123

/external/mesa3d/src/broadcom/vulkan/
Dv3dv_query.c101 VkQueryPool queryPool, in v3dv_DestroyQueryPool() argument
105 V3DV_FROM_HANDLE(v3dv_query_pool, pool, queryPool); in v3dv_DestroyQueryPool()
265 VkQueryPool queryPool, in v3dv_GetQueryPoolResults() argument
274 V3DV_FROM_HANDLE(v3dv_query_pool, pool, queryPool); in v3dv_GetQueryPoolResults()
282 VkQueryPool queryPool, in v3dv_CmdResetQueryPool() argument
287 V3DV_FROM_HANDLE(v3dv_query_pool, pool, queryPool); in v3dv_CmdResetQueryPool()
294 VkQueryPool queryPool, in v3dv_CmdCopyQueryPoolResults() argument
303 V3DV_FROM_HANDLE(v3dv_query_pool, pool, queryPool); in v3dv_CmdCopyQueryPoolResults()
313 VkQueryPool queryPool, in v3dv_CmdBeginQuery() argument
318 V3DV_FROM_HANDLE(v3dv_query_pool, pool, queryPool); in v3dv_CmdBeginQuery()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolStatisticsTests.cpp137 …ResultsVector& output, const DeviceInterface& vk, vk::VkDevice device, vk::VkQueryPool queryPool, … in GetQueryPoolResultsVector() argument
149 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, output.data(… in GetQueryPoolResultsVector()
164 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, intermediate… in GetQueryPoolResultsVector()
174 …output, const DeviceInterface& vk, vk::VkDevice device, vk::VkQueryPool queryPool, deUint32 firstQ… in GetQueryPoolResultsVector() argument
185 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, output.data(… in GetQueryPoolResultsVector()
200 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, intermediate… in GetQueryPoolResultsVector()
521 …const Unique<VkQueryPool> queryPool (makeQueryPool(vk, device, 1u, VK_QUERY_PIPELINE_STATISTIC_… in executeTest() local
525 vk.cmdResetQueryPool(*cmdBuffer, *queryPool, 0u, 1u); in executeTest()
530 vk.cmdBeginQuery(*cmdBuffer, *queryPool, 0u, (VkQueryControlFlags)0u); in executeTest()
532 vk.cmdEndQuery(*cmdBuffer, *queryPool, 0u); in executeTest()
[all …]
DvktQueryPoolPerformanceTests.cpp207 bool verifyQueryResults (VkQueryPool queryPool);
318 Move<VkQueryPool> queryPool = vk::createQueryPool(vkd, device, &queryPoolCreateInfo); in createQueryPool() local
321 m_enabledCountersCountMap[queryPool.get().getInternal()] = enabledCountersCount; in createQueryPool()
323 return queryPool; in createQueryPool()
363 bool QueryTestBase::verifyQueryResults(VkQueryPool queryPool) in verifyQueryResults() argument
369 deUint32 enabledCounterCount = m_enabledCountersCountMap[queryPool.getInternal()]; in verifyQueryResults()
373 …VkResult result = vkd.getQueryPoolResults(device, queryPool, 0, 1, sizeof(VkPerformanceCounterResu… in verifyQueryResults()
578 vk::Unique<VkQueryPool> queryPool(createQueryPool(0, 1)); in iterate() local
604 vkd.cmdResetQueryPool(*resetCmdBuffer, *queryPool, 0u, 1u); in iterate()
622 vkd.cmdBeginQuery(*cmdBuffer, *queryPool, 0, VK_QUERY_CONTROL_PRECISE_BIT); in iterate()
[all …]
/external/swiftshader/src/Vulkan/
DVkCommandBuffer.cpp1053 CmdBeginQuery(vk::QueryPool *queryPool, uint32_t query, VkQueryControlFlags flags) in CmdBeginQuery() argument
1054 : queryPool(queryPool) in CmdBeginQuery()
1062 queryPool->begin(query, flags); in play()
1063 executionState.renderer->addQuery(queryPool->getQuery(query)); in play()
1069 vk::QueryPool *queryPool; member in __anon1d3f9d060111::CmdBeginQuery
1077 CmdEndQuery(vk::QueryPool *queryPool, uint32_t query) in CmdEndQuery() argument
1078 : queryPool(queryPool) in CmdEndQuery()
1085 executionState.renderer->removeQuery(queryPool->getQuery(query)); in play()
1086 queryPool->end(query); in play()
1092 vk::QueryPool *queryPool; member in __anon1d3f9d060111::CmdEndQuery
[all …]
DVkCommandBuffer.hpp81 void beginQuery(QueryPool *queryPool, uint32_t query, VkQueryControlFlags flags);
82 void endQuery(QueryPool *queryPool, uint32_t query);
83 void resetQueryPool(QueryPool *queryPool, uint32_t firstQuery, uint32_t queryCount);
84 void writeTimestamp(VkPipelineStageFlagBits pipelineStage, QueryPool *queryPool, uint32_t query);
85 void copyQueryPoolResults(const QueryPool *queryPool, uint32_t firstQuery, uint32_t queryCount,
/external/mesa3d/src/freedreno/vulkan/
Dtu_query.c379 VkQueryPool queryPool, in tu_GetQueryPoolResults() argument
388 TU_FROM_HANDLE(tu_query_pool, pool, queryPool); in tu_GetQueryPoolResults()
517 VkQueryPool queryPool, in tu_CmdCopyQueryPoolResults() argument
526 TU_FROM_HANDLE(tu_query_pool, pool, queryPool); in tu_CmdCopyQueryPoolResults()
579 VkQueryPool queryPool, in tu_CmdResetQueryPool() argument
584 TU_FROM_HANDLE(tu_query_pool, pool, queryPool); in tu_CmdResetQueryPool()
600 VkQueryPool queryPool, in tu_ResetQueryPool() argument
604 TU_FROM_HANDLE(tu_query_pool, pool, queryPool); in tu_ResetQueryPool()
685 VkQueryPool queryPool, in tu_CmdBeginQuery() argument
690 TU_FROM_HANDLE(tu_query_pool, pool, queryPool); in tu_CmdBeginQuery()
[all …]
/external/mesa3d/src/intel/vulkan/
DgenX_query.c397 VkQueryPool queryPool, in genX()
406 ANV_FROM_HANDLE(anv_query_pool, pool, queryPool); in genX()
697 VkQueryPool queryPool, in genX()
702 ANV_FROM_HANDLE(anv_query_pool, pool, queryPool); in genX()
757 VkQueryPool queryPool, in genX()
761 ANV_FROM_HANDLE(anv_query_pool, pool, queryPool); in genX()
817 VkQueryPool queryPool, in genX()
821 genX(CmdBeginQueryIndexedEXT)(commandBuffer, queryPool, query, flags, 0); in genX()
826 VkQueryPool queryPool, in genX()
832 ANV_FROM_HANDLE(anv_query_pool, pool, queryPool); in genX()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h92 VkQueryPool queryPool; member
319 VkQueryPool queryPool; member
396 VkQueryPool queryPool; member
443 VkQueryPool queryPool; member
483 void beginQuery(const QueryPool &queryPool, uint32_t query, VkQueryControlFlags flags);
603 void endQuery(const QueryPool &queryPool, uint32_t query);
647 void resetQueryPool(const QueryPool &queryPool, uint32_t firstQuery, uint32_t queryCount);
674 const QueryPool &queryPool,
858 ANGLE_INLINE void SecondaryCommandBuffer::beginQuery(const QueryPool &queryPool, in beginQuery() argument
863 paramStruct->queryPool = queryPool.getHandle(); in beginQuery()
[all …]
DQueryVk.cpp26 void operator()(vk::QueryHelper &&query) { queryPool->freeQuery(contextVk, &query); } in operator ()()
29 vk::DynamicQueryPool *queryPool; member
145 vk::DynamicQueryPool *queryPool = contextVk->getQueryPool(mType); in releaseQueries() local
150 QueryReleaseHelper releaseHelper = {contextVk, queryPool}; in releaseQueries()
154 queryPool->freeQuery(contextVk, &mQueryHelperTimeElapsedBegin); in releaseQueries()
162 vk::DynamicQueryPool *queryPool = contextVk->getQueryPool(mType); in releaseStashedQueries() local
168 QueryReleaseHelper releaseHelper = {contextVk, queryPool}; in releaseStashedQueries()
Dvk_wrapper.h198 void beginQuery(const QueryPool &queryPool, uint32_t query, VkQueryControlFlags flags);
304 void endQuery(const QueryPool &queryPool, uint32_t query);
352 void resetQueryPool(const QueryPool &queryPool, uint32_t firstQuery, uint32_t queryCount);
371 const QueryPool &queryPool,
1020 ANGLE_INLINE void CommandBuffer::resetQueryPool(const QueryPool &queryPool,
1024 ASSERT(valid() && queryPool.valid());
1025 vkCmdResetQueryPool(mHandle, queryPool.getHandle(), firstQuery, queryCount);
1040 ANGLE_INLINE void CommandBuffer::beginQuery(const QueryPool &queryPool,
1044 ASSERT(valid() && queryPool.valid());
1045 vkCmdBeginQuery(mHandle, queryPool.getHandle(), query, flags);
[all …]
DCommandGraph.cpp547 void CommandGraphNode::setQueryPool(const QueryPool *queryPool, uint32_t queryIndex) in setQueryPool() argument
554 mQueryPool = queryPool->getHandle(); in setQueryPool()
1096 void CommandGraph::beginQuery(const QueryPool *queryPool, uint32_t queryIndex) in beginQuery() argument
1100 newNode->setQueryPool(queryPool, queryIndex); in beginQuery()
1103 void CommandGraph::endQuery(const QueryPool *queryPool, uint32_t queryIndex) in endQuery() argument
1107 newNode->setQueryPool(queryPool, queryIndex); in endQuery()
1110 void CommandGraph::writeTimestamp(const QueryPool *queryPool, uint32_t queryIndex) in writeTimestamp() argument
1114 newNode->setQueryPool(queryPool, queryIndex); in writeTimestamp()
/external/llvm-project/mlir/tools/mlir-vulkan-runner/
DVulkanRuntime.cpp133 vkDestroyQueryPool(device, queryPool, nullptr); in destroy()
203 if (queryPool != VK_NULL_HANDLE) { in run()
207 device, queryPool, /*firstQuery=*/0, /*queryCount=*/2, in run()
782 /*pAllocator=*/nullptr, &queryPool), in createQueryPool()
814 if (queryPool != VK_NULL_HANDLE) in createComputeCommandBuffer()
815 vkCmdResetQueryPool(commandBuffer, queryPool, 0, 2); in createComputeCommandBuffer()
822 if (queryPool != VK_NULL_HANDLE) in createComputeCommandBuffer()
824 queryPool, 0); in createComputeCommandBuffer()
828 if (queryPool != VK_NULL_HANDLE) in createComputeCommandBuffer()
830 queryPool, 1); in createComputeCommandBuffer()
/external/vulkan-validation-layers/layers/generated/
Dthread_safety.cpp796 VkQueryPool queryPool, in PreCallRecordDestroyQueryPool() argument
799 StartWriteObject(queryPool); in PreCallRecordDestroyQueryPool()
805 VkQueryPool queryPool, in PostCallRecordDestroyQueryPool() argument
808 FinishWriteObject(queryPool); in PostCallRecordDestroyQueryPool()
814 VkQueryPool queryPool, in PreCallRecordGetQueryPoolResults() argument
822 StartReadObject(queryPool); in PreCallRecordGetQueryPoolResults()
827 VkQueryPool queryPool, in PostCallRecordGetQueryPoolResults() argument
836 FinishReadObject(queryPool); in PostCallRecordGetQueryPoolResults()
2325 VkQueryPool queryPool, in PreCallRecordCmdBeginQuery() argument
2329 StartReadObject(queryPool); in PreCallRecordCmdBeginQuery()
[all …]
Dlayer_chassis_dispatch.cpp1712 VkQueryPool queryPool, in DispatchDestroyQueryPool() argument
1716 …if (!wrap_handles) return layer_data->device_dispatch_table.DestroyQueryPool(device, queryPool, pA… in DispatchDestroyQueryPool()
1717 uint64_t queryPool_id = reinterpret_cast<uint64_t &>(queryPool); in DispatchDestroyQueryPool()
1720 queryPool = (VkQueryPool)iter->second; in DispatchDestroyQueryPool()
1722 queryPool = (VkQueryPool)0; in DispatchDestroyQueryPool()
1724 layer_data->device_dispatch_table.DestroyQueryPool(device, queryPool, pAllocator); in DispatchDestroyQueryPool()
1730 VkQueryPool queryPool, in DispatchGetQueryPoolResults() argument
1739 …s) return layer_data->device_dispatch_table.GetQueryPoolResults(device, queryPool, firstQuery, que… in DispatchGetQueryPoolResults()
1741 queryPool = layer_data->Unwrap(queryPool); in DispatchGetQueryPoolResults()
1743 …VkResult result = layer_data->device_dispatch_table.GetQueryPoolResults(device, queryPool, firstQu… in DispatchGetQueryPoolResults()
[all …]
Dparameter_validation.h208 VkQueryPool queryPool,
212 VkQueryPool queryPool,
618 VkQueryPool queryPool,
623 VkQueryPool queryPool,
627 VkQueryPool queryPool,
633 VkQueryPool queryPool,
637 VkQueryPool queryPool,
1253 VkQueryPool queryPool,
1259 VkQueryPool queryPool,
1613 VkQueryPool queryPool,
[all …]
Dthread_safety.h888 VkQueryPool queryPool,
893 VkQueryPool queryPool,
898 VkQueryPool queryPool,
908 VkQueryPool queryPool,
1892 VkQueryPool queryPool,
1898 VkQueryPool queryPool,
1904 VkQueryPool queryPool,
1909 VkQueryPool queryPool,
1914 VkQueryPool queryPool,
1920 VkQueryPool queryPool,
[all …]
Dlayer_chassis_dispatch.h236 VkQueryPool queryPool,
240 VkQueryPool queryPool,
646 VkQueryPool queryPool,
651 VkQueryPool queryPool,
655 VkQueryPool queryPool,
661 VkQueryPool queryPool,
665 VkQueryPool queryPool,
1283 VkQueryPool queryPool,
1289 VkQueryPool queryPool,
1643 VkQueryPool queryPool,
[all …]
/external/mesa3d/src/amd/vulkan/layers/
Dradv_sqtt_layer.c943 VkQueryPool queryPool, in sqtt_CmdResetQueryPool() argument
947 EVENT_MARKER(ResetQueryPool, commandBuffer, queryPool, firstQuery, in sqtt_CmdResetQueryPool()
953 VkQueryPool queryPool, in sqtt_CmdCopyQueryPoolResults() argument
961 EVENT_MARKER(CopyQueryPoolResults, commandBuffer, queryPool, firstQuery, in sqtt_CmdCopyQueryPoolResults()
1018 VkQueryPool queryPool, in sqtt_CmdBeginQuery() argument
1022 API_MARKER(BeginQuery, commandBuffer, queryPool, query, flags); in sqtt_CmdBeginQuery()
1027 VkQueryPool queryPool, in sqtt_CmdEndQuery() argument
1030 API_MARKER(EndQuery, commandBuffer, queryPool, query); in sqtt_CmdEndQuery()
1036 VkQueryPool queryPool, in sqtt_CmdWriteTimestamp() argument
1039 API_MARKER(WriteTimestamp, commandBuffer, pipelineStage, queryPool, flags); in sqtt_CmdWriteTimestamp()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_cmd_buffer.c1255 VkQueryPool queryPool, in lvp_CmdResetQueryPool() argument
1260 LVP_FROM_HANDLE(lvp_query_pool, query_pool, queryPool); in lvp_CmdResetQueryPool()
1276 VkQueryPool queryPool, in lvp_CmdBeginQueryIndexedEXT() argument
1282 LVP_FROM_HANDLE(lvp_query_pool, query_pool, queryPool); in lvp_CmdBeginQueryIndexedEXT()
1299 VkQueryPool queryPool, in lvp_CmdBeginQuery() argument
1303 lvp_CmdBeginQueryIndexedEXT(commandBuffer, queryPool, query, flags, 0); in lvp_CmdBeginQuery()
1308 VkQueryPool queryPool, in lvp_CmdEndQueryIndexedEXT() argument
1313 LVP_FROM_HANDLE(lvp_query_pool, query_pool, queryPool); in lvp_CmdEndQueryIndexedEXT()
1329 VkQueryPool queryPool, in lvp_CmdEndQuery() argument
1332 lvp_CmdEndQueryIndexedEXT(commandBuffer, queryPool, query, 0); in lvp_CmdEndQuery()
[all …]
Dlvp_query.c89 VkQueryPool queryPool, in lvp_GetQueryPoolResults() argument
98 LVP_FROM_HANDLE(lvp_query_pool, pool, queryPool); in lvp_GetQueryPoolResults()
/external/mesa3d/src/amd/vulkan/
Dradv_query.c1227 VkQueryPool queryPool, in radv_GetQueryPoolResults() argument
1236 RADV_FROM_HANDLE(radv_query_pool, pool, queryPool); in radv_GetQueryPoolResults()
1425 VkQueryPool queryPool, in radv_CmdCopyQueryPoolResults() argument
1434 RADV_FROM_HANDLE(radv_query_pool, pool, queryPool); in radv_CmdCopyQueryPoolResults()
1552 VkQueryPool queryPool, in radv_CmdResetQueryPool() argument
1557 RADV_FROM_HANDLE(radv_query_pool, pool, queryPool); in radv_CmdResetQueryPool()
1587 VkQueryPool queryPool, in radv_ResetQueryPool() argument
1591 RADV_FROM_HANDLE(radv_query_pool, pool, queryPool); in radv_ResetQueryPool()
1811 VkQueryPool queryPool, in radv_CmdBeginQueryIndexedEXT() argument
1817 RADV_FROM_HANDLE(radv_query_pool, pool, queryPool); in radv_CmdBeginQueryIndexedEXT()
[all …]
/external/mesa3d/prebuilt-intermediates/vulkan/
Danv_entrypoints.h1014 …void anv_DestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAl…
1015 …void gen7_DestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pA…
1016 …void gen75_DestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* p…
1017 …void gen8_DestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pA…
1018 …void gen9_DestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pA…
1019 …void gen11_DestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* p…
1020 …void gen12_DestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* p…
1021 …VkResult anv_GetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint…
1022 …VkResult gen7_GetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uin…
1023 …VkResult gen75_GetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, ui…
[all …]
Danv_entrypoints.c1940 …anv_DestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocat… in anv_DestroyQueryPool() argument
1943 return anv_device->dispatch.vkDestroyQueryPool(device, queryPool, pAllocator); in anv_DestroyQueryPool()
1946 …anv_GetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t quer… in anv_GetQueryPoolResults() argument
1949 …return anv_device->dispatch.vkGetQueryPoolResults(device, queryPool, firstQuery, queryCount, dataS… in anv_GetQueryPoolResults()
1952 …anv_ResetQueryPool(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCoun… in anv_ResetQueryPool() argument
1955 return anv_device->dispatch.vkResetQueryPool(device, queryPool, firstQuery, queryCount); in anv_ResetQueryPool()
2420 …anv_CmdBeginQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryCon… in anv_CmdBeginQuery() argument
2423 … return anv_cmd_buffer->device->dispatch.vkCmdBeginQuery(commandBuffer, queryPool, query, flags); in anv_CmdBeginQuery()
2426 anv_CmdEndQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query) in anv_CmdEndQuery() argument
2429 return anv_cmd_buffer->device->dispatch.vkCmdEndQuery(commandBuffer, queryPool, query); in anv_CmdEndQuery()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkDeviceDriverImpl.inl165 void DeviceDriver::destroyQueryPool (VkDevice device, VkQueryPool queryPool, const VkAllocationCall… argument
167 m_vk.destroyQueryPool(device, queryPool, pAllocator);
170 VkResult DeviceDriver::getQueryPoolResults (VkDevice device, VkQueryPool queryPool, deUint32 firstQ… argument
172 …return m_vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, dataSize, pData, stride…
560 void DeviceDriver::cmdBeginQuery (VkCommandBuffer commandBuffer, VkQueryPool queryPool, deUint32 qu… argument
562 m_vk.cmdBeginQuery(commandBuffer, queryPool, query, flags);
565 void DeviceDriver::cmdEndQuery (VkCommandBuffer commandBuffer, VkQueryPool queryPool, deUint32 quer… argument
567 m_vk.cmdEndQuery(commandBuffer, queryPool, query);
570 void DeviceDriver::cmdResetQueryPool (VkCommandBuffer commandBuffer, VkQueryPool queryPool, deUint3… argument
572 m_vk.cmdResetQueryPool(commandBuffer, queryPool, firstQuery, queryCount);
[all …]
/external/vulkan-validation-layers/layers/
Dcore_validation.h553 …void PreCallRecordDestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallb…
554 …void PostCallRecordResetQueryPoolEXT(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, …
625 …void PostCallRecordCmdBeginQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t sl…
626 …void PostCallRecordCmdBeginQueryIndexedEXT(VkCommandBuffer commandBuffer, VkQueryPool queryPool, u…
665 …void PostCallRecordCmdCopyQueryPoolResults(VkCommandBuffer commandBuffer, VkQueryPool queryPool, u…
691 …void PostCallRecordCmdEndQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t slot…
692 …void PostCallRecordCmdEndQueryIndexedEXT(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uin…
703 …void PostCallRecordCmdResetQueryPool(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_…
841 …bool SetQueryStateMulti(VkQueue queue, VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint3…
1028 …bool ValidateQuery(VkQueue queue, CMD_BUFFER_STATE* pCB, VkQueryPool queryPool, uint32_t firstQuer…
[all …]

123