src/Profile/pcxx_events.cpp File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <fcntl.h>
#include <signal.h>
#include <unistd.h>
#include <Profile/Profiler.h>
#include "pcxx_events.h"

Include dependency graph for pcxx_events.cpp:

Go to the source code of this file.

Defines

#define __private
#define PCXX_EVENT_SRC
#define TRACING_ON   1
#define FALSE   0
#define TRUE   1
#define NSIG   32
#define CONT_EV_LEN   (sizeof(PCXX_EV) - sizeof(long int))

Functions

time_t time (time_t *t)
long pcxx_GetUSecLong (void)
void pcxx_EvFlush ()
void pcxx_EvInit (char *name)
void pcxx_Event (long int ev, long int par)
void pcxx_EvClose ()
void pcxx_LongEvent (long int ev, int ln, char *par)

Variables

__private unsigned long int pcxx_ev_class = PCXX_EC_TRACER | PCXX_EC_TIMER
__private PCXX_EV * pcxx_ev_ptr = pcxx_buf
__private PCXX_EV * pcxx_ev_max = pcxx_buf + PCXX_BUFSIZE - 1


Define Documentation

#define __private
 

Definition at line 55 of file pcxx_events.cpp.

#define CONT_EV_LEN   (sizeof(PCXX_EV) - sizeof(long int))
 

Definition at line 290 of file pcxx_events.cpp.

Referenced by pcxx_LongEvent().

#define FALSE   0
 

Definition at line 70 of file pcxx_events.cpp.

Referenced by cannot_get_enough_fd(), FillFunctionDBInContext(), FillFunctionDBInNode(), isInitEvent(), main(), ProcessFileDynamicInContext(), ProcessFileDynamicInNode(), UIComponent::setAppDefaults(), and UIComponent::setDefaultResources().

#define NSIG   32
 

Definition at line 131 of file pcxx_events.cpp.

#define PCXX_EVENT_SRC
 

Definition at line 58 of file pcxx_events.cpp.

#define TRACING_ON   1
 

Definition at line 59 of file pcxx_events.cpp.

#define TRUE   1
 

Definition at line 71 of file pcxx_events.cpp.

Referenced by cannot_get_enough_fd(), FillFunctionDBInContext(), FillFunctionDBInNode(), FunctionSummaryInfo(), isInitEvent(), main(), parse_edf_file(), ProcessFileDynamicInContext(), and ProcessFileDynamicInNode().


Function Documentation

void pcxx_EvClose  ) 
 

Definition at line 274 of file pcxx_events.cpp.

References pcxx_ev_class, pcxx_Event, pcxx_EvFlush, PCXX_MYNODE, and time().

Here is the call graph for this function:

void pcxx_Event long int  ev,
long int  par
 

Definition at line 242 of file pcxx_events.cpp.

References pcxx_ev_class, pcxx_ev_max, pcxx_ev_ptr, pcxx_EvFlush, pcxx_GetUSecLong(), PCXX_MYNODE, and PCXX_MYTHREAD.

Here is the call graph for this function:

void pcxx_EvFlush  ) 
 

Definition at line 109 of file pcxx_events.cpp.

References pcxx_ev_class, pcxx_ev_ptr, pcxx_GetUSecLong(), and PCXX_MYNODE.

Here is the call graph for this function:

void pcxx_EvInit char *  name  ) 
 

Definition at line 173 of file pcxx_events.cpp.

References pcxx_ev_class, pcxx_ev_ptr, pcxx_Event, PCXX_MALLOC, and PCXX_MYNODE.

long pcxx_GetUSecLong void   ) 
 

Definition at line 93 of file pcxx_events.cpp.

Referenced by pcxx_Event(), pcxx_EvFlush(), and pcxx_LongEvent().

void pcxx_LongEvent long int  ev,
int  ln,
char *  par
 

Definition at line 292 of file pcxx_events.cpp.

References CONT_EV_LEN, pcxx_ev_max, pcxx_ev_ptr, pcxx_EvFlush, pcxx_GetUSecLong(), PCXX_MYNODE, and PCXX_MYTHREAD.

Here is the call graph for this function:

time_t time time_t *  t  ) 
 

Referenced by pcxx_EvClose().


Variable Documentation

__private unsigned long int pcxx_ev_class = PCXX_EC_TRACER | PCXX_EC_TIMER
 

Definition at line 67 of file pcxx_events.cpp.

Referenced by pcxx_EvClose(), pcxx_Event(), pcxx_EvFlush(), and pcxx_EvInit().

__private PCXX_EV* pcxx_ev_max = pcxx_buf + PCXX_BUFSIZE - 1
 

Definition at line 82 of file pcxx_events.cpp.

Referenced by pcxx_Event(), and pcxx_LongEvent().

__private PCXX_EV* pcxx_ev_ptr = pcxx_buf
 

Definition at line 78 of file pcxx_events.cpp.

Referenced by pcxx_Event(), pcxx_EvFlush(), pcxx_EvInit(), and pcxx_LongEvent().


Generated on Mon Jan 16 14:18:05 2006 for IPPL by  doxygen 1.4.6