cf4ocl (C Framework for OpenCL)  v2.1.0
Object-oriented framework for developing and benchmarking OpenCL projects in C/C++
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ccl_profiler.h File Reference

Definition of classes and methods for profiling OpenCL events. More...

Include dependency graph for ccl_profiler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ccl_prof_agg
 Aggregate event info. More...
 
struct  ccl_prof_export_options
 Export options. More...
 
struct  ccl_prof_info
 Event profiling info. More...
 
struct  ccl_prof_inst
 Event instant. More...
 
struct  ccl_prof_overlap
 Representation of an overlap of events. More...
 

Typedefs

typedef struct ccl_prof CCLProf
 Profile class, contains profiling information of OpenCL queues and events. More...
 
typedef struct ccl_prof_agg CCLProfAgg
 Aggregate event info.
 
typedef struct
ccl_prof_export_options 
CCLProfExportOptions
 Export options.
 
typedef struct ccl_prof_info CCLProfInfo
 Event profiling info.
 
typedef struct ccl_prof_inst CCLProfInst
 Event instant.
 
typedef struct ccl_prof_overlap CCLProfOverlap
 Representation of an overlap of events.
 

Enumerations

enum  CCLProfAggSort { CCL_PROF_AGG_SORT_NAME = 0x00, CCL_PROF_AGG_SORT_TIME = 0x10, CCL_PROF_AGG_SORT_NAME = 0x00, CCL_PROF_AGG_SORT_TIME = 0x10 }
 Sort criteria for aggregate event info instances. More...
 
enum  CCLProfInfoSort {
  CCL_PROF_INFO_SORT_NAME_EVENT = 0x20, CCL_PROF_INFO_SORT_NAME_QUEUE = 0x30, CCL_PROF_INFO_SORT_T_QUEUED = 0x40, CCL_PROF_INFO_SORT_T_SUBMIT = 0x50,
  CCL_PROF_INFO_SORT_T_START = 0x60, CCL_PROF_INFO_SORT_T_END = 0x70, CCL_PROF_INFO_SORT_NAME_EVENT = 0x20, CCL_PROF_INFO_SORT_NAME_QUEUE = 0x30,
  CCL_PROF_INFO_SORT_T_QUEUED = 0x40, CCL_PROF_INFO_SORT_T_SUBMIT = 0x50, CCL_PROF_INFO_SORT_T_START = 0x60, CCL_PROF_INFO_SORT_T_END = 0x70
}
 Sort criteria for event profiling info instances. More...
 
enum  CCLProfInstSort { CCL_PROF_INST_SORT_INSTANT = 0x80, CCL_PROF_INST_SORT_ID = 0x90, CCL_PROF_INST_SORT_INSTANT = 0x80, CCL_PROF_INST_SORT_ID = 0x90 }
 Sort criteria for event instants (CCLProfInst). More...
 
enum  CCLProfInstType { CCL_PROF_INST_TYPE_START, CCL_PROF_INST_TYPE_END, CCL_PROF_INST_TYPE_START, CCL_PROF_INST_TYPE_END }
 Type of event instant (CCLProfInst). More...
 
enum  CCLProfOverlapSort { CCL_PROF_OVERLAP_SORT_NAME = 0xa0, CCL_PROF_OVERLAP_SORT_DURATION = 0xb0, CCL_PROF_OVERLAP_SORT_NAME = 0xa0, CCL_PROF_OVERLAP_SORT_DURATION = 0xb0 }
 Sort criteria for overlaps (CCLProfOverlap). More...
 
enum  CCLProfSortOrder { CCL_PROF_SORT_ASC = 0x0, CCL_PROF_SORT_DESC = 0x1, CCL_PROF_SORT_ASC = 0x0, CCL_PROF_SORT_DESC = 0x1 }
 Sort order for the profile module iterators. More...
 

Detailed Description

Definition of classes and methods for profiling OpenCL events.

Author
Nuno Fachada
Date
2016

Definition in file ccl_profiler.h.