populate_for_spu.h

Go to the documentation of this file.
00001 
00013 #ifndef POPULATE_FOR_SPU_H
00014 #define POPULATE_FOR_SPU_H
00015 
00016 class profile_container;
00017 class inverted_profile;
00018 class string_filter;
00019 
00020 /*
00021  * When profiling SPUs on Cell Broadband Engine, all sample file
00022  * headers get a flag set indicating "spu_profile".  This function
00023  * checks the first sample file for this indicator.
00024  */
00025 bool is_spu_profile(inverted_profile const & ip);
00026 
00027 /*
00028  * This is a special-purpose function for CELL BE SPU profiling.
00029  * See populate_spu_profile_from_files prologue for more details.
00030  */
00031 void populate_for_spu_image(profile_container & samples,
00032                 inverted_profile const & ip,
00033                 string_filter const & symbol_filter,
00034                 bool * has_debug_info);
00035 
00036 enum profile_type {
00037     unknown_profile = -1,
00038     normal_profile,
00039     cell_spu_profile
00040 };
00041 
00042 #endif /* POPULATE_FOR_SPU_H */

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1