o3de-atom-sampleviewer icon indicating copy to clipboard operation
o3de-atom-sampleviewer copied to clipboard

RHI > Queries time units are inconsistent with the instruction

Open LB-ArturZieba opened this issue 1 year ago • 0 comments

Describe the bug On the https://github.com/o3de/o3de-atom-sampleviewer/wiki/RHI-Samples#queries it is mentioned that: Enable Timestamp queries (if supported): this will show the time in nanoseconds that the whole drawing process takes. It should be smaller when the red quad is occluded.. This is inconsistent with time units shown on the image, or in Atom Sample Viewer ("us" - microseconds, instead of "ns" - nanoseconds): image

This issue also occurs on Windows.

Prerequisites

  • O3DE engine available.
  • AtomSampleViewer project built.

Steps to reproduce

  1. Go to Samples > RHI > Queries.
  2. Tick the Enable Timestamp queries checkbox.
  3. Look at the Draw time units.

Expected behavior Draw time units are "ns".

Actual behavior Draw time units are "us".

Found in Branch O3DE Installer - Stabilization/2305 (26273c22ff71950eb68d137fed25125ebbaa12d6) AtomSampleViewer - Stabilization/2305 (cee84fa2a7e85b08128271afef3c36b06284d8d7)

Desktop

  • Device: PC
  • OS: Linux
  • Version: Ubuntu 22.04.1 LTS
  • CPU AMD Ryzen 5 3600
  • GPU NVIDIA GeForce RTX 2060 SUPER
  • Memory 16GB

LB-ArturZieba avatar Mar 30 '23 13:03 LB-ArturZieba