oprof_start_config.h

Go to the documentation of this file.
00001 
00012 #ifndef OPROF_START_CONFIG_H
00013 #define OPROF_START_CONFIG_H
00014 
00015 #include <sys/types.h>
00016 #include <string>
00017 #include <iosfwd>
00018 
00020 struct event_setting {
00021 
00022     event_setting();
00023 
00024     uint count;
00025     uint umask;
00026     bool os_ring_count;
00027     bool user_ring_count;
00028 };
00029 
00035 struct config_setting {
00036     config_setting();
00037 
00038     void load(std::istream & in);
00039 
00040     uint buffer_size;
00041     uint note_table_size;
00042     std::string kernel_filename;
00043     bool no_kernel;
00044     bool verbose;
00045     bool separate_lib;
00046     bool separate_kernel;
00047     bool separate_cpu;
00048     bool separate_thread;
00049     uint callgraph_depth;
00050     uint buffer_watershed;
00051     uint cpu_buffer_size;
00052 };
00053 
00054 std::istream & operator>>(std::istream & in, config_setting & object);
00055 
00056 #endif // ! OPROF_START_CONFIG_H

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1