Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
cpu.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: © 2019-2022 Alexandros Theodotou <alex@zrythm.org>
2
// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10
#ifndef __GUI_WIDGETS_CPU_H__
11
#define __GUI_WIDGETS_CPU_H__
12
13
#include "gtk_wrapper.h"
14
21
#define MW_CPU (MW_BOT_BAR->cpu_load)
22
23
#define CPU_WIDGET_TYPE (cpu_widget_get_type ())
24
G_DECLARE_FINAL_TYPE (
CpuWidget
, cpu_widget, Z, CPU_WIDGET, GtkWidget)
25
26
typedef struct _CpuWidget
27
{
28
GtkWidget parent_instance;
29
31
int
cpu
;
32
34
int
dsp
;
35
37
guint
cpu_source_id
;
38
guint dsp_source_id;
39
40
GdkTexture * cpu_texture;
41
GdkTexture * dsp_texture;
42
}
CpuWidget
;
43
48
#endif
CpuWidget
Definition
cpu.h:27
CpuWidget::cpu_source_id
guint cpu_source_id
Source func IDs.
Definition
cpu.h:37
CpuWidget::cpu
int cpu
CPU load (0-100).
Definition
cpu.h:31
CpuWidget::dsp
int dsp
DSP load (0-100).
Definition
cpu.h:34
gui
widgets
cpu.h
Generated by
1.11.0