projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gallium/hud: Add support for CPU frequency monitoring
[mesa.git]
/
src
/
gallium
/
auxiliary
/
hud
/
hud_private.h
diff --git
a/src/gallium/auxiliary/hud/hud_private.h
b/src/gallium/auxiliary/hud/hud_private.h
index 51049afb98d94d3160070280422ee3ead1952c87..c6d0dbf66fbd67cf4a9bb8420c666fbd1941e8fe 100644
(file)
--- a/
src/gallium/auxiliary/hud/hud_private.h
+++ b/
src/gallium/auxiliary/hud/hud_private.h
@@
-116,6
+116,12
@@
int hud_get_num_disks(bool displayhelp);
#define DISKSTAT_WR 2
void hud_diskstat_graph_install(struct hud_pane *pane, const char *dev_name,
unsigned int mode);
#define DISKSTAT_WR 2
void hud_diskstat_graph_install(struct hud_pane *pane, const char *dev_name,
unsigned int mode);
+
+int hud_get_num_cpufreq(bool displayhelp);
+#define CPUFREQ_MINIMUM 1
+#define CPUFREQ_CURRENT 2
+#define CPUFREQ_MAXIMUM 3
+void hud_cpufreq_graph_install(struct hud_pane *pane, int cpu_index, unsigned int mode);
#endif
#if HAVE_LIBSENSORS
#endif
#if HAVE_LIBSENSORS