Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,21 @@ You can use the `setPipelineIndex()`/`SetPipelineIndex()` (Java and C++ respecti
# Coming Soon!
```

## Getting the Pipeline Latency
## Getting the Pipeline Image Capture Time

You can also get the pipeline latency from a pipeline result using the `getLatencyMillis()`/`GetLatency()` (Java and C++ respectively) methods on a `PhotonPipelineResult`.
You can also get the pipeline's image capture time from a pipeline result using the `getTimestampSeconds()`/`GetTimestamp()` (Java and C++ respectively) methods on a `PhotonPipelineResult`.

```{eval-rst}
.. tab-set-code::
.. code-block:: java

// Get the pipeline latency.
double latencySeconds = result.getLatencyMillis() / 1000.0;
double latencySeconds = result.getTimestampSeconds() / 1000.0;
Comment thread
gerth2 marked this conversation as resolved.
Outdated

.. code-block:: c++

// Get the pipeline latency.
units::second_t latency = result.GetLatency();
units::second_t latency = result.GetTimestamp();

.. code-block:: python

Expand Down
Loading