5.0-rc1 (revision 14071)
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 
69 {
138 
139 
158  struct SCOREP_Location* location,
159  uint64_t timestamp,
160  SCOREP_RegionHandle regionHandle,
161  uint64_t* metricValues );
162 
172  struct SCOREP_Location* location,
173  uint64_t timestamp,
174  SCOREP_RegionHandle regionHandle,
175  uint64_t* metricValues );
176 
189  struct SCOREP_Location* location,
190  uint64_t timestamp,
191  SCOREP_RegionHandle regionHandle,
192  uint64_t* metricValues );
193 
199  struct SCOREP_Location* location,
200  uint64_t timestamp,
201  SCOREP_RegionHandle regionHandle,
202  uint64_t* metricValues );
203 
204 typedef void ( * SCOREP_Substrates_ProgramBeginCb )(
205  struct SCOREP_Location* location,
206  uint64_t timestamp,
207  SCOREP_StringHandle programName,
208  uint32_t numberOfProgramArgs,
209  SCOREP_StringHandle* programArguments,
210  SCOREP_RegionHandle programRegionHandle );
211 
212 typedef void ( * SCOREP_Substrates_ProgramEndCb )(
213  struct SCOREP_Location* location,
214  uint64_t timestamp,
215  SCOREP_ExitStatus exitStatus,
216  SCOREP_RegionHandle programRegionHandle );
217 
232  struct SCOREP_Location* location,
233  uint64_t timestamp,
234  SCOREP_RegionHandle regionHandle,
235  uint64_t* metricValues );
236 
243  struct SCOREP_Location* location,
244  uint64_t timestamp,
245  SCOREP_RegionHandle regionHandle,
246  uint64_t* metricValues );
247 
270 typedef void ( * SCOREP_Substrates_SampleCb )(
271  struct SCOREP_Location* location,
272  uint64_t timestamp,
273  SCOREP_CallingContextHandle callingContext,
274  SCOREP_CallingContextHandle previousCallingContext,
275  uint32_t unwindDistance,
276  SCOREP_InterruptGeneratorHandle interruptGeneratorHandle,
277  uint64_t* metricValues );
278 
298  struct SCOREP_Location* location,
299  uint64_t timestamp,
300  SCOREP_CallingContextHandle callingContext,
301  SCOREP_CallingContextHandle previousCallingContext,
302  uint32_t unwindDistance,
303  uint64_t* metricValues );
304 
312  struct SCOREP_Location* location,
313  uint64_t timestamp,
314  SCOREP_CallingContextHandle callingContext,
315  SCOREP_CallingContextHandle previousCallingContext,
316  uint32_t unwindDistance,
317  uint64_t* metricValues );
318 
332  struct SCOREP_Location* location,
333  uint64_t timestamp,
334  SCOREP_RegionHandle regionHandle );
335 
351  struct SCOREP_Location* location,
352  uint64_t timestamp,
353  SCOREP_RegionHandle regionHandle,
354  bool doRewind );
355 
374 typedef void ( * SCOREP_Substrates_MpiSendCb )(
375  struct SCOREP_Location* location,
376  uint64_t timestamp,
377  SCOREP_MpiRank destinationRank,
378  SCOREP_InterimCommunicatorHandle communicatorHandle,
379  uint32_t tag,
380  uint64_t bytesSent );
381 
400 typedef void ( * SCOREP_Substrates_MpiRecvCb )(
401  struct SCOREP_Location* location,
402  uint64_t timestamp,
403  SCOREP_MpiRank sourceRank,
404  SCOREP_InterimCommunicatorHandle communicatorHandle,
405  uint32_t tag,
406  uint64_t bytesReceived );
407 
418  struct SCOREP_Location* location,
419  uint64_t timestamp );
420 
421 
441  struct SCOREP_Location* location,
442  uint64_t timestamp,
443  SCOREP_InterimCommunicatorHandle communicatorHandle,
444  SCOREP_MpiRank rootRank,
445  SCOREP_CollectiveType collectiveType,
446  uint64_t bytesSent,
447  uint64_t bytesReceived );
448 
461  struct SCOREP_Location* location,
462  uint64_t timestamp,
463  SCOREP_MpiRequestId requestId );
464 
477  struct SCOREP_Location* location,
478  uint64_t timestamp,
479  SCOREP_MpiRequestId requestId );
480 
493  struct SCOREP_Location* location,
494  uint64_t timestamp,
495  SCOREP_MpiRequestId requestId );
496 
509  struct SCOREP_Location* location,
510  uint64_t timestamp,
511  SCOREP_MpiRequestId requestId );
512 
531 typedef void ( * SCOREP_Substrates_MpiIsendCb )(
532  struct SCOREP_Location* location,
533  uint64_t timestamp,
534  SCOREP_MpiRank destinationRank,
535  SCOREP_InterimCommunicatorHandle communicatorHandle,
536  uint32_t tag,
537  uint64_t bytesSent,
538  SCOREP_MpiRequestId requestId );
539 
558 typedef void ( * SCOREP_Substrates_MpiIrecvCb )(
559  struct SCOREP_Location* location,
560  uint64_t timestamp,
561  SCOREP_MpiRank sourceRank,
562  SCOREP_InterimCommunicatorHandle communicatorHandle,
563  uint32_t tag,
564  uint64_t bytesReceived,
565  SCOREP_MpiRequestId requestId );
566 
578  struct SCOREP_Location* location,
579  uint64_t timestamp,
580  SCOREP_RmaWindowHandle windowHandle );
581 
593  struct SCOREP_Location* location,
594  uint64_t timestamp,
595  SCOREP_RmaWindowHandle windowHandle );
596 
607  struct SCOREP_Location* location,
608  uint64_t timestamp );
609 
631  struct SCOREP_Location* location,
632  uint64_t timestamp,
633  SCOREP_CollectiveType collectiveOp,
634  SCOREP_RmaSyncLevel syncLevel,
635  SCOREP_RmaWindowHandle windowHandle,
636  uint32_t root,
637  uint64_t bytesSent,
638  uint64_t bytesReceived );
639 
662  struct SCOREP_Location* location,
663  uint64_t timestamp,
664  SCOREP_RmaWindowHandle windowHandle,
665  uint32_t remote,
666  uint64_t lockId,
667  SCOREP_LockType lockType );
668 
687  struct SCOREP_Location* location,
688  uint64_t timestamp,
689  SCOREP_RmaWindowHandle windowHandle,
690  uint32_t remote,
691  uint64_t lockId,
692  SCOREP_LockType lockType );
693 
694 
714  struct SCOREP_Location* location,
715  uint64_t timestamp,
716  SCOREP_RmaWindowHandle windowHandle,
717  uint32_t remote,
718  uint64_t lockId,
719  SCOREP_LockType lockType );
720 
721 
739  struct SCOREP_Location* location,
740  uint64_t timestamp,
741  SCOREP_RmaWindowHandle windowHandle,
742  uint32_t remote,
743  uint64_t lockId );
744 
760 typedef void ( * SCOREP_Substrates_RmaSyncCb )(
761  struct SCOREP_Location* location,
762  uint64_t timestamp,
763  SCOREP_RmaWindowHandle windowHandle,
764  uint32_t remote,
765  SCOREP_RmaSyncType syncType );
766 
783  struct SCOREP_Location* location,
784  uint64_t timestamp,
785  SCOREP_RmaSyncLevel syncLevel,
786  SCOREP_RmaWindowHandle windowHandle,
787  SCOREP_GroupHandle groupHandle );
788 
812 typedef void ( * SCOREP_Substrates_RmaPutCb )(
813  struct SCOREP_Location* location,
814  uint64_t timestamp,
815  SCOREP_RmaWindowHandle windowHandle,
816  uint32_t remote,
817  uint64_t bytes,
818  uint64_t matchingId );
819 
820 typedef void ( * SCOREP_Substrates_RmaGetCb )(
821  struct SCOREP_Location* location,
822  uint64_t timestamp,
823  SCOREP_RmaWindowHandle windowHandle,
824  uint32_t remote,
825  uint64_t bytes,
826  uint64_t matchingId );
827 
856 typedef void ( * SCOREP_Substrates_RmaAtomicCb )(
857  struct SCOREP_Location* location,
858  uint64_t timestamp,
859  SCOREP_RmaWindowHandle windowHandle,
860  uint32_t remote,
862  uint64_t bytesSent,
863  uint64_t bytesReceived,
864  uint64_t matchingId );
865 
879  struct SCOREP_Location* location,
880  uint64_t timestamp,
881  SCOREP_RmaWindowHandle windowHandle );
882 
904  struct SCOREP_Location* location,
905  uint64_t timestamp,
906  SCOREP_RmaWindowHandle windowHandle,
907  uint64_t matchingId );
908 
909 typedef void ( * SCOREP_Substrates_RmaOpCompleteNonBlockingCb )(
910  struct SCOREP_Location* location,
911  uint64_t timestamp,
912  SCOREP_RmaWindowHandle windowHandle,
913  uint64_t matchingId );
914 
932 typedef void ( * SCOREP_Substrates_RmaOpTestCb )(
933  struct SCOREP_Location* location,
934  uint64_t timestamp,
935  SCOREP_RmaWindowHandle windowHandle,
936  uint64_t matchingId );
937 
938 
956  struct SCOREP_Location* location,
957  uint64_t timestamp,
958  SCOREP_RmaWindowHandle windowHandle,
959  uint64_t matchingId );
960 
961 
980  struct SCOREP_Location* location,
981  uint64_t timestamp,
982  SCOREP_ParadigmType paradigm,
983  uint32_t lockId,
984  uint32_t acquisitionOrder );
985 
986 
987 typedef void ( * SCOREP_Substrates_ThreadReleaseLockCb )(
988  struct SCOREP_Location* location,
989  uint64_t timestamp,
990  SCOREP_ParadigmType paradigm,
991  uint32_t lockId,
992  uint32_t acquisitionOrder );
993 
1011  struct SCOREP_Location* location,
1012  uint64_t timestamp,
1013  SCOREP_SamplingSetHandle counterHandle,
1014  int64_t value );
1015 
1016 typedef void ( * SCOREP_Substrates_TriggerCounterUint64Cb )(
1017  struct SCOREP_Location* location,
1018  uint64_t timestamp,
1019  SCOREP_SamplingSetHandle counterHandle,
1020  uint64_t value );
1021 
1022 typedef void ( * SCOREP_Substrates_TriggerCounterDoubleCb )(
1023  struct SCOREP_Location* location,
1024  uint64_t timestamp,
1025  SCOREP_SamplingSetHandle counterHandle,
1026  double value );
1045  struct SCOREP_Location* location,
1046  uint64_t timestamp,
1047  SCOREP_ParameterHandle parameterHandle,
1048  int64_t value );
1049 
1050 typedef void ( * SCOREP_Substrates_TriggerParameterUint64Cb )(
1051  struct SCOREP_Location* location,
1052  uint64_t timestamp,
1053  SCOREP_ParameterHandle parameterHandle,
1054  uint64_t value );
1071  struct SCOREP_Location* location,
1072  uint64_t timestamp,
1073  SCOREP_ParameterHandle parameterHandle,
1074  SCOREP_StringHandle string_handle );
1075 
1095  struct SCOREP_Location* location,
1096  uint64_t timestamp,
1097  SCOREP_ParadigmType paradigm,
1098  uint32_t nRequestedThreads,
1099  uint32_t forkSequenceCount );
1100 
1112  struct SCOREP_Location* location,
1113  uint64_t timestamp,
1114  SCOREP_ParadigmType paradigm );
1115 
1130  struct SCOREP_Location* location,
1131  uint64_t timestamp,
1132  SCOREP_ParadigmType paradigm,
1133  SCOREP_InterimCommunicatorHandle threadTeam );
1134 
1135 typedef void ( * SCOREP_Substrates_ThreadForkJoinTeamEndCb )(
1136  struct SCOREP_Location* location,
1137  uint64_t timestamp,
1138  SCOREP_ParadigmType paradigm,
1139  SCOREP_InterimCommunicatorHandle threadTeam );
1140 
1167  struct SCOREP_Location* location,
1168  uint64_t timestamp,
1169  SCOREP_ParadigmType paradigm,
1170  SCOREP_InterimCommunicatorHandle threadTeam,
1171  uint32_t threadId,
1172  uint32_t generationNumber );
1173 
1200  struct SCOREP_Location* location,
1201  uint64_t timestamp,
1202  uint64_t* metricValues,
1203  SCOREP_ParadigmType paradigm,
1204  SCOREP_InterimCommunicatorHandle threadTeam,
1205  uint32_t threadId,
1206  uint32_t generationNumber,
1207  SCOREP_TaskHandle taskHandle );
1208 
1237  struct SCOREP_Location* location,
1238  uint64_t timestamp,
1239  SCOREP_RegionHandle regionHandle,
1240  uint64_t* metricValues,
1241  SCOREP_ParadigmType paradigm,
1242  SCOREP_InterimCommunicatorHandle threadTeam,
1243  uint32_t threadId,
1244  uint32_t generationNumber,
1245  SCOREP_TaskHandle taskHandle );
1246 
1247 typedef void ( * SCOREP_Substrates_ThreadForkJoinTaskEndCb )(
1248  struct SCOREP_Location* location,
1249  uint64_t timestamp,
1250  SCOREP_RegionHandle regionHandle,
1251  uint64_t* metricValues,
1252  SCOREP_ParadigmType paradigm,
1253  SCOREP_InterimCommunicatorHandle threadTeam,
1254  uint32_t threadId,
1255  uint32_t generationNumber,
1256  SCOREP_TaskHandle taskHandle );
1257 
1278  struct SCOREP_Location* location,
1279  uint64_t timestamp,
1280  SCOREP_ParadigmType paradigm,
1281  SCOREP_InterimCommunicatorHandle threadTeam,
1282  uint32_t createSequenceCount );
1283 
1284 typedef void ( * SCOREP_Substrates_ThreadCreateWaitWaitCb )(
1285  struct SCOREP_Location* location,
1286  uint64_t timestamp,
1287  SCOREP_ParadigmType paradigm,
1288  SCOREP_InterimCommunicatorHandle threadTeam,
1289  uint32_t createSequenceCount );
1290 
1291 typedef void ( * SCOREP_Substrates_ThreadCreateWaitBeginCb )(
1292  struct SCOREP_Location* location,
1293  uint64_t timestamp,
1294  SCOREP_ParadigmType paradigm,
1295  SCOREP_InterimCommunicatorHandle threadTeam,
1296  uint32_t createSequenceCount );
1297 
1298 typedef void ( * SCOREP_Substrates_ThreadCreateWaitEndCb )(
1299  struct SCOREP_Location* location,
1300  uint64_t timestamp,
1301  SCOREP_ParadigmType paradigm,
1302  SCOREP_InterimCommunicatorHandle threadTeam,
1303  uint32_t createSequenceCount );
1304 
1326  struct SCOREP_Location* location,
1327  uint64_t timestamp,
1328  uint64_t addrAllocated,
1329  size_t bytesAllocated,
1330  void* substrateData[],
1331  size_t bytesAllocatedMetric,
1332  size_t bytesAllocatedProcess );
1333 
1359  struct SCOREP_Location* location,
1360  uint64_t timestamp,
1361  uint64_t oldAddr,
1362  size_t oldBytesAllocated,
1363  void* oldSubstrateData[],
1364  uint64_t newAddr,
1365  size_t newBytesAllocated,
1366  void* newSubstrateData[],
1367  size_t bytesAllocatedMetric,
1368  size_t bytesAllocatedProcess );
1369 
1389  struct SCOREP_Location* location,
1390  uint64_t timestamp,
1391  uint64_t addrFreed,
1392  size_t bytesFreed,
1393  void* substrateData[],
1394  size_t bytesAllocatedMetric,
1395  size_t bytesAllocatedProcess );
1396 
1397 
1415  struct SCOREP_Location* location,
1416  uint64_t timestamp,
1417  SCOREP_SamplingSetHandle samplingSet,
1418  const uint64_t* metricValues );
1419 
1420 #endif /* SCOREP_SUBSTRATE_EVENTS_H */
Definition: SCOREP_SubstrateEvents.h:111
SCOREP_AnyHandle SCOREP_SamplingSetHandle
Definition: SCOREP_PublicTypes.h:123
struct SCOREP_Task * SCOREP_TaskHandle
Definition: SCOREP_PublicTypes.h:159
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:979
Definition: SCOREP_SubstrateEvents.h:116
Definition: SCOREP_SubstrateEvents.h:121
Definition: SCOREP_SubstrateEvents.h:79
Definition: SCOREP_SubstrateEvents.h:134
Definition: SCOREP_SubstrateEvents.h:90
Definition: SCOREP_SubstrateEvents.h:128
Definition: SCOREP_SubstrateEvents.h:118
Definition: SCOREP_SubstrateEvents.h:136
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:374
Definition: SCOREP_SubstrateEvents.h:82
Definition: SCOREP_SubstrateEvents.h:60
void(* SCOREP_Substrates_RmaCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp)
Definition: SCOREP_SubstrateEvents.h:606
Definition: SCOREP_SubstrateEvents.h:98
Definition: SCOREP_SubstrateEvents.h:113
SCOREP_CollectiveType
Types to specify the used collectives in calls to SCOREP_MpiCollectiveBegin and SCOREP_RmaCollectiveB...
Definition: SCOREP_PublicTypes.h:165
Definition: SCOREP_SubstrateEvents.h:80
void(* SCOREP_Substrates_MpiRequestCancelledCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:508
void(* SCOREP_Substrates_Callback)(void)
Definition: SCOREP_SubstrateEvents.h:46
Definition: SCOREP_SubstrateEvents.h:105
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:630
Definition: SCOREP_SubstrateEvents.h:93
Definition: SCOREP_SubstrateEvents.h:130
void(* SCOREP_Substrates_MpiIrecvRequestCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:476
Definition: SCOREP_SubstrateEvents.h:85
SCOREP_RmaSyncType
Type of direct RMA synchronization call.
Definition: SCOREP_PublicTypes.h:486
Definition: SCOREP_SubstrateEvents.h:72
void(* SCOREP_Substrates_ThreadForkJoinTeamBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam)
Definition: SCOREP_SubstrateEvents.h:1129
void(* SCOREP_Substrates_RmaOpCompleteRemoteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:955
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:661
int SCOREP_MpiRank
Definition: SCOREP_PublicTypes.h:233
Definition: SCOREP_SubstrateEvents.h:125
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:812
Definition: SCOREP_SubstrateEvents.h:104
SCOREP_RmaSyncLevel
specifies a RMA synchronization level, used by RMA records to be passed to SCOREP_Rma*() functions...
Definition: SCOREP_PublicTypes.h:513
Definition: SCOREP_SubstrateEvents.h:120
Definition: SCOREP_SubstrateEvents.h:94
void(* SCOREP_Substrates_RmaSyncCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, SCOREP_RmaSyncType syncType)
Definition: SCOREP_SubstrateEvents.h:760
SCOREP_ParadigmType
defines paradigms that are be monitored
Definition: SCOREP_PublicTypes.h:325
void(* SCOREP_Substrates_ThreadCreateWaitCreateCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam, uint32_t createSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1277
void(* SCOREP_Substrates_RmaGroupSyncCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaSyncLevel syncLevel, SCOREP_RmaWindowHandle windowHandle, SCOREP_GroupHandle groupHandle)
Definition: SCOREP_SubstrateEvents.h:782
SCOREP_LockType
Definition: SCOREP_PublicTypes.h:217
void(* SCOREP_Substrates_RmaReleaseLockCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, uint64_t lockId)
Definition: SCOREP_SubstrateEvents.h:738
void(* SCOREP_Substrates_TriggerParameterStringCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, SCOREP_StringHandle string_handle)
Definition: SCOREP_SubstrateEvents.h:1070
Definition: SCOREP_SubstrateEvents.h:88
Definition: SCOREP_SubstrateEvents.h:91
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:686
void(* SCOREP_Substrates_EnableRecordingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:157
void(* SCOREP_Substrates_TriggerCounterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_SamplingSetHandle counterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:1010
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:558
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:270
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:440
Definition: SCOREP_SubstrateEvents.h:127
Definition: SCOREP_SubstrateEvents.h:126
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:331
void(* SCOREP_Substrates_RmaWinDestroyCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:592
void(* SCOREP_Substrates_ExitRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:242
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. To maintain API stability, new events need to be added at the end of the enum.
Definition: SCOREP_SubstrateEvents.h:68
void(* SCOREP_Substrates_ExitRewindRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, bool doRewind)
Definition: SCOREP_SubstrateEvents.h:350
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:531
void(* SCOREP_Substrates_MpiCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp)
Definition: SCOREP_SubstrateEvents.h:417
Definition: SCOREP_SubstrateEvents.h:92
Definition: SCOREP_SubstrateEvents.h:132
Types used by metric service.
Definition: SCOREP_SubstrateEvents.h:100
Definition: SCOREP_SubstrateEvents.h:89
void(* SCOREP_Substrates_OnTracingBufferFlushEndCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:198
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:1166
void(* SCOREP_Substrates_OnTracingBufferFlushBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:188
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:856
void(* SCOREP_Substrates_ThreadForkJoinForkCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, uint32_t nRequestedThreads, uint32_t forkSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1094
Definition: SCOREP_SubstrateEvents.h:71
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:311
Definition: SCOREP_SubstrateEvents.h:109
Definition: SCOREP_SubstrateEvents.h:122
Definition: SCOREP_SubstrateEvents.h:110
void(* SCOREP_Substrates_ThreadForkJoinJoinCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm)
Definition: SCOREP_SubstrateEvents.h:1111
Definition: SCOREP_SubstrateEvents.h:87
Definition: SCOREP_SubstrateEvents.h:131
Definition: SCOREP_SubstrateEvents.h:96
Definition: SCOREP_SubstrateEvents.h:83
Definition: SCOREP_SubstrateEvents.h:119
Definition: SCOREP_SubstrateEvents.h:114
void(* SCOREP_Substrates_RmaWaitChangeCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:878
Definition: SCOREP_SubstrateEvents.h:133
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:1358
SCOREP_RmaAtomicType
specifies a RMA Atomic Operation Type.
Definition: SCOREP_PublicTypes.h:550
Definition: SCOREP_SubstrateEvents.h:99
Definition: SCOREP_SubstrateEvents.h:81
Definition: SCOREP_SubstrateEvents.h:102
Definition: SCOREP_SubstrateEvents.h:86
void(* SCOREP_Substrates_DisableRecordingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:171
Definition: SCOREP_SubstrateEvents.h:97
Definition: SCOREP_SubstrateEvents.h:75
Definition: SCOREP_SubstrateEvents.h:70
Definition: SCOREP_SubstrateEvents.h:107
uint64_t SCOREP_MpiRequestId
Definition: SCOREP_PublicTypes.h:239
Definition: SCOREP_SubstrateEvents.h:108
Definition: SCOREP_SubstrateEvents.h:123
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:400
Definition: SCOREP_SubstrateEvents.h:124
Definition: SCOREP_SubstrateEvents.h:115
void(* SCOREP_Substrates_RmaWinCreateCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:577
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:1325
Definition: SCOREP_SubstrateEvents.h:74
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:1199
Definition: SCOREP_SubstrateEvents.h:101
Definition: SCOREP_SubstrateEvents.h:106
Definition: SCOREP_SubstrateEvents.h:95
void(* SCOREP_Substrates_WriteMetricsCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_SamplingSetHandle samplingSet, const uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:1414
Definition: SCOREP_SubstrateEvents.h:77
void(* SCOREP_Substrates_MpiIsendCompleteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:460
Definition: SCOREP_SubstrateEvents.h:103
Definition: SCOREP_SubstrateEvents.h:117
Definition: SCOREP_SubstrateEvents.h:58
Definition: SCOREP_SubstrateEvents.h:129
int64_t SCOREP_ExitStatus
Definition: SCOREP_PublicTypes.h:51
Definition: SCOREP_SubstrateEvents.h:78
void(* SCOREP_Substrates_RmaOpTestCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:932
SCOREP_AnyHandle SCOREP_RegionHandle
Definition: SCOREP_PublicTypes.h:135
Definition: SCOREP_SubstrateEvents.h:84
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:297
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:1236
void(* SCOREP_Substrates_MpiRequestTestedCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:492
Definition: SCOREP_SubstrateEvents.h:76
Definition: SCOREP_SubstrateEvents.h:112
void(* SCOREP_Substrates_EnterRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:231
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:713
void(* SCOREP_Substrates_TriggerParameterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:1044
Definition: SCOREP_SubstrateEvents.h:73
void(* SCOREP_Substrates_RmaOpCompleteBlockingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:903
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:1388