Cogl.Output.prototype.get_refresh_rate

function get_refresh_rate(): Number(gfloat) {
    // Gjs wrapper for cogl_output_get_refresh_rate()
}
  

Gets the number of times per second that the output device refreshes the display contents.

Since 1.14

Returns

the refresh rate of the output device. A value of zero indicates that the refresh rate is unknown.