osprey/instrumentation/libinstr/profile_interface.cxx File Reference

#include <stdio.h>
#include <vector>
#include "profile.h"
#include "profile_interface.h"
#include "profile_errors.h"
#include "dump.h"

Include dependency graph for profile_interface.cxx:

Go to the source code of this file.

Functions/Subroutines

void __profile_init (char *fname, int phase_num, BOOL unique_name)
void__profile_pu_init (char *file_name, char *pu_name, long current_pc, INT32 pusize, INT32 checksum)
void __profile_invoke_init (void *pu_handle, INT32 num_invokes)
void __profile_invoke (void *pu_handle, INT32 invoke_id)
void __profile_branch_init (void *pu_handle, INT32 num_branches)
void __profile_branch (void *pu_handle, INT32 branch_id, bool taken)
void __profile_switch_init (void *pu_handle, INT32 num_switches, INT32 *switch_num_targets, INT32 num_case_values, INT64 *case_values)
void __profile_switch (void *pu_handle, INT32 switch_id, INT32 target, INT32 num_targets)
void __profile_compgoto_init (void *pu_handle, INT32 num_compgotos, INT32 *compgoto_num_targets)
void __profile_compgoto (void *pu_handle, INT32 compgoto_id, INT32 target, INT32 num_targets)
void __profile_loop_init (void *pu_handle, INT32 num_loops)
void __profile_loop (void *pu_handle, INT32 loop_id)
void __profile_loop_iter (void *pu_handle, INT32 loop_id)
void __profile_short_circuit_init (void *pu_handle, INT32 num_short_circuit_ops)
void __profile_short_circuit (void *pu_handle, INT32 short_circuit_id, bool taken)
void __profile_call_init (void *pu_handle, int num_calls)
void __profile_icall_init (void *pu_handle, int num_icalls)
void __profile_call_entry (void *pu_handle, int call_id)
void __profile_call_exit (void *pu_handle, int call_id)
void __profile_icall (void *pu_handle, int icall_id, void *called_fun_address)
void __profile_finish (void)

Variables

static char * output_filename = NULL
static BOOL unique_output_filename = FALSE


Function Documentation

void __profile_branch ( void pu_handle,
INT32  branch_id,
bool  taken 
)

Definition at line 166 of file profile_interface.cxx.

void __profile_branch_init ( void pu_handle,
INT32  num_branches 
)

Definition at line 157 of file profile_interface.cxx.

void __profile_call_entry ( void pu_handle,
int  call_id 
)

Definition at line 328 of file profile_interface.cxx.

void __profile_call_exit ( void pu_handle,
int  call_id 
)

Definition at line 337 of file profile_interface.cxx.

void __profile_call_init ( void pu_handle,
int  num_calls 
)

Definition at line 311 of file profile_interface.cxx.

void __profile_compgoto ( void pu_handle,
INT32  compgoto_id,
INT32  target,
INT32  num_targets 
)

Definition at line 212 of file profile_interface.cxx.

void __profile_compgoto_init ( void pu_handle,
INT32  num_compgotos,
INT32 compgoto_num_targets 
)

Definition at line 201 of file profile_interface.cxx.

References Profile_Compgoto_Init().

void __profile_finish ( void   ) 

Definition at line 351 of file profile_interface.cxx.

Referenced by __profile_init().

void __profile_icall ( void pu_handle,
int  icall_id,
void called_fun_address 
)

Definition at line 343 of file profile_interface.cxx.

void __profile_icall_init ( void pu_handle,
int  num_icalls 
)

Definition at line 320 of file profile_interface.cxx.

void __profile_init ( char *  fname,
int  phase_num,
BOOL  unique_name 
)

Definition at line 83 of file profile_interface.cxx.

void __profile_invoke ( void pu_handle,
INT32  invoke_id 
)

Definition at line 147 of file profile_interface.cxx.

void __profile_invoke_init ( void pu_handle,
INT32  num_invokes 
)

Definition at line 138 of file profile_interface.cxx.

void __profile_loop ( void pu_handle,
INT32  loop_id 
)

Definition at line 271 of file profile_interface.cxx.

void __profile_loop_init ( void pu_handle,
INT32  num_loops 
)

Definition at line 262 of file profile_interface.cxx.

References Profile_Loop_Init().

void __profile_loop_iter ( void pu_handle,
INT32  loop_id 
)

Definition at line 280 of file profile_interface.cxx.

void* __profile_pu_init ( char *  file_name,
char *  pu_name,
long  current_pc,
INT32  pusize,
INT32  checksum 
)

Definition at line 123 of file profile_interface.cxx.

void __profile_short_circuit ( void pu_handle,
INT32  short_circuit_id,
bool  taken 
)

Definition at line 300 of file profile_interface.cxx.

void __profile_short_circuit_init ( void pu_handle,
INT32  num_short_circuit_ops 
)

Definition at line 290 of file profile_interface.cxx.

References Profile_Short_Circuit_Init().

void __profile_switch ( void pu_handle,
INT32  switch_id,
INT32  target,
INT32  num_targets 
)

Definition at line 189 of file profile_interface.cxx.

void __profile_switch_init ( void pu_handle,
INT32  num_switches,
INT32 switch_num_targets,
INT32  num_case_values,
INT64 case_values 
)

Definition at line 176 of file profile_interface.cxx.

References Profile_Switch_Init().


Variable Documentation

char* output_filename = NULL [static]

Definition at line 74 of file profile_interface.cxx.

BOOL unique_output_filename = FALSE [static]

Definition at line 75 of file profile_interface.cxx.

Referenced by __profile_finish(), and __profile_init().


Generated on Wed Apr 8 15:09:17 2009 for Open64 by  doxygen 1.5.6