00001 /*<std-header orig-src='shore' incl-file-exclusion='VTABLE_ENUM_H'> 00002 00003 $Id: sthread_vtable_enum.h,v 1.2 2010/05/26 01:21:34 nhall Exp $ 00004 00005 SHORE -- Scalable Heterogeneous Object REpository 00006 00007 Copyright (c) 1994-99 Computer Sciences Department, University of 00008 Wisconsin -- Madison 00009 All Rights Reserved. 00010 00011 Permission to use, copy, modify and distribute this software and its 00012 documentation is hereby granted, provided that both the copyright 00013 notice and this permission notice appear in all copies of the 00014 software, derivative works or modified versions, and any portions 00015 thereof, and that both notices appear in supporting documentation. 00016 00017 THE AUTHORS AND THE COMPUTER SCIENCES DEPARTMENT OF THE UNIVERSITY 00018 OF WISCONSIN - MADISON ALLOW FREE USE OF THIS SOFTWARE IN ITS 00019 "AS IS" CONDITION, AND THEY DISCLAIM ANY LIABILITY OF ANY KIND 00020 FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 00021 00022 This software was developed with support by the Advanced Research 00023 Project Agency, ARPA order number 018 (formerly 8230), monitored by 00024 the U.S. Army Research Laboratory under contract DAAB07-91-C-Q518. 00025 Further funding for this work was provided by DARPA through 00026 Rome Research Laboratory Contract No. F30602-97-2-0247. 00027 00028 */ 00029 00030 #ifndef STHREAD_VTABLE_ENUM_H 00031 #define STHREAD_VTABLE_ENUM_H 00032 00033 #include "w_defines.h" 00034 00035 /* -- do not edit anything above this line -- </std-header>*/ 00036 00037 #include <vtable.h> 00038 /* 00039 * Enum definition used for converting per-thread info 00040 * to a virtual table. The enum assigns a distinct number to each 00041 * "attribute" of a thread. 00042 * This acts as an index into a vtable_row_t; 00043 * 00044 * The attribute names are defined 00045 */ 00046 00047 enum sthread_vtable_attr_index { 00048 /* for sthreads */ 00049 sthread_id_attr, 00050 sthread_name_attr, 00051 sthread_status_attr, 00052 00053 #include "sthread_stats_collect_enum_gen.h" 00054 00055 /* last number! */ 00056 sthread_last 00057 }; 00058 00059 extern const char *sthread_vtable_attr_names[]; // in vtable_sthread.cpp 00060 00061 /*<std-footer incl-file-exclusion='VTABLE_ENUM_H'> -- do not edit anything below this line -- */ 00062 00063 #endif /*</std-footer>*/