Coda Distributed File System
Classes | Macros | Variables
timing.h File Reference
#include <sys/time.h>
#include <stdio.h>
Include dependency graph for timing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tpe
 
class  timing_path
 

Macros

#define TIMEGROWSIZE   10
 
#define MAXPROBES   1000
 
#define PROBE(info, num)
 
#define RESBEGIN   0
 
#define RUNTUPDATEBEGIN   1
 
#define RUNTUPDATEEND   2
 
#define WEAKEQBEGIN   3
 
#define COLLECTLOGBEGIN   4 /* begin of regular res */
 
#define COLLECTLOGEND   5
 
#define COORP1BEGIN   6
 
#define COORP1END   7
 
#define P1PANDYBEGIN   8
 
#define COORP2BEGIN   9
 
#define COORP3BEGIN   10
 
#define COORP3END   11
 
#define COORMARKINCBEGIN   12
 
#define COORMARKINCEND   13
 
#define RESEND   14
 
#define CFETCHLOGBEGIN   15
 
#define CFETCHLOGEND   16
 
#define CPHASE1BEGIN   17
 
#define CPHASE1END   18
 
#define COMPOPSBEGIN   19
 
#define COMPOPSEND   20
 
#define PERFOPSBEGIN   21
 
#define PERFOPSEND   22
 
#define P1PUTOBJBEGIN   23
 
#define P1PUTOBJEND   24
 
#define CPHASE2BEGIN   25
 
#define CPHASE2END   26
 
#define CPHASE3BEGIN   27
 
#define CPHASE3END   28
 
#define FILERESBASE   50
 
#define COORDSTARTVICERESOLVE   FILERESBASE + 1
 
#define COORDSTARTFILERES   FILERESBASE + 2
 
#define COORDSTARTFILEFETCH   FILERESBASE + 3
 
#define COORDENDFILEFETCH   FILERESBASE + 4
 
#define COORDENDFORCEFILE   FILERESBASE + 5
 
#define COORDENDFILERES   FILERESBASE + 6
 
#define COORDENDVICERESOLVE   FILERESBASE + 7
 

Variables

int pathtiming
 
int probingon
 
timing_pathtpinfo
 
timing_pathFileresTPinfo
 

Macro Definition Documentation

◆ CFETCHLOGBEGIN

#define CFETCHLOGBEGIN   15

◆ CFETCHLOGEND

#define CFETCHLOGEND   16

◆ COLLECTLOGBEGIN

#define COLLECTLOGBEGIN   4 /* begin of regular res */

◆ COLLECTLOGEND

#define COLLECTLOGEND   5

◆ COMPOPSBEGIN

#define COMPOPSBEGIN   19

◆ COMPOPSEND

#define COMPOPSEND   20

◆ COORDENDFILEFETCH

#define COORDENDFILEFETCH   FILERESBASE + 4

◆ COORDENDFILERES

#define COORDENDFILERES   FILERESBASE + 6

◆ COORDENDFORCEFILE

#define COORDENDFORCEFILE   FILERESBASE + 5

◆ COORDENDVICERESOLVE

#define COORDENDVICERESOLVE   FILERESBASE + 7

◆ COORDSTARTFILEFETCH

#define COORDSTARTFILEFETCH   FILERESBASE + 3

◆ COORDSTARTFILERES

#define COORDSTARTFILERES   FILERESBASE + 2

◆ COORDSTARTVICERESOLVE

#define COORDSTARTVICERESOLVE   FILERESBASE + 1

◆ COORMARKINCBEGIN

#define COORMARKINCBEGIN   12

◆ COORMARKINCEND

#define COORMARKINCEND   13

◆ COORP1BEGIN

#define COORP1BEGIN   6

◆ COORP1END

#define COORP1END   7

◆ COORP2BEGIN

#define COORP2BEGIN   9

◆ COORP3BEGIN

#define COORP3BEGIN   10

◆ COORP3END

#define COORP3END   11

◆ CPHASE1BEGIN

#define CPHASE1BEGIN   17

◆ CPHASE1END

#define CPHASE1END   18

◆ CPHASE2BEGIN

#define CPHASE2BEGIN   25

◆ CPHASE2END

#define CPHASE2END   26

◆ CPHASE3BEGIN

#define CPHASE3BEGIN   27

◆ CPHASE3END

#define CPHASE3END   28

◆ FILERESBASE

#define FILERESBASE   50

◆ MAXPROBES

#define MAXPROBES   1000

◆ P1PANDYBEGIN

#define P1PANDYBEGIN   8

◆ P1PUTOBJBEGIN

#define P1PUTOBJBEGIN   23

◆ P1PUTOBJEND

#define P1PUTOBJEND   24

◆ PERFOPSBEGIN

#define PERFOPSBEGIN   21

◆ PERFOPSEND

#define PERFOPSEND   22

◆ PROBE

#define PROBE (   info,
  num 
)
Value:
if (pathtiming && probingon && (info)) \
(info)->insert((num));
void insert(PROC *proc)
Definition: util.c:77
int probingon
Definition: srv.cc:134
int pathtiming
Definition: srv.cc:141

◆ RESBEGIN

#define RESBEGIN   0

◆ RESEND

#define RESEND   14

◆ RUNTUPDATEBEGIN

#define RUNTUPDATEBEGIN   1

◆ RUNTUPDATEEND

#define RUNTUPDATEEND   2

◆ TIMEGROWSIZE

#define TIMEGROWSIZE   10

◆ WEAKEQBEGIN

#define WEAKEQBEGIN   3

Variable Documentation

◆ FileresTPinfo

timing_path* FileresTPinfo
extern

◆ pathtiming

int pathtiming
extern

◆ probingon

int probingon
extern

◆ tpinfo

timing_path* tpinfo
extern