Classes | Defines | Typedefs | Variables

marclock.cpp File Reference

#include "marclock.h"
#include <stdio.h>
#include <signal.h>
#include <sys/time.h>
#include <unistd.h>
#include <stdlib.h>
Include dependency graph for marclock.cpp:

Go to the source code of this file.

Classes

struct  clq_st

Defines

#define MAXCLQUEUE   100
#define HEART_GRAIN   (0.1)

Typedefs

typedef struct clq_st clq

Variables

int heartbeat_grain_sec = 0
int heartbeat_grain_usec = 100000
int heartbeat_fast_sec = 0
int heartbeat_fast_usec = 20000
clqclqhead
clq clqueue [MAXCLQUEUE]
int block_heartbeat
int clq_is_init = 0
double heartbeat_grain = HEART_GRAIN

Define Documentation

#define HEART_GRAIN   (0.1)

Definition at line 10 of file marclock.cpp.

#define MAXCLQUEUE   100

Definition at line 9 of file marclock.cpp.

Referenced by MarClock::enqueue_fcn(), and MarClock::init_clock().


Typedef Documentation

typedef struct clq_st clq

Definition at line 26 of file marclock.cpp.


Variable Documentation

Definition at line 30 of file marclock.cpp.

Referenced by MarClock::clock_heartbeat(), and MarClock::enqueue_fcn().

int clq_is_init = 0

Definition at line 31 of file marclock.cpp.

Referenced by MarClock::enqueue_fcn(), and MarClock::init_clock().

Definition at line 28 of file marclock.cpp.

clq clqueue[MAXCLQUEUE]

Definition at line 29 of file marclock.cpp.

Definition at line 14 of file marclock.cpp.

Referenced by MarClock::set_timer_params(), and MarClock::start_timer().

int heartbeat_fast_usec = 20000

Definition at line 15 of file marclock.cpp.

Referenced by MarClock::set_timer_params(), and MarClock::start_timer().

double heartbeat_grain = HEART_GRAIN

Definition at line 12 of file marclock.cpp.

Referenced by MarClock::set_timer_params(), and MarClock::start_timer().

int heartbeat_grain_usec = 100000

Definition at line 13 of file marclock.cpp.

Referenced by MarClock::set_timer_params(), and MarClock::start_timer().