This change book-ends RenderPasses in the Vulkan back-end with timestamp queries. This allows us to write out a trace of GPU/CPU that we can inspect in Chrome. To enable the GPU trace you can define ANGLE_ENABLE_VULKAN_GPU_TRACE_EVENTS in ContextVk.cpp and run the angle_perftests suite with --enable-trace. Note that we ran into some issues with the implementation not returning monotonic timestamps. This may be a driver bug but bears more investigation. Bug: angleproject:4433 Change-Id: I0e6a364367f15183068e55686549cb418aa94c2a Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2081380Reviewed-by:Tim Van Patten <timvp@google.com> Commit-Queue: Jamie Madill <jmadill@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| restricted_traces | Loading commit data... | |
| third_party/perf | Loading commit data... | |
| ANGLEPerfTest.cpp | Loading commit data... | |
| ANGLEPerfTest.h | Loading commit data... | |
| ANGLEPerfTestArgs.cpp | Loading commit data... | |
| ANGLEPerfTestArgs.h | Loading commit data... | |
| BindingPerf.cpp | Loading commit data... | |
| BitSetIteratorPerf.cpp | Loading commit data... | |
| BlitFramebufferPerf.cpp | Loading commit data... | |
| BufferSubData.cpp | Loading commit data... | |
| ClearPerf.cpp | Loading commit data... | |
| CompilerPerf.cpp | Loading commit data... | |
| DispatchComputePerf.cpp | Loading commit data... | |
| DrawCallPerf.cpp | Loading commit data... | |
| DrawCallPerfParams.cpp | Loading commit data... | |
| DrawCallPerfParams.h | Loading commit data... | |
| DrawElementsPerf.cpp | Loading commit data... | |
| DynamicPromotionPerfTest.cpp | Loading commit data... | |
| EGLInitializePerf.cpp | Loading commit data... | |
| EGLMakeCurrentPerf.cpp | Loading commit data... | |
| IndexConversionPerf.cpp | Loading commit data... | |
| IndexDataManagerTest.cpp | Loading commit data... | |
| InstancingPerf.cpp | Loading commit data... | |
| InterleavedAttributeData.cpp | Loading commit data... | |
| LinkProgramPerfTest.cpp | Loading commit data... | |
| MultiviewPerf.cpp | Loading commit data... | |
| PointSprites.cpp | Loading commit data... | |
| README.md | Loading commit data... | |
| ResultPerf.cpp | Loading commit data... | |
| TextureSampling.cpp | Loading commit data... | |
| TextureUploadPerf.cpp | Loading commit data... | |
| TexturesPerf.cpp | Loading commit data... | |
| TracePerfTest.cpp | Loading commit data... | |
| UniformsPerf.cpp | Loading commit data... | |
| VulkanBarriersPerf.cpp | Loading commit data... | |
| VulkanCommandBufferPerf.cpp | Loading commit data... | |
| VulkanPipelineCachePerf.cpp | Loading commit data... | |
| glmark2Benchmark.cpp | Loading commit data... |