"Fossies" - the Fresh Open Source Software Archive

Member "coda-6.9.5/coda-src/resolution/rvmrestiming.h" (23 May 2003, 2803 Bytes) of package /linux/misc/old/coda-6.9.5.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. For more information about "rvmrestiming.h" see the Fossies "Dox" file reference documentation.

    1 /* BLURB gpl
    2 
    3                            Coda File System
    4                               Release 6
    5 
    6           Copyright (c) 1987-2003 Carnegie Mellon University
    7                   Additional copyrights listed below
    8 
    9 This  code  is  distributed "AS IS" without warranty of any kind under
   10 the terms of the GNU General Public Licence Version 2, as shown in the
   11 file  LICENSE.  The  technical and financial  contributors to Coda are
   12 listed in the file CREDITS.
   13 
   14                         Additional copyrights
   15                            none currently
   16 
   17 #*/
   18 
   19 
   20 
   21 
   22 
   23 
   24 #ifndef _RVMRES_TIMING_H_
   25 #define _RVMRES_TIMING_H_
   26 
   27 #ifdef __cplusplus
   28 extern "C" {
   29 #endif
   30 
   31 #include <sys/time.h>
   32 #include <stdio.h>
   33 
   34 #ifdef __cplusplus
   35 }
   36 #endif
   37 
   38 
   39 #define TIMEGROWSIZE 10
   40 extern int pathtiming;
   41 extern int probingon;
   42 #define MAXPROBES 1000
   43 #define PROBE(info, num) \
   44 if (pathtiming && probingon && (info)) \
   45      (info)->insert((num));
   46 
   47 /* probe numbers */
   48 #define RESBEGIN    0
   49 
   50 #define RecovTimingBase     50
   51 
   52 #define RecovCoorP1Begin    RecovTimingBase + 1
   53 #define RecovSubP1Begin     RecovTimingBase + 2
   54 #define RecovSubP1End       RecovTimingBase + 3
   55 #define RecovCoorP1End      RecovTimingBase + 4
   56 
   57 #define RecovCoorP2Begin    RecovTimingBase + 5
   58 #define RecovSubP2Begin     RecovTimingBase + 6
   59 #define RecovSubP2End       RecovTimingBase + 7 
   60 #define RecovCoorP2End      RecovTimingBase + 8 
   61 
   62 #define RecovCoorP3Begin    RecovTimingBase + 9 
   63 #define RecovSubP3Begin     RecovTimingBase + 10
   64 #define RecovCompOpsBegin   RecovTimingBase + 11
   65 #define RecovCompOpsEnd     RecovTimingBase + 12
   66 #define RecovPerformResOpBegin  RecovTimingBase + 13 
   67 #define RecovPerformResOpEnd    RecovTimingBase + 14
   68 #define RecovSubP3End       RecovTimingBase + 15 
   69 #define RecovCoorP3End      RecovTimingBase + 16
   70 
   71 #define RecovCoorP34Begin   RecovTimingBase + 17
   72 #define RecovSubP34Begin    RecovTimingBase + 18
   73 #define RecovSubP34End      RecovTimingBase + 19
   74 #define RecovCoorP34End     RecovTimingBase + 20
   75 
   76 #define RecovCoorP4Begin    RecovTimingBase + 21
   77 #define RecovSubP4Begin     RecovTimingBase + 22
   78 #define RecovSubP4End       RecovTimingBase + 23 
   79 #define RecovCoorP4End      RecovTimingBase + 24
   80 
   81 
   82 
   83 
   84 #define RUNTUPDATEBEGIN 1
   85 #define RUNTUPDATEEND   2
   86 #define WEAKEQBEGIN 3
   87 #define COLLECTLOGBEGIN 4   /* begin of regular res */
   88 #define COLLECTLOGEND   5
   89 #define COORP1BEGIN 6
   90 #define COORP1END   7
   91 #define P1PANDYBEGIN    8
   92 #define COORP2BEGIN 9
   93 #define COORP3BEGIN 10
   94 #define COORP3END   11
   95 #define COORMARKINCBEGIN 12
   96 #define COORMARKINCEND  13
   97 #define RESEND      14
   98 #define CFETCHLOGBEGIN  15
   99 #define CFETCHLOGEND    16
  100 #define CPHASE1BEGIN    17
  101 #define CPHASE1END  18
  102 #define COMPOPSBEGIN    19
  103 #define COMPOPSEND  20
  104 #define PERFOPSBEGIN    21
  105 #define PERFOPSEND  22
  106 #define P1PUTOBJBEGIN   23
  107 #define P1PUTOBJEND 24
  108 #define CPHASE2BEGIN    25
  109 #define CPHASE2END  26
  110 #define CPHASE3BEGIN    27
  111 #define CPHASE3END  28
  112 
  113 #endif /* _RVMRES_TIMING_H_ */