KWin
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KWin::RenderJournal Class Reference

#include <renderjournal.h>

Public Member Functions

 RenderJournal ()
 
void add (std::chrono::nanoseconds renderTime, std::chrono::nanoseconds presentationTimestamp)
 
std::chrono::nanoseconds result () const
 

Detailed Description

The RenderJournal class measures how long it takes to render frames and estimates how long it will take to render the next frame.

Definition at line 21 of file renderjournal.h.

Constructor & Destructor Documentation

◆ RenderJournal()

KWin::RenderJournal::RenderJournal ( )

Definition at line 14 of file renderjournal.cpp.

Member Function Documentation

◆ add()

void KWin::RenderJournal::add ( std::chrono::nanoseconds renderTime,
std::chrono::nanoseconds presentationTimestamp )

Definition at line 23 of file renderjournal.cpp.

◆ result()

std::chrono::nanoseconds KWin::RenderJournal::result ( ) const

Definition at line 38 of file renderjournal.cpp.


The documentation for this class was generated from the following files: