00001 00012 #ifndef OPREPORT_OPTIONS_H 00013 #define OPREPORT_OPTIONS_H 00014 00015 #include <string> 00016 #include <vector> 00017 #include <iosfwd> 00018 00019 #include "common_option.h" 00020 #include "string_filter.h" 00021 #include "symbol_sort.h" 00022 00023 class profile_classes; 00024 class merge_option; 00025 00026 namespace options { 00027 extern demangle_type demangle; 00028 extern bool symbols; 00029 extern bool callgraph; 00030 extern bool debug_info; 00031 extern bool details; 00032 extern bool reverse_sort; 00033 extern bool exclude_dependent; 00034 extern sort_options sort_by; 00035 extern merge_option merge_by; 00036 extern bool global_percent; 00037 extern bool long_filenames; 00038 extern bool show_address; 00039 extern string_filter symbol_filter; 00040 extern bool show_header; 00041 extern bool accumulated; 00042 extern bool xml; 00043 extern std::string xml_options; 00044 } 00045 00047 extern profile_classes classes; 00048 extern profile_classes classes2; 00049 00056 void handle_options(options::spec const & spec); 00057 00058 #endif // OPREPORT_OPTIONS_H