stats.h

来自「磁盘工具」· C头文件 代码 · 共 47 行

H
47
字号
//======================================================================
//
// STATS.h - include file for VxD VCMON
//
// Copyright (c) 1996 Mark Russinovich and Bryce Cogswell
//
// Contains the definition for the VxD statistics data structure. This
// file is shared by the GUI and the VxD.
//
//======================================================================

// number of milliseconds between statistical updates
#define STATSFREQ        500

//----------------------------------------------------------------------
//
// W32 IOCTL command definitions
//
//----------------------------------------------------------------------
#define VCMON_STATUS      1
#define VCMON_SETRATE     2

//
// Data structure that contains all the statistics that we
// pass to the gui for it to print out
typedef struct {
    DWORD    free;
    DWORD    size;
    DWORD    hits;
    DWORD    misses;
    DWORD    holds;
    DWORD    new;
    DWORD    repmisses;
    DWORD    rephits;
    DWORD    pagereads;
    DWORD    pagewrites;
} VcmonStatus_s;

//----------------------------------------------------------------------
//
// Externs
//
//----------------------------------------------------------------------
extern VcmonStatus_s  Stats;


⌨️ 快捷键说明

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