"Fossies" - the Fresh Open Source Software Archive

Member "FunctionCheck-3.2.0/src/include/fc_global.h" (2 Jun 2012, 2237 Bytes) of package /linux/privat/old/FunctionCheck-3.2.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /*
    2  * FunctionCheck profiler
    3  * (C) Copyright 2000-2012 Yannick Perret
    4  * 
    5  *  This program is free software; you can redistribute it and/or
    6  *  modify it under the terms of the GNU General Public License as
    7  *  published by the Free Software Foundation; either version 2 of the
    8  *  License, or (at your option) any later version.
    9  *
   10  *  This program is distributed in the hope that it will be useful,
   11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
   12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   13  *  General Public License for more details.
   14  *
   15  *  You should have received a copy of the GNU General Public License
   16  *  along with this program; if not, write to the Free Software
   17  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   18  */
   19 
   20 /* fc_global.h: common definitions and values.
   21    WARNING: this file is used here and in ../dump/  */
   22 
   23 #ifndef __fc_global_h_
   24 #define __fc_global_h_
   25 
   26 /** names **/
   27 #define FC_PROFILER_NAME   "FCheck"
   28 #define FC_MANAGER_NAME    "FCMng"
   29 #define FC_DUMP_NAME       "FCDmp"
   30 
   31 /** version **/
   32 #define FC_FC_VERSION   "3"
   33 #define FC_FC_MAJOR     "2"
   34 #define FC_FC_MINOR     "0"
   35 
   36 #define FC_PACKAGE      "FunctionCheck"
   37 
   38 #define FC_VERSION      FC_FC_VERSION "." FC_FC_MAJOR  "." FC_FC_MINOR
   39 
   40 /** names for outputs **/
   41 
   42 /** files **/
   43 #define FC_DUMP_FILE    "functioncheck"
   44 
   45 /** headers **/
   46 #define FC_CTX_HEADER   "functioncheck" FC_VERSION
   47 
   48 /** modes for data structures **/
   49 #define FC_MODE_SINGLE   1
   50 #define FC_MODE_FORK     2
   51 #define FC_MODE_THREAD   3
   52 
   53 /** time modes **/
   54 #define FC_MTIME_EXT  1
   55 #define FC_MTIME_CPU  2
   56 #define FC_MTIME_TSC  3
   57 #define FC_MTIME_NDEF 0
   58 
   59 /** exit status **/
   60 #define FC_ERR_FIRST   0
   61 #define FC_ERR_OK      0
   62 #define FC_ERR_EXEC    1
   63 #define FC_ERR_FORK    2
   64 #define FC_ERR_MEM     3
   65 #define FC_ERR_PIPE    4
   66 #define FC_ERR_READ    5
   67 #define FC_ERR_WRITE   6
   68 #define FC_ERR_READ    5
   69 #define FC_ERR_CLOSE   6
   70 #define FC_ERR_THREAD  7
   71 #define FC_ERR_TIME    8
   72 #define FC_ERR_OTHER   9
   73 #define FC_ERR_ARGS    10
   74 #define FC_ERR_HASH    11
   75 #define FC_ERR_STACK   12
   76 #define FC_ERR_FOPEN   13
   77 #define FC_ERR_HEADER  14
   78 #define FC_ERR_EOF     15
   79 #define FC_ERR_OVERF   16
   80 #define FC_ERR_LAST    16
   81 
   82 #endif /* __fc_global_h_ */