#include <stdio.h>#include <ext/hash_map>#include <vector>#include <algorithm>#include "profile.h"

Go to the source code of this file.
| PU_PROFILE_HANDLE Get_PU_Handle | ( | char * | file_name, | |
| char * | pu_name, | |||
| long | current_pc, | |||
| INT32 | pu_size, | |||
| INT32 | checksum | |||
| ) |
| void Incr_Branch_Not_Taken | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | id | |||
| ) |
Definition at line 188 of file profile.cxx.
Referenced by Profile_Branch(), and Instr::Profile_Branch().
| void Incr_Branch_Taken | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | id | |||
| ) |
Definition at line 179 of file profile.cxx.
Referenced by Profile_Branch(), and Instr::Profile_Branch().
| void Incr_Neither_Taken | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | id | |||
| ) |
Definition at line 433 of file profile.cxx.
Referenced by Instr::Profile_Short_Circuit(), and Profile_Short_Circuit().
| void Incr_Right_Taken | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | id | |||
| ) |
Definition at line 423 of file profile.cxx.
Referenced by Instr::Profile_Short_Circuit(), and Profile_Short_Circuit().
| PROFILE_PHASE Instrumentation_Phase_Num | ( | void | ) |
Definition at line 637 of file profile.cxx.
| void Profile_Branch | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | branch_id, | |||
| bool | taken | |||
| ) |
| void Profile_Branch_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_branches | |||
| ) |
| void Profile_Call_Entry | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | call_id | |||
| ) |
| void Profile_Call_Exit | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | call_id | |||
| ) |
| void Profile_Call_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_calls | |||
| ) |
| void Profile_Compgoto | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | compgoto_id, | |||
| INT32 | target, | |||
| INT32 | num_targets | |||
| ) |
| void Profile_Compgoto_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_compgotos, | |||
| INT32 * | compgoto_num_targets | |||
| ) |
| void Profile_Icall | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | icall_id, | |||
| void * | called_fun_address | |||
| ) |
| void Profile_Icall_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_icalls | |||
| ) |
| void Profile_Invoke | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | invoke_id | |||
| ) |
| void Profile_Invoke_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_invokes | |||
| ) |
| void Profile_Loop | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | loop_id | |||
| ) |
| void Profile_Loop_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_loops | |||
| ) |
| void Profile_Loop_Iter | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | loop_id | |||
| ) |
| void Profile_Short_Circuit | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | short_circuit_id, | |||
| bool | taken | |||
| ) |
| void Profile_Short_Circuit_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_short_circuit_ops | |||
| ) |
| void Profile_Switch | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | switch_id, | |||
| INT32 | case_value, | |||
| INT32 | num_targets | |||
| ) |
| void Profile_Switch_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_switches, | |||
| INT32 * | switch_num_targets, | |||
| INT32 | num_case_values, | |||
| INT64 * | case_values | |||
| ) |
Definition at line 208 of file profile.cxx.
References _ffestd_stmt_::end, first, PU_Profile_Handle::Get_Switch_Table(), INT32, sp, Switch_Profile::targets_case_value, and Switch_Profile::targets_profile.
Referenced by __profile_switch_init().
| void Set_Instrumentation_Phase_Num | ( | PROFILE_PHASE | phase_num | ) |
PROFILE_PHASE instrumentation_phase_num = PROFILE_PHASE_NONE [static] |
Definition at line 76 of file profile.cxx.
Referenced by Instr::Instrumentation_Phase_Num(), Instrumentation_Phase_Num(), Instr::Set_Instrumentation_Phase_Num(), and Set_Instrumentation_Phase_Num().
Definition at line 74 of file profile.cxx.
Referenced by __profile_finish(), Dump_all(), and Get_PU_Handle().
1.5.6