

                           Optimizing Windows NT

                              Perfmon Source



1.  Overview

    This directory tree contains the source for the Windows NT
    Performance Monitor.

    This source is provided so that you have a strong point of reference
    if you wish to pursue writing a performance monitor of your own,
    or if you have questions about how Windows NT Performance Monitor
    works which are not answered in the book "Optimizing Windows NT."


2.  Source File Organization

    To get you quickly to the information you need, here is a brief
    explanation of each source file:

    ADDLINE.C
        Contains the dialog handler for adding to charts, reports, and
        alerts.

    ADDLOG.C
        Handles adding log objects.

    ALERT.C
        Handles the alert view features.

    BOOKMARK.C
        Contains the bookmark dialog handler.

    CHOSECOM.C
        Handles listing all the computer names for a log file index 
        position.
    
    COMMAND.C
        Handles all the window messages such as toolbar buttons and menu
        hits.
    
    COUNTERS.C
        Contains all counter computation functions.
     
    DATASRC.C
        Contains the Options/From... dialog handler.
    
    DIALOGS.C
        Contains the graph and alert options dialog handlers.
    
    DIVLARGE.C
        Contains Large Integer division routine.
    
    EXPORT.C
        Contains the export dialog handler.
    
    FILEOPEN.C
        Contains the file open and file get routines.
    
    FILEUTIL.C
        Contains utilities routines for file interactions.
    
    GRAFDATA.C
        Contains routines for handling chart data.
    
    GRAFDISP.C
        Contains routines for displaying charts.
    
    GRAPH.C
        Contains chart window handler.
    
    INIT.C
        Contains Perfmon initialization activities.
    
    INTRLINE.C
        Contains interval line custom control within the time window dialog.
    
    LEGEND.C
        Contains handler for the chart and alert legend windows.
    
    LINE.C
        Contains routines for saving and reading lines from setting files.
    
    LOG.C
        Contains the log window handler and data logging functions.
    
    LOGOPTNS.C
        Contains Option/Log... dialog handler.
    
    MEMORY.C
        Contains utilities for handling memory blocks.
    
    PERFDATA.C
        Contains functions for getting performance data from local or remote
        systems.

    PERFMON.C
        Contains the WinMain and functions for the main perfmon window.

    PERFMOPS.C
        Contains functions common to all four views.

    PLAYBACK.C
        Contains routines in accessing data from a log file.

    REGISTRY.C
        Handles the saving and reading the window positions from registry.

    REPORT.C
        Contains the report window handler and functions for displaying
        report data.

    RPTOPTNS.C
        Contains the Option/Report... dialog handler.

    STATUS.C
        Contains the status bar window handler.

    SYSTEM.C
        Contains functions in maintaining the system linked list for
        all views.

    TIMEFRM.C
        Contains the Edit/Time Window... handler.

    TIMELINE.C
        Contains functions for setting up the time interval line control.

    TOOLBAR.C
        Contains functions for handling toolbar window messages.

    UTILS.C
        Contains utilities routines.

    VALUEBAR.C
        Contains the chart value bar window handler.

    

