Definition at line 226 of file profile_aux.h.
| typedef vector<Call_Profile> Instr::Call_Profile_Vector |
Definition at line 231 of file profile_aux.h.
Definition at line 228 of file profile_aux.h.
| typedef INT64 Instr::FB_NUM_TYPE |
Definition at line 67 of file profile_aux.h.
| typedef UINT64 Instr::FB_VALUE_TYPE |
Definition at line 68 of file profile_aux.h.
| typedef hash_map<long, PU_PROFILE_HANDLE> Instr::HASH_MAP |
Definition at line 340 of file profile_aux.h.
Definition at line 232 of file profile_aux.h.
Definition at line 225 of file profile_aux.h.
| typedef vector<Loop_Profile> Instr::Loop_Profile_Vector |
Definition at line 229 of file profile_aux.h.
Definition at line 335 of file profile_aux.h.
Definition at line 230 of file profile_aux.h.
Definition at line 227 of file profile_aux.h.
Definition at line 176 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Profile_Branch(), and Profile_Branch().
Definition at line 165 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Profile_Branch_Init(), and Profile_Branch_Init().
Definition at line 368 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Profile_Call_Entry(), and Profile_Call_Entry().
Definition at line 379 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Profile_Call_Exit(), and Profile_Call_Exit().
Definition at line 347 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Profile_Call_Init(), and Profile_Call_Init().
| void Instr::__profile_compgoto | ( | void * | pu_handle, | |
| INT32 | compgoto_id, | |||
| INT32 | target, | |||
| INT32 | num_targets | |||
| ) |
Definition at line 230 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Profile_Compgoto(), and Profile_Compgoto().
| void Instr::__profile_compgoto_init | ( | void * | pu_handle, | |
| INT32 | num_compgotos, | |||
| INT32 * | compgoto_num_targets | |||
| ) |
Definition at line 217 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, and Profile_Compgoto_Init().
Definition at line 397 of file profile_interface.cxx.
References Instr::hash_map< _Key, _Data >::begin(), Dump_all(), Dump_all(), Instr::hash_map< _Key, _Data >::end(), fclose(), fdopen, fopen, fp, free(), i, mkstemp(), NULL, output_filename, output_filename, profile_error, PU_Profile_Handle_Table, PU_Profile_Handle_Table, unique_output_filename, and unique_output_filename.
Referenced by __profile_init().
Definition at line 387 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Profile_Icall(), and Profile_Icall().
Definition at line 358 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Profile_Icall_Init(), and Profile_Icall_Init().
Definition at line 84 of file profile_interface.cxx.
References __profile_finish(), __profile_finish(), atexit(), DISABLEDEV, ENABLEDEV, Instrumentation_Phase_Num(), Instrumentation_Phase_Num, malloc, output_filename, output_filename, PROFILE_PHASE_NONE, profile_warn(), Set_Instrumentation_Phase_Num(), Set_Instrumentation_Phase_Num(), strcat(), strcpy, strlen(), unique_output_filename, unique_output_filename, and void.
Definition at line 153 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Profile_Invoke(), and Profile_Invoke().
Definition at line 142 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Profile_Invoke_Init(), and Profile_Invoke_Init().
Definition at line 299 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Profile_Loop(), and Profile_Loop().
Definition at line 288 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, and Profile_Loop_Init().
Definition at line 310 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Profile_Loop_Iter(), and Profile_Loop_Iter().
| void * Instr::__profile_pu_init | ( | char * | file_name, | |
| char * | pu_name, | |||
| long | current_pc, | |||
| INT32 | pusize, | |||
| INT32 | checksum | |||
| ) |
Definition at line 125 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Get_PU_Handle(), Get_PU_Handle(), PU_Profile_Handle::pu_size, and PU_Profile_Handle::runtime_fun_address.
Definition at line 334 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Profile_Short_Circuit(), and Profile_Short_Circuit().
Definition at line 322 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, and Profile_Short_Circuit_Init().
Definition at line 203 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, Profile_Switch(), and Profile_Switch().
| void Instr::__profile_switch_init | ( | void * | pu_handle, | |
| INT32 | num_switches, | |||
| INT32 * | switch_num_targets, | |||
| INT32 | num_case_values, | |||
| FB_NUM_TYPE * | case_values | |||
| ) |
Definition at line 188 of file profile_interface.cxx.
References DISABLEDEV, ENABLEDEV, and Profile_Switch_Init().
| static void Instr::@3026::Convert_Branch_Profile | ( | vector< FB_Info_Branch > & | dest, | |
| const Branch_Profile_Vector & | src | |||
| ) | [static] |
Definition at line 170 of file dump.cxx.
References _ffestd_stmt_::end, first, Instr::vector< T >::push_back(), and Instr::vector< T >::reserve().
Referenced by Dump_PU_Profile().
| static void Instr::@3026::Convert_Call_Profile | ( | vector< FB_Info_Call > & | dest, | |
| const Call_Profile_Vector & | src | |||
| ) | [static] |
Definition at line 278 of file dump.cxx.
References _ffestd_stmt_::end, first, Instr::vector< T >::push_back(), and Instr::vector< T >::reserve().
Referenced by Dump_PU_Profile().
| static void Instr::@3026::Convert_Invoke_Profile | ( | vector< FB_Info_Invoke > & | dest, | |
| const Invoke_Profile_Vector & | src | |||
| ) | [static] |
Definition at line 157 of file dump.cxx.
References _ffestd_stmt_::end, first, Instr::vector< T >::push_back(), and Instr::vector< T >::reserve().
Referenced by Dump_PU_Profile().
| static void Instr::@3026::Convert_Loop_Profile | ( | vector< FB_Info_Loop > & | dest, | |
| const Loop_Profile_Vector & | src | |||
| ) | [static] |
Definition at line 232 of file dump.cxx.
References _ffestd_stmt_::end, FB_FREQ_TYPE_UNKNOWN, first, Instr::vector< T >::push_back(), Instr::vector< T >::reserve(), tmp, and tmp1.
Referenced by Dump_PU_Profile().
| static void Instr::@3026::Convert_Short_Circuit_Profile | ( | vector< FB_Info_Circuit > & | dest, | |
| const Short_Circuit_Profile_Vector & | src | |||
| ) | [static] |
Definition at line 263 of file dump.cxx.
References _ffestd_stmt_::end, FB_FREQ_TYPE_UNKNOWN, first, Instr::vector< T >::push_back(), and Instr::vector< T >::reserve().
Referenced by Dump_PU_Profile().
| static void Instr::@3026::Convert_Switch_Profile | ( | FB_Info_Switch & | dest, | |
| T & | src | |||
| ) | [inline, static] |
Definition at line 218 of file dump.cxx.
References _ffestd_stmt_::end, first, and FB_Info_Switch::freq_targets.
Referenced by Dump_PU_Switch_Profile().
Definition at line 98 of file dump.cxx.
References align, align(), Instr::hash_map< _Key, _Data >::begin(), Dump_Fb_File_Header(), Dump_Fb_File_Header(), Dump_Fb_File_Pu_Table(), Dump_Fb_File_Pu_Table(), Dump_Fb_File_Str_Table(), Dump_Fb_File_Str_Table(), Dump_PU_Profile(), Dump_PU_Profile(), Instr::hash_map< _Key, _Data >::end(), ERR_POS, ERR_POS, Fb_Hdr::fb_ident, Fb_Hdr::fb_profile_offset, Fb_Hdr::fb_pu_hdr_ent_size, Fb_Hdr::fb_version, FSEEK, i, INSTR_CURRENT, INSTR_MAG, Instrumentation_Phase_Num(), Instrumentation_Phase_Num, mUINT64, Fb_Hdr::phase_num, PU_Profile_Handle_Table, PU_Profile_Handle_Table, SEEK_SET, Str_Table, and strcpy.
Referenced by __profile_finish().
| void Instr::Dump_Fb_File_Pu_Table | ( | FILE * | fp, | |
| char * | fname, | |||
| vector< Pu_Hdr > & | Pu_Hdr_Table, | |||
| Fb_Hdr & | fb_hdr | |||
| ) |
Definition at line 472 of file dump.cxx.
References __alignof__, ERR_WRITE, Fb_Hdr::fb_pu_hdr_num, Fb_Hdr::fb_pu_hdr_offset, ftell(), FWRITE, i, offset, realign_file(), Instr::vector< T >::size(), and ULONG.
Referenced by Dump_all().
| void Instr::Dump_Fb_File_Str_Table | ( | FILE * | fp, | |
| char * | fname, | |||
| vector< char * > & | Str_Table, | |||
| Fb_Hdr & | fb_hdr | |||
| ) |
Definition at line 497 of file dump.cxx.
References ERR_WRITE, Fb_Hdr::fb_str_table_offset, Fb_Hdr::fb_str_table_size, ftell(), FWRITE, i, Instr::vector< T >::size(), strlen(), table_size, and ULONG.
Referenced by Dump_all().
| ULONG Instr::Dump_PU_Branch_Profile | ( | FILE * | fp, | |
| PU_PROFILE_HANDLE | handle, | |||
| char * | fname, | |||
| INT32 * | num | |||
| ) |
| ULONG Instr::Dump_PU_Call_Profile | ( | FILE * | fp, | |
| PU_PROFILE_HANDLE | handle, | |||
| char * | fname, | |||
| INT32 * | num | |||
| ) |
| ULONG Instr::Dump_PU_Compgoto_Profile | ( | FILE * | fp, | |
| PU_PROFILE_HANDLE | handle, | |||
| char * | fname, | |||
| INT32 * | num | |||
| ) |
| ULONG Instr::Dump_PU_Invoke_Profile | ( | FILE * | fp, | |
| PU_PROFILE_HANDLE | handle, | |||
| char * | fname, | |||
| INT32 * | num | |||
| ) |
| ULONG Instr::Dump_PU_Loop_Profile | ( | FILE * | fp, | |
| PU_PROFILE_HANDLE | handle, | |||
| char * | fname, | |||
| INT32 * | num | |||
| ) |
| void Instr::Dump_PU_Profile | ( | FILE * | fp, | |
| PU_PROFILE_HANDLE | pu_handle, | |||
| char * | fname, | |||
| vector< Pu_Hdr > & | Pu_Hdr_Table, | |||
| vector< char * > & | Str_Table | |||
| ) |
Definition at line 361 of file dump.cxx.
References Instr::PU_Profile_Handle::checksum, Convert_Branch_Profile(), Convert_Call_Profile(), Convert_Invoke_Profile(), Convert_Loop_Profile(), Convert_Short_Circuit_Profile(), Dump_PU_Profile(), Dump_PU_Switch_Profile(), Instr::PU_Profile_Handle::Get_Branch_Table(), Instr::PU_Profile_Handle::Get_Call_Table(), Instr::PU_Profile_Handle::Get_Compgoto_Table(), Instr::PU_Profile_Handle::Get_Icall_Table(), Instr::PU_Profile_Handle::Get_Invoke_Table(), Instr::PU_Profile_Handle::Get_Loop_Table(), Instr::PU_Profile_Handle::Get_Short_Circuit_Table(), Instr::PU_Profile_Handle::Get_Switch_Table(), mINT64, offset, pos(), Pu_Hdr::pu_br_offset, Pu_Hdr::pu_call_offset, Pu_Hdr::pu_cgoto_offset, Pu_Hdr::pu_cgoto_target_offset, Pu_Hdr::pu_checksum, Pu_Hdr::pu_file_offset, Pu_Hdr::pu_icall_offset, Pu_Hdr::pu_inv_offset, Pu_Hdr::pu_loop_offset, Instr::PU_Profile_Handle::pu_name, Pu_Hdr::pu_name_index, Pu_Hdr::pu_num_br_entries, Pu_Hdr::pu_num_call_entries, Pu_Hdr::pu_num_cgoto_entries, Pu_Hdr::pu_num_icall_entries, Pu_Hdr::pu_num_inv_entries, Pu_Hdr::pu_num_loop_entries, Pu_Hdr::pu_num_scircuit_entries, Pu_Hdr::pu_num_switch_entries, Pu_Hdr::pu_scircuit_offset, Pu_Hdr::pu_size, Instr::PU_Profile_Handle::pu_size, Pu_Hdr::pu_switch_offset, Pu_Hdr::pu_switch_target_offset, Pu_Hdr::pu_value_offset, Instr::vector< T >::push_back(), realign_file(), Pu_Hdr::runtime_fun_address, Instr::PU_Profile_Handle::runtime_fun_address, strlen(), and ULONG.
| void Instr::Dump_PU_Profile | ( | FILE * | fp, | |
| PU_PROFILE_HANDLE | pu_handle, | |||
| char * | fname, | |||
| vector< Pu_Hdr > & | Pu_Hdr_Table, | |||
| vector< char * > & | Str_Table | |||
| ) |
Definition at line 361 of file dump.cxx.
References Instr::PU_Profile_Handle::checksum, Convert_Branch_Profile(), Convert_Call_Profile(), Convert_Invoke_Profile(), Convert_Loop_Profile(), Convert_Short_Circuit_Profile(), Dump_PU_Profile(), Dump_PU_Switch_Profile(), Instr::PU_Profile_Handle::Get_Branch_Table(), Instr::PU_Profile_Handle::Get_Call_Table(), Instr::PU_Profile_Handle::Get_Compgoto_Table(), Instr::PU_Profile_Handle::Get_Icall_Table(), Instr::PU_Profile_Handle::Get_Invoke_Table(), Instr::PU_Profile_Handle::Get_Loop_Table(), Instr::PU_Profile_Handle::Get_Short_Circuit_Table(), Instr::PU_Profile_Handle::Get_Switch_Table(), mINT64, offset, pos(), Pu_Hdr::pu_br_offset, Pu_Hdr::pu_call_offset, Pu_Hdr::pu_cgoto_offset, Pu_Hdr::pu_cgoto_target_offset, Pu_Hdr::pu_checksum, Pu_Hdr::pu_file_offset, Pu_Hdr::pu_icall_offset, Pu_Hdr::pu_inv_offset, Pu_Hdr::pu_loop_offset, Instr::PU_Profile_Handle::pu_name, Pu_Hdr::pu_name_index, Pu_Hdr::pu_num_br_entries, Pu_Hdr::pu_num_call_entries, Pu_Hdr::pu_num_cgoto_entries, Pu_Hdr::pu_num_icall_entries, Pu_Hdr::pu_num_inv_entries, Pu_Hdr::pu_num_loop_entries, Pu_Hdr::pu_num_scircuit_entries, Pu_Hdr::pu_num_switch_entries, Pu_Hdr::pu_scircuit_offset, Pu_Hdr::pu_size, Instr::PU_Profile_Handle::pu_size, Pu_Hdr::pu_switch_offset, Pu_Hdr::pu_switch_target_offset, Pu_Hdr::pu_value_offset, Instr::vector< T >::push_back(), realign_file(), Pu_Hdr::runtime_fun_address, Instr::PU_Profile_Handle::runtime_fun_address, strlen(), and ULONG.
| POSITION Instr::@3026::Dump_PU_Profile | ( | FILE * | fp, | |
| ULONG & | offset, | |||
| const T & | profile, | |||
| char * | fname | |||
| ) | [inline, static] |
Definition at line 303 of file dump.cxx.
References ERR_WRITE, FWRITE, mINT64, pos(), and realign_file().
Referenced by Dump_all(), and Dump_PU_Profile().
| ULONG Instr::Dump_PU_Short_Circuit_Profile | ( | FILE * | fp, | |
| PU_PROFILE_HANDLE | handle, | |||
| char * | fname, | |||
| INT32 * | num | |||
| ) |
| ULONG Instr::Dump_PU_Switch_Profile | ( | FILE * | fp, | |
| PU_PROFILE_HANDLE | handle, | |||
| char * | fname, | |||
| INT32 * | num | |||
| ) |
| POSITION Instr::@3026::Dump_PU_Switch_Profile | ( | FILE * | fp, | |
| ULONG & | offset, | |||
| T & | profile, | |||
| ULONG & | target_offset, | |||
| char * | fname | |||
| ) | [inline, static] |
Definition at line 319 of file dump.cxx.
References Convert_Switch_Profile(), _ffestd_stmt_::end, ERR_WRITE, first, FB_Info_Switch::freq_targets, FWRITE, INT32, INT64, mINT64, pos(), and realign_file().
Referenced by Dump_PU_Profile().
| PU_PROFILE_HANDLE Instr::Get_PU_Handle | ( | char * | file_name, | |
| char * | pu_name, | |||
| long | current_pc, | |||
| INT32 | pu_size, | |||
| INT32 | checksum | |||
| ) |
Definition at line 74 of file profile.cxx.
References NULL, PU_Profile_Handle_Table, and PU_Profile_Handle_Table.
Referenced by __profile_pu_init().
| void Instr::Incr_Branch_Not_Taken | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | id | |||
| ) |
Definition at line 177 of file profile.cxx.
References PU_Profile_Handle::Get_Branch_Table(), and Instr::PU_Profile_Handle::Get_Branch_Table().
| void Instr::Incr_Branch_Taken | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | id | |||
| ) |
Definition at line 168 of file profile.cxx.
References PU_Profile_Handle::Get_Branch_Table(), and Instr::PU_Profile_Handle::Get_Branch_Table().
| void Instr::Incr_Neither_Taken | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | id | |||
| ) |
Definition at line 422 of file profile.cxx.
References PU_Profile_Handle::Get_Short_Circuit_Table(), and Instr::PU_Profile_Handle::Get_Short_Circuit_Table().
| void Instr::Incr_Right_Taken | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | id | |||
| ) |
Definition at line 412 of file profile.cxx.
References PU_Profile_Handle::Get_Short_Circuit_Table(), and Instr::PU_Profile_Handle::Get_Short_Circuit_Table().
| PROFILE_PHASE Instr::Instrumentation_Phase_Num | ( | ) |
Definition at line 626 of file profile.cxx.
References instrumentation_phase_num.
Referenced by __profile_init(), and Dump_all().
| void Instr::Profile_Branch | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | branch_id, | |||
| bool | taken | |||
| ) |
Definition at line 157 of file profile.cxx.
References Incr_Branch_Not_Taken(), and Incr_Branch_Taken().
Referenced by __profile_branch().
| void Instr::Profile_Branch_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_branches | |||
| ) |
Definition at line 145 of file profile.cxx.
References PU_Profile_Handle::Get_Branch_Table(), and Instr::PU_Profile_Handle::Get_Branch_Table().
Referenced by __profile_branch_init().
| void Instr::Profile_Call_Entry | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | call_id | |||
| ) |
Definition at line 465 of file profile.cxx.
References Instr::PU_Profile_Handle::Get_Call_Table(), and PU_Profile_Handle::Get_Call_Table().
Referenced by __profile_call_entry().
| void Instr::Profile_Call_Exit | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | call_id | |||
| ) |
Definition at line 475 of file profile.cxx.
References Instr::PU_Profile_Handle::Get_Call_Table(), and PU_Profile_Handle::Get_Call_Table().
Referenced by __profile_call_exit().
| void Instr::Profile_Call_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_calls | |||
| ) |
Definition at line 439 of file profile.cxx.
References Instr::PU_Profile_Handle::Get_Call_Table(), and PU_Profile_Handle::Get_Call_Table().
Referenced by __profile_call_init().
| void Instr::Profile_Compgoto | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | compgoto_id, | |||
| INT32 | target, | |||
| INT32 | num_targets | |||
| ) |
Definition at line 301 of file profile.cxx.
References PU_Profile_Handle::Get_Compgoto_Table(), Instr::PU_Profile_Handle::Get_Compgoto_Table(), Compgoto_Profile::Get_Targets_Profile(), and Instr::Compgoto_Profile::Get_Targets_Profile().
Referenced by __profile_compgoto().
| void Instr::Profile_Compgoto_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_compgotos, | |||
| INT32 * | compgoto_num_targets | |||
| ) |
Definition at line 272 of file profile.cxx.
References PU_Profile_Handle::Get_Compgoto_Table(), Instr::PU_Profile_Handle::Get_Compgoto_Table(), i, and INT32.
Referenced by __profile_compgoto_init().
| void Instr::Profile_Icall | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | icall_id, | |||
| void * | called_fun_address | |||
| ) |
Definition at line 483 of file profile.cxx.
References FB_TNV::_clear_counter, FB_TNV::_counters, FB_TNV::_exec_counter, FB_TNV::_flag, FB_TNV::_id, FB_TNV::_values, a, b, PU_Profile_Handle::Get_Icall_Table(), Instr::PU_Profile_Handle::Get_Icall_Table(), i, INT, tmp, and UINT64.
Referenced by __profile_icall().
| void Instr::Profile_Icall_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_icalls | |||
| ) |
Definition at line 449 of file profile.cxx.
References PU_Profile_Handle::Get_Icall_Table(), Instr::PU_Profile_Handle::Get_Icall_Table(), i, and memset.
Referenced by __profile_icall_init().
| void Instr::Profile_Invoke | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | invoke_id | |||
| ) |
Definition at line 127 of file profile.cxx.
References PU_Profile_Handle::Get_Invoke_Table(), and Instr::PU_Profile_Handle::Get_Invoke_Table().
Referenced by __profile_invoke().
| void Instr::Profile_Invoke_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_invokes | |||
| ) |
Definition at line 115 of file profile.cxx.
References PU_Profile_Handle::Get_Invoke_Table(), and Instr::PU_Profile_Handle::Get_Invoke_Table().
Referenced by __profile_invoke_init().
| void Instr::Profile_Loop | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | loop_id | |||
| ) |
Definition at line 337 of file profile.cxx.
References Instr::PU_Profile_Handle::Get_Loop_Table(), PU_Profile_Handle::Get_Loop_Table(), Instr::Loop_Profile::invocation_count, Loop_Profile::invocation_count, Instr::Loop_Profile::last_trip_count, Loop_Profile::last_trip_count, max, Instr::Loop_Profile::max_trip_count, Loop_Profile::max_trip_count, min, Instr::Loop_Profile::min_trip_count, Loop_Profile::min_trip_count, Loop_Profile::num_zero_trips, and Instr::Loop_Profile::num_zero_trips.
Referenced by __profile_loop().
| void Instr::Profile_Loop_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_loops | |||
| ) |
Definition at line 324 of file profile.cxx.
References Instr::PU_Profile_Handle::Get_Loop_Table(), and PU_Profile_Handle::Get_Loop_Table().
Referenced by __profile_loop_init().
| void Instr::Profile_Loop_Iter | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | loop_id | |||
| ) |
Definition at line 367 of file profile.cxx.
References Instr::PU_Profile_Handle::Get_Loop_Table(), PU_Profile_Handle::Get_Loop_Table(), Loop_Profile::last_trip_count, Instr::Loop_Profile::last_trip_count, Loop_Profile::total_trip_count, and Instr::Loop_Profile::total_trip_count.
Referenced by __profile_loop_iter().
| void Instr::Profile_Short_Circuit | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | short_circuit_id, | |||
| bool | taken | |||
| ) |
Definition at line 400 of file profile.cxx.
References Incr_Neither_Taken(), and Incr_Right_Taken().
Referenced by __profile_short_circuit().
| void Instr::Profile_Short_Circuit_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_short_circuit_ops | |||
| ) |
Definition at line 386 of file profile.cxx.
References PU_Profile_Handle::Get_Short_Circuit_Table(), and Instr::PU_Profile_Handle::Get_Short_Circuit_Table().
Referenced by __profile_short_circuit_init().
| void Instr::Profile_Switch | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | switch_id, | |||
| INT32 | case_value, | |||
| INT32 | num_targets | |||
| ) |
Definition at line 237 of file profile.cxx.
References PU_Profile_Handle::Get_Switch_Table(), Instr::PU_Profile_Handle::Get_Switch_Table(), Instr::Switch_Profile::Get_Targets_Case_Value(), Switch_Profile::Get_Targets_Case_Value(), Instr::Switch_Profile::Get_Targets_Profile(), Switch_Profile::Get_Targets_Profile(), INT32, and target.
Referenced by __profile_switch().
| void Instr::Profile_Switch_Init | ( | PU_PROFILE_HANDLE | pu_handle, | |
| INT32 | num_switches, | |||
| INT32 * | switch_num_targets, | |||
| INT32 | num_case_values, | |||
| FB_NUM_TYPE * | case_values | |||
| ) |
Definition at line 197 of file profile.cxx.
References _ffestd_stmt_::end, first, Instr::PU_Profile_Handle::Get_Switch_Table(), INT32, sp, Instr::Switch_Profile::targets_case_value, and Instr::Switch_Profile::targets_profile.
Referenced by __profile_switch_init().
| static void Instr::realign_file | ( | FILE * | fp, | |
| ULONG & | offset, | |||
| UINT32 | alignment, | |||
| char * | fname | |||
| ) | [inline, static] |
Definition at line 84 of file dump.cxx.
References align(), ERR_POS, FSEEK, SEEK_CUR, and ULONG.
Referenced by Dump_Fb_File_Pu_Table(), Dump_PU_Profile(), and Dump_PU_Switch_Profile().
| void Instr::Set_Instrumentation_Phase_Num | ( | PROFILE_PHASE | phase_num | ) |
Definition at line 618 of file profile.cxx.
References instrumentation_phase_num.
Referenced by __profile_init().
char* Instr::ERR_POS = "Error in positioning within %s" [static] |
Definition at line 70 of file dump.cxx.
Referenced by Dump_all(), Dump_Fb_File_Header(), and realign_file().
char* Instr::ERR_WRITE = "Error in writing to %s" [static] |
Definition at line 71 of file dump.cxx.
Referenced by Dump_Fb_File_Header(), Dump_Fb_File_Pu_Table(), Dump_Fb_File_Str_Table(), Dump_PU_Profile(), and Dump_PU_Switch_Profile().
PROFILE_PHASE Instr::instrumentation_phase_num = PROFILE_PHASE_NONE [static] |
Definition at line 65 of file profile.cxx.
char* Instr::output_filename = NULL [static] |
Definition at line 64 of file profile_interface.cxx.
Referenced by __profile_finish(), and __profile_init().
Definition at line 63 of file profile.cxx.
Referenced by __profile_finish(), Dump_all(), and Get_PU_Handle().
BOOL Instr::unique_output_filename = FALSE [static] |
Definition at line 65 of file profile_interface.cxx.
Referenced by __profile_finish(), and __profile_init().
1.5.6