---
title: GetClockAlgorithm
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideoclockdevice/getclockalgorithm
---

# GetClockAlgorithm

Gets the clock algorithm of the clock device.

## Declaration

```occ
IOUserVideoClockAlgorithm GetClockAlgorithm();
```

## Discussion

Discussion The object’s work queue synchronizes access to the value.

## See Also

### Working with clock device behavior

- [SetClockAlgorithm](videodriverkit/iouservideoclockdevice/setclockalgorithm.md)
- [IOUserVideoClockAlgorithm](videodriverkit/videodriverkit/iouservideoclockalgorithm.md)
- [SetClockIsStable](videodriverkit/iouservideoclockdevice/setclockisstable.md)
- [GetClockIsStable](videodriverkit/iouservideoclockdevice/getclockisstable.md)
