Add debug topic "kms-deadline"
Which will allow us to report on deadline timings without influencing the CPU clock like the busy "kms" topic does. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3265> Signed-off-by: Mingi Sung <sungmg@saltyming.net>
This commit is contained in:
parent
c9bb8a16a2
commit
7f88fd419b
2 changed files with 5 additions and 0 deletions
|
@ -69,6 +69,7 @@ static const GDebugKey meta_debug_keys[] = {
|
|||
{ "color", META_DEBUG_COLOR },
|
||||
{ "input-events", META_DEBUG_INPUT_EVENTS },
|
||||
{ "eis", META_DEBUG_EIS },
|
||||
{ "kms-deadline", META_DEBUG_KMS_DEADLINE },
|
||||
};
|
||||
|
||||
static gint verbose_topics = 0;
|
||||
|
@ -326,6 +327,8 @@ meta_topic_to_string (MetaDebugTopic topic)
|
|||
return "INPUT_EVENTS";
|
||||
case META_DEBUG_EIS:
|
||||
return "EIS";
|
||||
case META_DEBUG_KMS_DEADLINE:
|
||||
return "KMS_DEADLINE";
|
||||
}
|
||||
|
||||
return "WM";
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
* @META_DEBUG_COLOR: color management
|
||||
* @META_DEBUG_INPUT_EVENTS: input events
|
||||
* @META_DEBUG_EIS: eis state
|
||||
* @META_DEBUG_KMS_DEADLINE: KMS deadline timers
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
|
@ -83,6 +84,7 @@ typedef enum
|
|||
META_DEBUG_COLOR = 1 << 26,
|
||||
META_DEBUG_INPUT_EVENTS = 1 << 27,
|
||||
META_DEBUG_EIS = 1 << 28,
|
||||
META_DEBUG_KMS_DEADLINE = 1 << 29,
|
||||
} MetaDebugTopic;
|
||||
|
||||
META_EXPORT
|
||||
|
|
Loading…
Reference in a new issue