<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGDisplayStreamUpdateGetDropCount",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@F@CGDisplayStreamUpdateGetDropCount"
  },
  "title" : "CGDisplayStreamUpdateGetDropCount"
}
-->

# CGDisplayStreamUpdateGetDropCount

```
extern size_t CGDisplayStreamUpdateGetDropCount(CGDisplayStreamUpdateRef updateRef);
```

## Parameters

`updateRef`

The CGDisplayStreamUpdateRef

## Return Value

The number of dropped frames

## Discussion

\abstract Return how many frames (if any) have been dropped since the last call to the handler.
\discussion This call is primarily useful for performance measurement to determine if the client is keeping up with
all WindowServer updates.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)