📄 mosstat.h
字号:
#ifndef _MOSSTATH#define _MOSSTATH#define DEFAULT_PORT "10050"// #include <libmosix.h>struct mosix_info { unsigned long load; unsigned short speed; unsigned short ncpus; unsigned short util; unsigned short status; unsigned int mem; unsigned int rmem; unsigned int tmem;#ifdef CONFIG_MOSIX_RESEARCH unsigned int rio; unsigned int wio; #endif // CONFIG_MOSIX_REASEARCH };struct node_info{ int mosix_number; int real_node_number; int openmosix; int num_nodes; // yes i am sending this with every packet struct mosix_info mosix_info;};//read delay is the default time to wait when re-reading the mosix statsstatic int read_delay = 10000; // 1/4 sec#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -