Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

kira_counters.C File Reference

#include "hdyn.h"

Go to the source code of this file.

Defines

#define GETLOG(x)
#define PUTLOG(x)   putq(b->get_log_story(), #x, b->get_kira_counters()->x);
#define PRLOGC(x)   cerr << #x << " = " << b->get_kira_counters()->x << ", "
#define PRLOGL(x)

Functions

local void getq (story *s, char *l, int &i)
local void getq (story *s, char *l, unsigned long &i)
local void getq (story *s, char *l, real &r)
local void getq (story *s, char *l, vector &v)
local void putq (story *s, char *l, int i)
local void putq (story *s, char *l, unsigned long i)
local void putq (story *s, char *l, real r)
local void putq (story *s, char *l, vector v)
void initialize_counters_from_log (hdyn *b)
void write_counters_to_log (hdyn *b)
void print_counters (kira_counters *kc, kira_counters *kc_prev)


Define Documentation

#define GETLOG( x )
 

Value:

                        if (find_qmatch(b->get_log_story(), #x)) \
                        getq(b->get_log_story(), #x, \
                             b->get_kira_counters()->x); \
                    else \
                        b->get_kira_counters()->x = 0;

Definition at line 29 of file kira_counters.C.

Referenced by initialize_counters_from_log().

#define PRLOGC( x )   cerr << #x << " = " << b->get_kira_counters()->x << ", "
 

Definition at line 46 of file kira_counters.C.

#define PRLOGL( x )
 

Value:

                  cerr << #x << " = " << kc->x; \
                  if (kc_prev) cerr << "  (" <<  kc->x - kc_prev->x << ")"; \
                  cerr << endl

Definition at line 47 of file kira_counters.C.

Referenced by print_counters().

#define PUTLOG( x )   putq(b->get_log_story(), #x, b->get_kira_counters()->x);
 

Definition at line 42 of file kira_counters.C.

Referenced by write_counters_to_log().


Function Documentation

local void getq ( story * s,
char * l,
vector & v )
 

Definition at line 27 of file kira_counters.C.

local void getq ( story * s,
char * l,
real & r )
 

Definition at line 26 of file kira_counters.C.

local void getq ( story * s,
char * l,
unsigned long & i )
 

Definition at line 25 of file kira_counters.C.

local void getq ( story * s,
char * l,
int & i )
 

Definition at line 24 of file kira_counters.C.

void initialize_counters_from_log ( hdyn * b )
 

Definition at line 51 of file kira_counters.C.

void print_counters ( kira_counters * kc,
kira_counters * kc_prev )
 

Definition at line 158 of file kira_counters.C.

local void putq ( story * s,
char * l,
vector v )
 

Definition at line 40 of file kira_counters.C.

local void putq ( story * s,
char * l,
real r )
 

Definition at line 39 of file kira_counters.C.

local void putq ( story * s,
char * l,
unsigned long i )
 

Definition at line 38 of file kira_counters.C.

local void putq ( story * s,
char * l,
int i )
 

Definition at line 37 of file kira_counters.C.

void write_counters_to_log ( hdyn * b )
 

Definition at line 102 of file kira_counters.C.


Generated at Sun Feb 24 09:57:27 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001