4.0-READEX-BETA-1806 (revision 13610)
SCOREP_SubstrateEvents.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Score-P software (http://www.score-p.org)
3  *
4  * Copyright (c) 2016-2018,
5  * Technische Universitaet Dresden, Germany
6  *
7  * Copyright (c) 2015-2016,
8  * Technische Universitaet Muenchen, Germany
9  *
10  * Copyright (c) 2018,
11  * Forschungszentrum Juelich GmbH, Germany
12  *
13  * This software may be modified and distributed under the terms of
14  * a BSD-style license. See the COPYING file in the package base
15  * directory for details.
16  *
17  */
18 
19 
26 #ifndef SCOREP_SUBSTRATE_EVENTS_H
27 #define SCOREP_SUBSTRATE_EVENTS_H
28 
35 #include <stdbool.h>
36 #include <stddef.h>
37 
41 
42 
46 typedef void ( * SCOREP_Substrates_Callback )( void );
47 
48 struct SCOREP_Location;
49 
56 {
62 
68 {
132  SCOREP_EVENT_ADD_TUNING_ACTION,
133  SCOREP_EVENT_GENERIC_COMMAND,
134 
137 
138 
157  struct SCOREP_Location* location,
158  uint64_t timestamp,
159  SCOREP_RegionHandle regionHandle,
160  uint64_t* metricValues );
161 
171  struct SCOREP_Location* location,
172  uint64_t timestamp,
173  SCOREP_RegionHandle regionHandle,
174  uint64_t* metricValues );
175 
188  struct SCOREP_Location* location,
189  uint64_t timestamp,
190  SCOREP_RegionHandle regionHandle,
191  uint64_t* metricValues );
192 
198  struct SCOREP_Location* location,
199  uint64_t timestamp,
200  SCOREP_RegionHandle regionHandle,
201  uint64_t* metricValues );
202 
217  struct SCOREP_Location* location,
218  uint64_t timestamp,
219  SCOREP_RegionHandle regionHandle,
220  uint64_t* metricValues );
221 
228  struct SCOREP_Location* location,
229  uint64_t timestamp,
230  SCOREP_RegionHandle regionHandle,
231  uint64_t* metricValues );
232 
255 typedef void ( * SCOREP_Substrates_SampleCb )(
256  struct SCOREP_Location* location,
257  uint64_t timestamp,
258  SCOREP_CallingContextHandle callingContext,
259  SCOREP_CallingContextHandle previousCallingContext,
260  uint32_t unwindDistance,
261  SCOREP_InterruptGeneratorHandle interruptGeneratorHandle,
262  uint64_t* metricValues );
263 
283  struct SCOREP_Location* location,
284  uint64_t timestamp,
285  SCOREP_CallingContextHandle callingContext,
286  SCOREP_CallingContextHandle previousCallingContext,
287  uint32_t unwindDistance,
288  uint64_t* metricValues );
289 
297  struct SCOREP_Location* location,
298  uint64_t timestamp,
299  SCOREP_CallingContextHandle callingContext,
300  SCOREP_CallingContextHandle previousCallingContext,
301  uint32_t unwindDistance,
302  uint64_t* metricValues );
303 
317  struct SCOREP_Location* location,
318  uint64_t timestamp,
319  SCOREP_RegionHandle regionHandle );
320 
336  struct SCOREP_Location* location,
337  uint64_t timestamp,
338  SCOREP_RegionHandle regionHandle,
339  bool doRewind );
340 
359 typedef void ( * SCOREP_Substrates_MpiSendCb )(
360  struct SCOREP_Location* location,
361  uint64_t timestamp,
362  SCOREP_MpiRank destinationRank,
363  SCOREP_InterimCommunicatorHandle communicatorHandle,
364  uint32_t tag,
365  uint64_t bytesSent );
366 
385 typedef void ( * SCOREP_Substrates_MpiRecvCb )(
386  struct SCOREP_Location* location,
387  uint64_t timestamp,
388  SCOREP_MpiRank sourceRank,
389  SCOREP_InterimCommunicatorHandle communicatorHandle,
390  uint32_t tag,
391  uint64_t bytesReceived );
392 
403  struct SCOREP_Location* location,
404  uint64_t timestamp );
405 
406 
426  struct SCOREP_Location* location,
427  uint64_t timestamp,
428  SCOREP_InterimCommunicatorHandle communicatorHandle,
429  SCOREP_MpiRank rootRank,
430  SCOREP_CollectiveType collectiveType,
431  uint64_t bytesSent,
432  uint64_t bytesReceived );
433 
446  struct SCOREP_Location* location,
447  uint64_t timestamp,
448  SCOREP_MpiRequestId requestId );
449 
462  struct SCOREP_Location* location,
463  uint64_t timestamp,
464  SCOREP_MpiRequestId requestId );
465 
478  struct SCOREP_Location* location,
479  uint64_t timestamp,
480  SCOREP_MpiRequestId requestId );
481 
494  struct SCOREP_Location* location,
495  uint64_t timestamp,
496  SCOREP_MpiRequestId requestId );
497 
516 typedef void ( * SCOREP_Substrates_MpiIsendCb )(
517  struct SCOREP_Location* location,
518  uint64_t timestamp,
519  SCOREP_MpiRank destinationRank,
520  SCOREP_InterimCommunicatorHandle communicatorHandle,
521  uint32_t tag,
522  uint64_t bytesSent,
523  SCOREP_MpiRequestId requestId );
524 
543 typedef void ( * SCOREP_Substrates_MpiIrecvCb )(
544  struct SCOREP_Location* location,
545  uint64_t timestamp,
546  SCOREP_MpiRank sourceRank,
547  SCOREP_InterimCommunicatorHandle communicatorHandle,
548  uint32_t tag,
549  uint64_t bytesReceived,
550  SCOREP_MpiRequestId requestId );
551 
563  struct SCOREP_Location* location,
564  uint64_t timestamp,
565  SCOREP_RmaWindowHandle windowHandle );
566 
578  struct SCOREP_Location* location,
579  uint64_t timestamp,
580  SCOREP_RmaWindowHandle windowHandle );
581 
592  struct SCOREP_Location* location,
593  uint64_t timestamp );
594 
616  struct SCOREP_Location* location,
617  uint64_t timestamp,
618  SCOREP_CollectiveType collectiveOp,
619  SCOREP_RmaSyncLevel syncLevel,
620  SCOREP_RmaWindowHandle windowHandle,
621  uint32_t root,
622  uint64_t bytesSent,
623  uint64_t bytesReceived );
624 
647  struct SCOREP_Location* location,
648  uint64_t timestamp,
649  SCOREP_RmaWindowHandle windowHandle,
650  uint32_t remote,
651  uint64_t lockId,
652  SCOREP_LockType lockType );
653 
672  struct SCOREP_Location* location,
673  uint64_t timestamp,
674  SCOREP_RmaWindowHandle windowHandle,
675  uint32_t remote,
676  uint64_t lockId,
677  SCOREP_LockType lockType );
678 
679 
699  struct SCOREP_Location* location,
700  uint64_t timestamp,
701  SCOREP_RmaWindowHandle windowHandle,
702  uint32_t remote,
703  uint64_t lockId,
704  SCOREP_LockType lockType );
705 
706 
724  struct SCOREP_Location* location,
725  uint64_t timestamp,
726  SCOREP_RmaWindowHandle windowHandle,
727  uint32_t remote,
728  uint64_t lockId );
729 
745 typedef void ( * SCOREP_Substrates_RmaSyncCb )(
746  struct SCOREP_Location* location,
747  uint64_t timestamp,
748  SCOREP_RmaWindowHandle windowHandle,
749  uint32_t remote,
750  SCOREP_RmaSyncType syncType );
751 
768  struct SCOREP_Location* location,
769  uint64_t timestamp,
770  SCOREP_RmaSyncLevel syncLevel,
771  SCOREP_RmaWindowHandle windowHandle,
772  SCOREP_GroupHandle groupHandle );
773 
797 typedef void ( * SCOREP_Substrates_RmaPutCb )(
798  struct SCOREP_Location* location,
799  uint64_t timestamp,
800  SCOREP_RmaWindowHandle windowHandle,
801  uint32_t remote,
802  uint64_t bytes,
803  uint64_t matchingId );
804 
805 typedef void ( * SCOREP_Substrates_RmaGetCb )(
806  struct SCOREP_Location* location,
807  uint64_t timestamp,
808  SCOREP_RmaWindowHandle windowHandle,
809  uint32_t remote,
810  uint64_t bytes,
811  uint64_t matchingId );
812 
841 typedef void ( * SCOREP_Substrates_RmaAtomicCb )(
842  struct SCOREP_Location* location,
843  uint64_t timestamp,
844  SCOREP_RmaWindowHandle windowHandle,
845  uint32_t remote,
847  uint64_t bytesSent,
848  uint64_t bytesReceived,
849  uint64_t matchingId );
850 
864  struct SCOREP_Location* location,
865  uint64_t timestamp,
866  SCOREP_RmaWindowHandle windowHandle );
867 
889  struct SCOREP_Location* location,
890  uint64_t timestamp,
891  SCOREP_RmaWindowHandle windowHandle,
892  uint64_t matchingId );
893 
894 typedef void ( * SCOREP_Substrates_RmaOpCompleteNonBlockingCb )(
895  struct SCOREP_Location* location,
896  uint64_t timestamp,
897  SCOREP_RmaWindowHandle windowHandle,
898  uint64_t matchingId );
899 
917 typedef void ( * SCOREP_Substrates_RmaOpTestCb )(
918  struct SCOREP_Location* location,
919  uint64_t timestamp,
920  SCOREP_RmaWindowHandle windowHandle,
921  uint64_t matchingId );
922 
923 
941  struct SCOREP_Location* location,
942  uint64_t timestamp,
943  SCOREP_RmaWindowHandle windowHandle,
944  uint64_t matchingId );
945 
946 
965  struct SCOREP_Location* location,
966  uint64_t timestamp,
967  SCOREP_ParadigmType paradigm,
968  uint32_t lockId,
969  uint32_t acquisitionOrder );
970 
971 
972 typedef void ( * SCOREP_Substrates_ThreadReleaseLockCb )(
973  struct SCOREP_Location* location,
974  uint64_t timestamp,
975  SCOREP_ParadigmType paradigm,
976  uint32_t lockId,
977  uint32_t acquisitionOrder );
978 
996  struct SCOREP_Location* location,
997  uint64_t timestamp,
998  SCOREP_SamplingSetHandle counterHandle,
999  int64_t value );
1000 
1001 typedef void ( * SCOREP_Substrates_TriggerCounterUint64Cb )(
1002  struct SCOREP_Location* location,
1003  uint64_t timestamp,
1004  SCOREP_SamplingSetHandle counterHandle,
1005  uint64_t value );
1006 
1007 typedef void ( * SCOREP_Substrates_TriggerCounterDoubleCb )(
1008  struct SCOREP_Location* location,
1009  uint64_t timestamp,
1010  SCOREP_SamplingSetHandle counterHandle,
1011  double value );
1030  struct SCOREP_Location* location,
1031  uint64_t timestamp,
1032  SCOREP_ParameterHandle parameterHandle,
1033  int64_t value );
1034 
1035 typedef void ( * SCOREP_Substrates_TriggerParameterUint64Cb )(
1036  struct SCOREP_Location* location,
1037  uint64_t timestamp,
1038  SCOREP_ParameterHandle parameterHandle,
1039  uint64_t value );
1056  struct SCOREP_Location* location,
1057  uint64_t timestamp,
1058  SCOREP_ParameterHandle parameterHandle,
1059  SCOREP_StringHandle string_handle );
1060 
1080  struct SCOREP_Location* location,
1081  uint64_t timestamp,
1082  SCOREP_ParadigmType paradigm,
1083  uint32_t nRequestedThreads,
1084  uint32_t forkSequenceCount );
1085 
1097  struct SCOREP_Location* location,
1098  uint64_t timestamp,
1099  SCOREP_ParadigmType paradigm );
1100 
1115  struct SCOREP_Location* location,
1116  uint64_t timestamp,
1117  SCOREP_ParadigmType paradigm,
1118  SCOREP_InterimCommunicatorHandle threadTeam );
1119 
1120 typedef void ( * SCOREP_Substrates_ThreadForkJoinTeamEndCb )(
1121  struct SCOREP_Location* location,
1122  uint64_t timestamp,
1123  SCOREP_ParadigmType paradigm,
1124  SCOREP_InterimCommunicatorHandle threadTeam );
1125 
1152  struct SCOREP_Location* location,
1153  uint64_t timestamp,
1154  SCOREP_ParadigmType paradigm,
1155  SCOREP_InterimCommunicatorHandle threadTeam,
1156  uint32_t threadId,
1157  uint32_t generationNumber );
1158 
1185  struct SCOREP_Location* location,
1186  uint64_t timestamp,
1187  uint64_t* metricValues,
1188  SCOREP_ParadigmType paradigm,
1189  SCOREP_InterimCommunicatorHandle threadTeam,
1190  uint32_t threadId,
1191  uint32_t generationNumber,
1192  SCOREP_TaskHandle taskHandle );
1193 
1222  struct SCOREP_Location* location,
1223  uint64_t timestamp,
1224  SCOREP_RegionHandle regionHandle,
1225  uint64_t* metricValues,
1226  SCOREP_ParadigmType paradigm,
1227  SCOREP_InterimCommunicatorHandle threadTeam,
1228  uint32_t threadId,
1229  uint32_t generationNumber,
1230  SCOREP_TaskHandle taskHandle );
1231 
1232 typedef void ( * SCOREP_Substrates_ThreadForkJoinTaskEndCb )(
1233  struct SCOREP_Location* location,
1234  uint64_t timestamp,
1235  SCOREP_RegionHandle regionHandle,
1236  uint64_t* metricValues,
1237  SCOREP_ParadigmType paradigm,
1238  SCOREP_InterimCommunicatorHandle threadTeam,
1239  uint32_t threadId,
1240  uint32_t generationNumber,
1241  SCOREP_TaskHandle taskHandle );
1242 
1263  struct SCOREP_Location* location,
1264  uint64_t timestamp,
1265  SCOREP_ParadigmType paradigm,
1266  SCOREP_InterimCommunicatorHandle threadTeam,
1267  uint32_t createSequenceCount );
1268 
1269 typedef void ( * SCOREP_Substrates_ThreadCreateWaitWaitCb )(
1270  struct SCOREP_Location* location,
1271  uint64_t timestamp,
1272  SCOREP_ParadigmType paradigm,
1273  SCOREP_InterimCommunicatorHandle threadTeam,
1274  uint32_t createSequenceCount );
1275 
1276 typedef void ( * SCOREP_Substrates_ThreadCreateWaitBeginCb )(
1277  struct SCOREP_Location* location,
1278  uint64_t timestamp,
1279  SCOREP_ParadigmType paradigm,
1280  SCOREP_InterimCommunicatorHandle threadTeam,
1281  uint32_t createSequenceCount );
1282 
1283 typedef void ( * SCOREP_Substrates_ThreadCreateWaitEndCb )(
1284  struct SCOREP_Location* location,
1285  uint64_t timestamp,
1286  SCOREP_ParadigmType paradigm,
1287  SCOREP_InterimCommunicatorHandle threadTeam,
1288  uint32_t createSequenceCount );
1289 
1311  struct SCOREP_Location* location,
1312  uint64_t timestamp,
1313  uint64_t addrAllocated,
1314  size_t bytesAllocated,
1315  void* substrateData[],
1316  size_t bytesAllocatedMetric,
1317  size_t bytesAllocatedProcess );
1318 
1344  struct SCOREP_Location* location,
1345  uint64_t timestamp,
1346  uint64_t oldAddr,
1347  size_t oldBytesAllocated,
1348  void* oldSubstrateData[],
1349  uint64_t newAddr,
1350  size_t newBytesAllocated,
1351  void* newSubstrateData[],
1352  size_t bytesAllocatedMetric,
1353  size_t bytesAllocatedProcess );
1354 
1374  struct SCOREP_Location* location,
1375  uint64_t timestamp,
1376  uint64_t addrFreed,
1377  size_t bytesFreed,
1378  void* substrateData[],
1379  size_t bytesAllocatedMetric,
1380  size_t bytesAllocatedProcess );
1381 
1382 
1400  struct SCOREP_Location* location,
1401  uint64_t timestamp,
1402  SCOREP_SamplingSetHandle samplingSet,
1403  const uint64_t* metricValues );
1404 
1405 typedef void ( * SCOREP_Substrates_AddTuningActionCb )(
1406  uint32_t regionId,
1407  uint8_t kind,
1408  char* actionName,
1409  int value );
1410 
1411 typedef void ( * SCOREP_Substrates_GenericCommandCb )(
1412  const char* command,
1413  size_t bytes );
1414 
1415 #endif /* SCOREP_SUBSTRATE_EVENTS_H */
Definition: SCOREP_SubstrateEvents.h:110
SCOREP_AnyHandle SCOREP_SamplingSetHandle
Definition: SCOREP_PublicTypes.h:109
struct SCOREP_Task * SCOREP_TaskHandle
Definition: SCOREP_PublicTypes.h:145
Defines public definitions that are used internally and externally (e.g., by metric plugins...
void(* SCOREP_Substrates_ThreadAcquireLockCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, uint32_t lockId, uint32_t acquisitionOrder)
Definition: SCOREP_SubstrateEvents.h:964
Definition: SCOREP_SubstrateEvents.h:115
Definition: SCOREP_SubstrateEvents.h:120
Definition: SCOREP_SubstrateEvents.h:78
Definition: SCOREP_SubstrateEvents.h:89
Definition: SCOREP_SubstrateEvents.h:127
Definition: SCOREP_SubstrateEvents.h:117
Definition: SCOREP_SubstrateEvents.h:135
void(* SCOREP_Substrates_MpiSendCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRank destinationRank, SCOREP_InterimCommunicatorHandle communicatorHandle, uint32_t tag, uint64_t bytesSent)
Definition: SCOREP_SubstrateEvents.h:359
Definition: SCOREP_SubstrateEvents.h:81
Definition: SCOREP_SubstrateEvents.h:60
void(* SCOREP_Substrates_RmaCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp)
Definition: SCOREP_SubstrateEvents.h:591
Definition: SCOREP_SubstrateEvents.h:97
Definition: SCOREP_SubstrateEvents.h:112
SCOREP_CollectiveType
Types to specify the used collectives in calls to SCOREP_MpiCollectiveBegin and SCOREP_RmaCollectiveB...
Definition: SCOREP_PublicTypes.h:151
Definition: SCOREP_SubstrateEvents.h:79
void(* SCOREP_Substrates_MpiRequestCancelledCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:493
void(* SCOREP_Substrates_Callback)(void)
Definition: SCOREP_SubstrateEvents.h:46
Definition: SCOREP_SubstrateEvents.h:104
void(* SCOREP_Substrates_RmaCollectiveEndCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_CollectiveType collectiveOp, SCOREP_RmaSyncLevel syncLevel, SCOREP_RmaWindowHandle windowHandle, uint32_t root, uint64_t bytesSent, uint64_t bytesReceived)
Definition: SCOREP_SubstrateEvents.h:615
Definition: SCOREP_SubstrateEvents.h:92
Definition: SCOREP_SubstrateEvents.h:129
void(* SCOREP_Substrates_MpiIrecvRequestCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:461
Definition: SCOREP_SubstrateEvents.h:84
SCOREP_RmaSyncType
Type of direct RMA synchronization call.
Definition: SCOREP_PublicTypes.h:470
Definition: SCOREP_SubstrateEvents.h:71
void(* SCOREP_Substrates_ThreadForkJoinTeamBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam)
Definition: SCOREP_SubstrateEvents.h:1114
void(* SCOREP_Substrates_RmaOpCompleteRemoteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:940
void(* SCOREP_Substrates_RmaTryLockCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, uint64_t lockId, SCOREP_LockType lockType)
Definition: SCOREP_SubstrateEvents.h:646
int SCOREP_MpiRank
Definition: SCOREP_PublicTypes.h:219
Definition: SCOREP_SubstrateEvents.h:124
void(* SCOREP_Substrates_RmaPutCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, uint64_t bytes, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:797
Definition: SCOREP_SubstrateEvents.h:103
SCOREP_RmaSyncLevel
specifies a RMA synchronization level, used by RMA records to be passed to SCOREP_Rma*() functions...
Definition: SCOREP_PublicTypes.h:497
Definition: SCOREP_SubstrateEvents.h:119
Definition: SCOREP_SubstrateEvents.h:93
void(* SCOREP_Substrates_RmaSyncCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, SCOREP_RmaSyncType syncType)
Definition: SCOREP_SubstrateEvents.h:745
SCOREP_ParadigmType
defines paradigms that are be monitored
Definition: SCOREP_PublicTypes.h:309
void(* SCOREP_Substrates_ThreadCreateWaitCreateCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam, uint32_t createSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1262
void(* SCOREP_Substrates_RmaGroupSyncCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaSyncLevel syncLevel, SCOREP_RmaWindowHandle windowHandle, SCOREP_GroupHandle groupHandle)
Definition: SCOREP_SubstrateEvents.h:767
SCOREP_LockType
Definition: SCOREP_PublicTypes.h:203
void(* SCOREP_Substrates_RmaReleaseLockCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, uint64_t lockId)
Definition: SCOREP_SubstrateEvents.h:723
void(* SCOREP_Substrates_TriggerParameterStringCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, SCOREP_StringHandle string_handle)
Definition: SCOREP_SubstrateEvents.h:1055
Definition: SCOREP_SubstrateEvents.h:87
Definition: SCOREP_SubstrateEvents.h:90
void(* SCOREP_Substrates_RmaAcquireLockCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, uint64_t lockId, SCOREP_LockType lockType)
Definition: SCOREP_SubstrateEvents.h:671
void(* SCOREP_Substrates_EnableRecordingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:156
void(* SCOREP_Substrates_TriggerCounterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_SamplingSetHandle counterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:995
void(* SCOREP_Substrates_MpiIrecvCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRank sourceRank, SCOREP_InterimCommunicatorHandle communicatorHandle, uint32_t tag, uint64_t bytesReceived, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:543
void(* SCOREP_Substrates_SampleCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_CallingContextHandle callingContext, SCOREP_CallingContextHandle previousCallingContext, uint32_t unwindDistance, SCOREP_InterruptGeneratorHandle interruptGeneratorHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:255
Definition: SCOREP_SubstrateEvents.h:57
SCOREP_Substrates_Mode
Definition: SCOREP_SubstrateEvents.h:55
void(* SCOREP_Substrates_MpiCollectiveEndCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_InterimCommunicatorHandle communicatorHandle, SCOREP_MpiRank rootRank, SCOREP_CollectiveType collectiveType, uint64_t bytesSent, uint64_t bytesReceived)
Definition: SCOREP_SubstrateEvents.h:425
Definition: SCOREP_SubstrateEvents.h:126
Definition: SCOREP_SubstrateEvents.h:125
Description of definition handles. This header defines an enumeration to map SCOREP_AnyHandle to spec...
void(* SCOREP_Substrates_EnterRewindRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle)
Definition: SCOREP_SubstrateEvents.h:316
void(* SCOREP_Substrates_RmaWinDestroyCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:577
void(* SCOREP_Substrates_ExitRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:227
SCOREP_Substrates_EventType
Substrate events. Lists every event that is going to be used by the substrate mechanism. More details can be found in the respective functions.
Definition: SCOREP_SubstrateEvents.h:67
void(* SCOREP_Substrates_ExitRewindRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, bool doRewind)
Definition: SCOREP_SubstrateEvents.h:335
void(* SCOREP_Substrates_MpiIsendCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRank destinationRank, SCOREP_InterimCommunicatorHandle communicatorHandle, uint32_t tag, uint64_t bytesSent, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:516
void(* SCOREP_Substrates_MpiCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp)
Definition: SCOREP_SubstrateEvents.h:402
Definition: SCOREP_SubstrateEvents.h:91
Definition: SCOREP_SubstrateEvents.h:131
Types used by metric service.
Definition: SCOREP_SubstrateEvents.h:99
Definition: SCOREP_SubstrateEvents.h:88
void(* SCOREP_Substrates_OnTracingBufferFlushEndCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:197
void(* SCOREP_Substrates_ThreadForkJoinTaskCreateCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam, uint32_t threadId, uint32_t generationNumber)
Definition: SCOREP_SubstrateEvents.h:1151
void(* SCOREP_Substrates_OnTracingBufferFlushBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:187
void(* SCOREP_Substrates_RmaAtomicCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, SCOREP_RmaAtomicType type, uint64_t bytesSent, uint64_t bytesReceived, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:841
void(* SCOREP_Substrates_ThreadForkJoinForkCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, uint32_t nRequestedThreads, uint32_t forkSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1079
Definition: SCOREP_SubstrateEvents.h:70
void(* SCOREP_Substrates_CallingContextExitCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_CallingContextHandle callingContext, SCOREP_CallingContextHandle previousCallingContext, uint32_t unwindDistance, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:296
Definition: SCOREP_SubstrateEvents.h:108
Definition: SCOREP_SubstrateEvents.h:121
Definition: SCOREP_SubstrateEvents.h:109
void(* SCOREP_Substrates_ThreadForkJoinJoinCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm)
Definition: SCOREP_SubstrateEvents.h:1096
Definition: SCOREP_SubstrateEvents.h:86
Definition: SCOREP_SubstrateEvents.h:130
Definition: SCOREP_SubstrateEvents.h:95
Definition: SCOREP_SubstrateEvents.h:82
Definition: SCOREP_SubstrateEvents.h:118
Definition: SCOREP_SubstrateEvents.h:113
void(* SCOREP_Substrates_RmaWaitChangeCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:863
void(* SCOREP_Substrates_TrackReallocCb)(struct SCOREP_Location *location, uint64_t timestamp, uint64_t oldAddr, size_t oldBytesAllocated, void *oldSubstrateData[], uint64_t newAddr, size_t newBytesAllocated, void *newSubstrateData[], size_t bytesAllocatedMetric, size_t bytesAllocatedProcess)
Definition: SCOREP_SubstrateEvents.h:1343
SCOREP_RmaAtomicType
specifies a RMA Atomic Operation Type.
Definition: SCOREP_PublicTypes.h:534
Definition: SCOREP_SubstrateEvents.h:98
Definition: SCOREP_SubstrateEvents.h:80
Definition: SCOREP_SubstrateEvents.h:101
Definition: SCOREP_SubstrateEvents.h:85
void(* SCOREP_Substrates_DisableRecordingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:170
Definition: SCOREP_SubstrateEvents.h:96
Definition: SCOREP_SubstrateEvents.h:74
Definition: SCOREP_SubstrateEvents.h:69
Definition: SCOREP_SubstrateEvents.h:106
uint64_t SCOREP_MpiRequestId
Definition: SCOREP_PublicTypes.h:225
Definition: SCOREP_SubstrateEvents.h:107
Definition: SCOREP_SubstrateEvents.h:122
void(* SCOREP_Substrates_MpiRecvCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRank sourceRank, SCOREP_InterimCommunicatorHandle communicatorHandle, uint32_t tag, uint64_t bytesReceived)
Definition: SCOREP_SubstrateEvents.h:385
Definition: SCOREP_SubstrateEvents.h:123
Definition: SCOREP_SubstrateEvents.h:114
void(* SCOREP_Substrates_RmaWinCreateCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:562
void(* SCOREP_Substrates_TrackAllocCb)(struct SCOREP_Location *location, uint64_t timestamp, uint64_t addrAllocated, size_t bytesAllocated, void *substrateData[], size_t bytesAllocatedMetric, size_t bytesAllocatedProcess)
Definition: SCOREP_SubstrateEvents.h:1310
Definition: SCOREP_SubstrateEvents.h:73
void(* SCOREP_Substrates_ThreadForkJoinTaskSwitchCb)(struct SCOREP_Location *location, uint64_t timestamp, uint64_t *metricValues, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam, uint32_t threadId, uint32_t generationNumber, SCOREP_TaskHandle taskHandle)
Definition: SCOREP_SubstrateEvents.h:1184
Definition: SCOREP_SubstrateEvents.h:100
Definition: SCOREP_SubstrateEvents.h:105
Definition: SCOREP_SubstrateEvents.h:94
void(* SCOREP_Substrates_WriteMetricsCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_SamplingSetHandle samplingSet, const uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:1399
Definition: SCOREP_SubstrateEvents.h:76
void(* SCOREP_Substrates_MpiIsendCompleteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:445
Definition: SCOREP_SubstrateEvents.h:102
Definition: SCOREP_SubstrateEvents.h:116
Definition: SCOREP_SubstrateEvents.h:58
Definition: SCOREP_SubstrateEvents.h:128
Definition: SCOREP_SubstrateEvents.h:77
void(* SCOREP_Substrates_RmaOpTestCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:917
SCOREP_AnyHandle SCOREP_RegionHandle
Definition: SCOREP_PublicTypes.h:121
Definition: SCOREP_SubstrateEvents.h:83
void(* SCOREP_Substrates_CallingContextEnterCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_CallingContextHandle callingContext, SCOREP_CallingContextHandle previousCallingContext, uint32_t unwindDistance, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:282
void(* SCOREP_Substrates_ThreadForkJoinTaskBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam, uint32_t threadId, uint32_t generationNumber, SCOREP_TaskHandle taskHandle)
Definition: SCOREP_SubstrateEvents.h:1221
void(* SCOREP_Substrates_MpiRequestTestedCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:477
Definition: SCOREP_SubstrateEvents.h:75
Definition: SCOREP_SubstrateEvents.h:111
void(* SCOREP_Substrates_EnterRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:216
void(* SCOREP_Substrates_RmaRequestLockCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, uint64_t lockId, SCOREP_LockType lockType)
Definition: SCOREP_SubstrateEvents.h:698
void(* SCOREP_Substrates_TriggerParameterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:1029
Definition: SCOREP_SubstrateEvents.h:72
void(* SCOREP_Substrates_RmaOpCompleteBlockingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:888
void(* SCOREP_Substrates_TrackFreeCb)(struct SCOREP_Location *location, uint64_t timestamp, uint64_t addrFreed, size_t bytesFreed, void *substrateData[], size_t bytesAllocatedMetric, size_t bytesAllocatedProcess)
Definition: SCOREP_SubstrateEvents.h:1373