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

📄 stats.h

📁 这是一个同样来自贝尔实验室的和UNIX有着渊源的操作系统, 其简洁的设计和实现易于我们学习和理解
💻 H
字号:
struct Cfsmsg {	ulong	n;			/* number of messages (of some type) */	vlong	t;			/* time spent in these messages */	vlong	s;			/* start time of last call */};struct Cfsstat {	struct Cfsmsg cm[128];	/* client messages */	struct Cfsmsg sm[128];	/* server messages */	ulong ndirread;			/* # of directory read ops */	ulong ndelegateread;	/* # of read ops delegated */	ulong ninsert;			/* # of cache insert ops */	ulong ndelete;			/* # of cache delete ops */	ulong nupdate;			/* # of cache update ops */	ulong bytesread;		/* # of bytes read by client */	ulong byteswritten;		/* # of bytes written by client */	ulong bytesfromserver;	/* # of bytes read from server */	ulong bytesfromdirs;	/* # of directory bytes read from server */	ulong bytesfromcache;	/* # of bytes read from cache */	ulong bytestocache;		/* # of bytes written to cache */};extern struct Cfsstat cfsstat, cfsprev;extern int statson;

⌨️ 快捷键说明

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