FrameClock.getFrameCounter

long getFrameCounter()

A #GdkFrameClock maintains a 64-bit counter that increments for each frame drawn.

Returns

inside frame processing, the value of the frame counter

for the current frame. Outside of frame processing, the frame counter for the last frame.