Mentions légales du service

Skip to content
Snippets Groups Projects
Commit cfe50a58 authored by Thierry's avatar Thierry
Browse files

[update] trace version + todo

parent 18a5acb4
Branches
No related tags found
No related merge requests found
...@@ -225,12 +225,16 @@ typedef struct kaapi_named_perfctr { ...@@ -225,12 +225,16 @@ typedef struct kaapi_named_perfctr {
Version 6 is not uppercompatible with older versions. Version 6 is not uppercompatible with older versions.
Version 7 is not uppercompatible with older versions and correspond to version integrated Version 7 is not uppercompatible with older versions and correspond to version integrated
in libomp. in libomp.
Version 9 add loop information, memory event, perf counter.
*/ */
#define __KAAPI_TRACE_VERSION__ 8 #define __KAAPI_TRACE_VERSION__ 9
/** Definition of internal KAAPI events. /** Definition of internal KAAPI events.
Not that any extension or modification of the events must Not that any extension or modification of the events must
be reflected in the utility bin/kaapi_event_reader. be reflected in the utility bin/kaapi_event_reader.
TODO: reduce the size of event by encoding information in extra field: e.g. begin / end
of state, or group events by features and then used extra fields for number of subevent
*/ */
#define KAAPI_EVT_KPROC_START 0 /* kproc begins, i0: processor type (0:CPU, 1:GPU) */ #define KAAPI_EVT_KPROC_START 0 /* kproc begins, i0: processor type (0:CPU, 1:GPU) */
#define KAAPI_EVT_KPROC_STOP 1 /* kproc ends */ #define KAAPI_EVT_KPROC_STOP 1 /* kproc ends */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment