> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetUpdateLatencyInMicroseconds

> Returns the time in microseconds between a LampArray receiving a Lamp update and the change becoming visible on the device, useful for syncing effects.

Returns the amount of time between the LampArray receiving an update for a Lamp and the update emanating from the device.

## Syntax

```cpp theme={null}
uint64_t GetUpdateLatencyInMicroseconds(
)
```

### Parameters

This method has no parameters.

### Return value

Type: uint64\_t

The amount of time between the LampArray receiving an update for a Lamp and the update emanating from the device, measured in microseconds.

## Requirements

**Header:** LampArray.h

**Library:** xgameplatform.lib

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

[Lighting API Overview](https://docs.xbox.com/build/core-features/common/lighting/gc-lighting-toc.md)\
[ILampInfo](https://docs.xbox.com/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo.md)


## Related topics

- [ILampInfo (Interface contents)](https://docs.xbox.com/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo.md)
- [GetMinUpdateIntervalInMicroseconds](https://docs.xbox.com/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getminupdateintervalinmicroseconds.md)
- [XGameStreamingGetStreamAddedLatency](https://docs.xbox.com/reference/system/xgamestreaming/functions/xgamestreaminggetstreamaddedlatency.md)
- [PartyManager::GetRegions](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_getregions.md)
- [Game streaming latency measurement](https://docs.xbox.com/build/core-features/common/game-streaming/game-streaming-latency-measurement.md)
