---
title: GetCurrentClientIOTime
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideodevice/getcurrentclientiotime
---

# GetCurrentClientIOTime

Gets the current sample/host time pair in the ring buffer written to or read from by the client

## Declaration

```occ
void GetCurrentClientIOTime(bool in_is_input, uint64_t *out_sample_time, uint64_t *out_host_time);
```

## Parameters

- `in_is_input`: A Boolean value that indicates whether client IO time is for input. A false value indicates that the time is for output.
- `out_sample_time`: The buffer to set with the current IO sample time of the client.
- `out_host_time`: The buffer to set with the current IO host time of the client.

## See Also

### Performing I/O

- [StartIO](videodriverkit/iouservideodevice/startio.md)
- [StopIO](videodriverkit/iouservideodevice/stopio.md)
- [IOUserVideoStartStopFlags](videodriverkit/videodriverkit/iouservideostartstopflags.md)
- [SetIOOperationHandler](videodriverkit/iouservideodevice/setiooperationhandler.md)
- [IOOperationHandler](videodriverkit/videodriverkit/iooperationhandler.md)
