Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

StatNames.H

Go to the documentation of this file.
00001 // Copyright (C) 2001, Compaq Computer Corporation
00002 // 
00003 // This file is part of Vesta.
00004 // 
00005 // Vesta is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU Lesser General Public
00007 // License as published by the Free Software Foundation; either
00008 // version 2.1 of the License, or (at your option) any later version.
00009 // 
00010 // Vesta is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 // Lesser General Public License for more details.
00014 // 
00015 // You should have received a copy of the GNU Lesser General Public
00016 // License along with Vesta; if not, write to the Free Software
00017 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 
00019 // Last modified on Fri Nov 14 14:50:08 EST 2003 by ken@xorian.net
00020 //      modified on Sat Oct  4 08:14:40 PDT 1997 by heydon
00021 
00022 /* StatNames.H -- Names and meanings of levels and statistical values
00023    computed by the VCacheStats program. */
00024 
00025 #ifndef _STAT_NAMES_H
00026 #define _STAT_NAMES_H
00027 
00028 namespace Stat
00029 {
00030     enum Attribute {
00031         // MultiPKFile attributes
00032         MPKFileSize,       // size of MultiPKFile (in bytes)
00033 
00034         // PKFile attributes
00035         PKFileSize,        // size of PKFile (in bytes)
00036         NumNames,          // number of free variables
00037         NameSize,          // length of free variable names
00038         NumEntries,        // number of cache entries in this PKFile
00039         NumCommonNames,    // number of common free variable names
00040         PcntCommonNames,   // percentage of common free variable names
00041 
00042         // Cache entry attributes
00043         NumEntryNames,     // number of total free variable names
00044         NumUncommonNames,  // number of uncommon free variable names
00045         PcntUncommonNames, // percentage of uncommon free variable names
00046         ValueSize,         // size of the result value (in bytes)
00047         NumDIs,            // number of DI's in the result value
00048         NumKids,           // number of child cache entries
00049         NameMapSize,       // number of entries in name index map (imap)
00050         NameMapNonEmpty,   // number of name index maps that are non-empty
00051         ValPfxTblSize,     // size of an entry's value's PrefixTbl
00052 
00053         NumRedundantNames, // count of redundant dependencies
00054         PcntRedundantNames,// percentage of redundant dependencies
00055 
00056         // Total number of attributes
00057         NumAttributes
00058     };
00059 
00060     char *AttrName(Stat::Attribute attr) throw ();
00061     /* Return the printable name of attribute "attr". */
00062 
00063     char *LevelName(int level) throw ();
00064     /* Returns the name of the type of entities at level "level". */
00065 }
00066 
00067 #endif // _STAT_NAMES_H

Generated on Mon May 8 00:48:36 2006 for Vesta by  doxygen 1.4.2