⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 osdcpufreq.h

📁 能够动态显示cpu工作频率的软件源代码
💻 H
字号:
/*  * OSD CPU frequency monitor (osdcpufreq) - It displays an OSD-like window * with information about the CPU current status: frequency, CPU driver, * governor... It is very useful for laptops equipped with * mobile technology processors (like the Intel Centrino), which can change the  * speed or the governor on the fly. * Copyright 2005 V韈tor Mart韓ez Romanos. * web site: http://osdcpufreq.sourceforge.net * * Based on the idea of osdbattery program written by Maxim Uvarov <uvarov@hotbox.ru>. *  * This file is part of osdcpufreq. * Written by V韈tor Mart韓ez Romanos <vmromanos@gmail.com> *  * osdcpufreq is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * osdcpufreq is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA *   */typedef struct cpufreq_info_struct {	int max_freq;	int min_freq;	int cur_freq;	char driver[32];	char governor[32];} cpufreq_info_struct;typedef struct config_struct {	int align;	int vertical_offset;	int horizontal_offset;	int on_time;	int cpu_num;	int bar_length;	int refresh;	int shadow_offset;	char font[64];	char colour[64];	char shadow_colour[64];} config_struct;void get_cpu_info(cpufreq_info_struct *cpufreq_info, char cpu_num);void configure(config_struct *config);void strup(char *cadena);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -