op_sample_file.h

Go to the documentation of this file.
00001 
00012 #ifndef OP_SAMPLE_FILE_H
00013 #define OP_SAMPLE_FILE_H
00014 
00015 #include "op_types.h"
00016 
00017 #include <stdint.h>
00018 #include <time.h>
00019 
00020 /* header of the sample files */
00021 struct opd_header {
00022     u8 magic[4];
00023     u32 version;
00024     u32 cpu_type;
00025     u32 ctr_event;
00026     u32 ctr_um;
00027     u32 ctr_count;
00028     // for cg file the from_cg_is_kernel
00029     u32 is_kernel;
00030     double cpu_speed;
00031     u64 mtime;
00032     u32 cg_to_is_kernel;
00033     /* spu_profile=1 says sample file contains Cell BE SPU profile data */
00034     u32 spu_profile;
00035     uint64_t embedded_offset;
00036     u64 anon_start;
00037     u64 cg_to_anon_start;
00038     /* binary compatibility reserve */
00039     u32 reserved1[1];
00040 };
00041 
00042 #endif /* OP_SAMPLE_FILE_H */

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1