Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

seba_counters.C File Reference

#include "node.h"
#include "double_star.h"
#include "main_sequence.h"
#include "dstar_to_kira.h"
#include "seba.h"

Go to the source code of this file.

Data Structures

struct  count_pair
struct  dt_pair

Defines

#define PUTLOG(x)   putq(sb->get_star_story(), #x, sb->get_seba_counters()->x);
#define PRLOGC(x)   cerr << #x << " = " << sb->get_seba_counters()->x << ", "
#define PRLOGL(x)

Typedefs

typedef * dt_pair_ptr
typedef * count_pair_ptr

Functions

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 print_counters (seba_counters *sbc, seba_counters *sbc_prev)
local void write_counters_to_log (starbase *sb)
local int compare_dt (const void *pi, const void *pj)
local int compare_steps (const void *pi, const void *pj)


Define Documentation

#define PRLOGC( x )   cerr << #x << " = " << sb->get_seba_counters()->x << ", "
 

Definition at line 32 of file seba_counters.C.

#define PRLOGL( x )
 

Value:

                  cerr << #x << " = " << sbc->x; \
                  if (sbc_prev) cerr << "  (" <<  sbc->x - sbc_prev->x << ")"; \
                  cerr << endl

Definition at line 33 of file seba_counters.C.

#define PUTLOG( x )   putq(sb->get_star_story(), #x, sb->get_seba_counters()->x);
 

Definition at line 30 of file seba_counters.C.


Typedef Documentation

typedef * count_pair_ptr
 

typedef * dt_pair_ptr
 


Function Documentation

local int compare_dt ( const void * pi,
const void * pj )
 

Definition at line 121 of file seba_counters.C.

local int compare_steps ( const void * pi,
const void * pj )
 

Definition at line 136 of file seba_counters.C.

void print_counters ( seba_counters * sbc,
seba_counters * sbc_prev )
 

Definition at line 37 of file seba_counters.C.

Referenced by check_kira_runtime(), and log_output().

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

Definition at line 28 of file seba_counters.C.

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

Definition at line 27 of file seba_counters.C.

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

Definition at line 26 of file seba_counters.C.

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

Definition at line 25 of file seba_counters.C.

local void write_counters_to_log ( starbase * sb )
 

Definition at line 78 of file seba_counters.C.

Referenced by update_cpu_counters().


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