4.1 (revision 13848)
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 {
135 
136 
155  struct SCOREP_Location* location,
156  uint64_t timestamp,
157  SCOREP_RegionHandle regionHandle,
158  uint64_t* metricValues );
159 
169  struct SCOREP_Location* location,
170  uint64_t timestamp,
171  SCOREP_RegionHandle regionHandle,
172  uint64_t* metricValues );
173 
186  struct SCOREP_Location* location,
187  uint64_t timestamp,
188  SCOREP_RegionHandle regionHandle,
189  uint64_t* metricValues );
190 
196  struct SCOREP_Location* location,
197  uint64_t timestamp,
198  SCOREP_RegionHandle regionHandle,
199  uint64_t* metricValues );
200 
215  struct SCOREP_Location* location,
216  uint64_t timestamp,
217  SCOREP_RegionHandle regionHandle,
218  uint64_t* metricValues );
219 
226  struct SCOREP_Location* location,
227  uint64_t timestamp,
228  SCOREP_RegionHandle regionHandle,
229  uint64_t* metricValues );
230 
253 typedef void ( * SCOREP_Substrates_SampleCb )(
254  struct SCOREP_Location* location,
255  uint64_t timestamp,
256  SCOREP_CallingContextHandle callingContext,
257  SCOREP_CallingContextHandle previousCallingContext,
258  uint32_t unwindDistance,
259  SCOREP_InterruptGeneratorHandle interruptGeneratorHandle,
260  uint64_t* metricValues );
261 
281  struct SCOREP_Location* location,
282  uint64_t timestamp,
283  SCOREP_CallingContextHandle callingContext,
284  SCOREP_CallingContextHandle previousCallingContext,
285  uint32_t unwindDistance,
286  uint64_t* metricValues );
287 
295  struct SCOREP_Location* location,
296  uint64_t timestamp,
297  SCOREP_CallingContextHandle callingContext,
298  SCOREP_CallingContextHandle previousCallingContext,
299  uint32_t unwindDistance,
300  uint64_t* metricValues );
301 
315  struct SCOREP_Location* location,
316  uint64_t timestamp,
317  SCOREP_RegionHandle regionHandle );
318 
334  struct SCOREP_Location* location,
335  uint64_t timestamp,
336  SCOREP_RegionHandle regionHandle,
337  bool doRewind );
338 
357 typedef void ( * SCOREP_Substrates_MpiSendCb )(
358  struct SCOREP_Location* location,
359  uint64_t timestamp,
360  SCOREP_MpiRank destinationRank,
361  SCOREP_InterimCommunicatorHandle communicatorHandle,
362  uint32_t tag,
363  uint64_t bytesSent );
364 
383 typedef void ( * SCOREP_Substrates_MpiRecvCb )(
384  struct SCOREP_Location* location,
385  uint64_t timestamp,
386  SCOREP_MpiRank sourceRank,
387  SCOREP_InterimCommunicatorHandle communicatorHandle,
388  uint32_t tag,
389  uint64_t bytesReceived );
390 
401  struct SCOREP_Location* location,
402  uint64_t timestamp );
403 
404 
424  struct SCOREP_Location* location,
425  uint64_t timestamp,
426  SCOREP_InterimCommunicatorHandle communicatorHandle,
427  SCOREP_MpiRank rootRank,
428  SCOREP_CollectiveType collectiveType,
429  uint64_t bytesSent,
430  uint64_t bytesReceived );
431 
444  struct SCOREP_Location* location,
445  uint64_t timestamp,
446  SCOREP_MpiRequestId requestId );
447 
460  struct SCOREP_Location* location,
461  uint64_t timestamp,
462  SCOREP_MpiRequestId requestId );
463 
476  struct SCOREP_Location* location,
477  uint64_t timestamp,
478  SCOREP_MpiRequestId requestId );
479 
492  struct SCOREP_Location* location,
493  uint64_t timestamp,
494  SCOREP_MpiRequestId requestId );
495 
514 typedef void ( * SCOREP_Substrates_MpiIsendCb )(
515  struct SCOREP_Location* location,
516  uint64_t timestamp,
517  SCOREP_MpiRank destinationRank,
518  SCOREP_InterimCommunicatorHandle communicatorHandle,
519  uint32_t tag,
520  uint64_t bytesSent,
521  SCOREP_MpiRequestId requestId );
522 
541 typedef void ( * SCOREP_Substrates_MpiIrecvCb )(
542  struct SCOREP_Location* location,
543  uint64_t timestamp,
544  SCOREP_MpiRank sourceRank,
545  SCOREP_InterimCommunicatorHandle communicatorHandle,
546  uint32_t tag,
547  uint64_t bytesReceived,
548  SCOREP_MpiRequestId requestId );
549 
561  struct SCOREP_Location* location,
562  uint64_t timestamp,
563  SCOREP_RmaWindowHandle windowHandle );
564 
576  struct SCOREP_Location* location,
577  uint64_t timestamp,
578  SCOREP_RmaWindowHandle windowHandle );
579 
590  struct SCOREP_Location* location,
591  uint64_t timestamp );
592 
614  struct SCOREP_Location* location,
615  uint64_t timestamp,
616  SCOREP_CollectiveType collectiveOp,
617  SCOREP_RmaSyncLevel syncLevel,
618  SCOREP_RmaWindowHandle windowHandle,
619  uint32_t root,
620  uint64_t bytesSent,
621  uint64_t bytesReceived );
622 
645  struct SCOREP_Location* location,
646  uint64_t timestamp,
647  SCOREP_RmaWindowHandle windowHandle,
648  uint32_t remote,
649  uint64_t lockId,
650  SCOREP_LockType lockType );
651 
670  struct SCOREP_Location* location,
671  uint64_t timestamp,
672  SCOREP_RmaWindowHandle windowHandle,
673  uint32_t remote,
674  uint64_t lockId,
675  SCOREP_LockType lockType );
676 
677 
697  struct SCOREP_Location* location,
698  uint64_t timestamp,
699  SCOREP_RmaWindowHandle windowHandle,
700  uint32_t remote,
701  uint64_t lockId,
702  SCOREP_LockType lockType );
703 
704 
722  struct SCOREP_Location* location,
723  uint64_t timestamp,
724  SCOREP_RmaWindowHandle windowHandle,
725  uint32_t remote,
726  uint64_t lockId );
727 
743 typedef void ( * SCOREP_Substrates_RmaSyncCb )(
744  struct SCOREP_Location* location,
745  uint64_t timestamp,
746  SCOREP_RmaWindowHandle windowHandle,
747  uint32_t remote,
748  SCOREP_RmaSyncType syncType );
749 
766  struct SCOREP_Location* location,
767  uint64_t timestamp,
768  SCOREP_RmaSyncLevel syncLevel,
769  SCOREP_RmaWindowHandle windowHandle,
770  SCOREP_GroupHandle groupHandle );
771 
795 typedef void ( * SCOREP_Substrates_RmaPutCb )(
796  struct SCOREP_Location* location,
797  uint64_t timestamp,
798  SCOREP_RmaWindowHandle windowHandle,
799  uint32_t remote,
800  uint64_t bytes,
801  uint64_t matchingId );
802 
803 typedef void ( * SCOREP_Substrates_RmaGetCb )(
804  struct SCOREP_Location* location,
805  uint64_t timestamp,
806  SCOREP_RmaWindowHandle windowHandle,
807  uint32_t remote,
808  uint64_t bytes,
809  uint64_t matchingId );
810 
839 typedef void ( * SCOREP_Substrates_RmaAtomicCb )(
840  struct SCOREP_Location* location,
841  uint64_t timestamp,
842  SCOREP_RmaWindowHandle windowHandle,
843  uint32_t remote,
845  uint64_t bytesSent,
846  uint64_t bytesReceived,
847  uint64_t matchingId );
848 
862  struct SCOREP_Location* location,
863  uint64_t timestamp,
864  SCOREP_RmaWindowHandle windowHandle );
865 
887  struct SCOREP_Location* location,
888  uint64_t timestamp,
889  SCOREP_RmaWindowHandle windowHandle,
890  uint64_t matchingId );
891 
892 typedef void ( * SCOREP_Substrates_RmaOpCompleteNonBlockingCb )(
893  struct SCOREP_Location* location,
894  uint64_t timestamp,
895  SCOREP_RmaWindowHandle windowHandle,
896  uint64_t matchingId );
897 
915 typedef void ( * SCOREP_Substrates_RmaOpTestCb )(
916  struct SCOREP_Location* location,
917  uint64_t timestamp,
918  SCOREP_RmaWindowHandle windowHandle,
919  uint64_t matchingId );
920 
921 
939  struct SCOREP_Location* location,
940  uint64_t timestamp,
941  SCOREP_RmaWindowHandle windowHandle,
942  uint64_t matchingId );
943 
944 
963  struct SCOREP_Location* location,
964  uint64_t timestamp,
965  SCOREP_ParadigmType paradigm,
966  uint32_t lockId,
967  uint32_t acquisitionOrder );
968 
969 
970 typedef void ( * SCOREP_Substrates_ThreadReleaseLockCb )(
971  struct SCOREP_Location* location,
972  uint64_t timestamp,
973  SCOREP_ParadigmType paradigm,
974  uint32_t lockId,
975  uint32_t acquisitionOrder );
976 
994  struct SCOREP_Location* location,
995  uint64_t timestamp,
996  SCOREP_SamplingSetHandle counterHandle,
997  int64_t value );
998 
999 typedef void ( * SCOREP_Substrates_TriggerCounterUint64Cb )(
1000  struct SCOREP_Location* location,
1001  uint64_t timestamp,
1002  SCOREP_SamplingSetHandle counterHandle,
1003  uint64_t value );
1004 
1005 typedef void ( * SCOREP_Substrates_TriggerCounterDoubleCb )(
1006  struct SCOREP_Location* location,
1007  uint64_t timestamp,
1008  SCOREP_SamplingSetHandle counterHandle,
1009  double value );
1028  struct SCOREP_Location* location,
1029  uint64_t timestamp,
1030  SCOREP_ParameterHandle parameterHandle,
1031  int64_t value );
1032 
1033 typedef void ( * SCOREP_Substrates_TriggerParameterUint64Cb )(
1034  struct SCOREP_Location* location,
1035  uint64_t timestamp,
1036  SCOREP_ParameterHandle parameterHandle,
1037  uint64_t value );
1054  struct SCOREP_Location* location,
1055  uint64_t timestamp,
1056  SCOREP_ParameterHandle parameterHandle,
1057  SCOREP_StringHandle string_handle );
1058 
1078  struct SCOREP_Location* location,
1079  uint64_t timestamp,
1080  SCOREP_ParadigmType paradigm,
1081  uint32_t nRequestedThreads,
1082  uint32_t forkSequenceCount );
1083 
1095  struct SCOREP_Location* location,
1096  uint64_t timestamp,
1097  SCOREP_ParadigmType paradigm );
1098 
1113  struct SCOREP_Location* location,
1114  uint64_t timestamp,
1115  SCOREP_ParadigmType paradigm,
1116  SCOREP_InterimCommunicatorHandle threadTeam );
1117 
1118 typedef void ( * SCOREP_Substrates_ThreadForkJoinTeamEndCb )(
1119  struct SCOREP_Location* location,
1120  uint64_t timestamp,
1121  SCOREP_ParadigmType paradigm,
1122  SCOREP_InterimCommunicatorHandle threadTeam );
1123 
1150  struct SCOREP_Location* location,
1151  uint64_t timestamp,
1152  SCOREP_ParadigmType paradigm,
1153  SCOREP_InterimCommunicatorHandle threadTeam,
1154  uint32_t threadId,
1155  uint32_t generationNumber );
1156 
1183  struct SCOREP_Location* location,
1184  uint64_t timestamp,
1185  uint64_t* metricValues,
1186  SCOREP_ParadigmType paradigm,
1187  SCOREP_InterimCommunicatorHandle threadTeam,
1188  uint32_t threadId,
1189  uint32_t generationNumber,
1190  SCOREP_TaskHandle taskHandle );
1191 
1220  struct SCOREP_Location* location,
1221  uint64_t timestamp,
1222  SCOREP_RegionHandle regionHandle,
1223  uint64_t* metricValues,
1224  SCOREP_ParadigmType paradigm,
1225  SCOREP_InterimCommunicatorHandle threadTeam,
1226  uint32_t threadId,
1227  uint32_t generationNumber,
1228  SCOREP_TaskHandle taskHandle );
1229 
1230 typedef void ( * SCOREP_Substrates_ThreadForkJoinTaskEndCb )(
1231  struct SCOREP_Location* location,
1232  uint64_t timestamp,
1233  SCOREP_RegionHandle regionHandle,
1234  uint64_t* metricValues,
1235  SCOREP_ParadigmType paradigm,
1236  SCOREP_InterimCommunicatorHandle threadTeam,
1237  uint32_t threadId,
1238  uint32_t generationNumber,
1239  SCOREP_TaskHandle taskHandle );
1240 
1261  struct SCOREP_Location* location,
1262  uint64_t timestamp,
1263  SCOREP_ParadigmType paradigm,
1264  SCOREP_InterimCommunicatorHandle threadTeam,
1265  uint32_t createSequenceCount );
1266 
1267 typedef void ( * SCOREP_Substrates_ThreadCreateWaitWaitCb )(
1268  struct SCOREP_Location* location,
1269  uint64_t timestamp,
1270  SCOREP_ParadigmType paradigm,
1271  SCOREP_InterimCommunicatorHandle threadTeam,
1272  uint32_t createSequenceCount );
1273 
1274 typedef void ( * SCOREP_Substrates_ThreadCreateWaitBeginCb )(
1275  struct SCOREP_Location* location,
1276  uint64_t timestamp,
1277  SCOREP_ParadigmType paradigm,
1278  SCOREP_InterimCommunicatorHandle threadTeam,
1279  uint32_t createSequenceCount );
1280 
1281 typedef void ( * SCOREP_Substrates_ThreadCreateWaitEndCb )(
1282  struct SCOREP_Location* location,
1283  uint64_t timestamp,
1284  SCOREP_ParadigmType paradigm,
1285  SCOREP_InterimCommunicatorHandle threadTeam,
1286  uint32_t createSequenceCount );
1287 
1309  struct SCOREP_Location* location,
1310  uint64_t timestamp,
1311  uint64_t addrAllocated,
1312  size_t bytesAllocated,
1313  void* substrateData[],
1314  size_t bytesAllocatedMetric,
1315  size_t bytesAllocatedProcess );
1316 
1342  struct SCOREP_Location* location,
1343  uint64_t timestamp,
1344  uint64_t oldAddr,
1345  size_t oldBytesAllocated,
1346  void* oldSubstrateData[],
1347  uint64_t newAddr,
1348  size_t newBytesAllocated,
1349  void* newSubstrateData[],
1350  size_t bytesAllocatedMetric,
1351  size_t bytesAllocatedProcess );
1352 
1372  struct SCOREP_Location* location,
1373  uint64_t timestamp,
1374  uint64_t addrFreed,
1375  size_t bytesFreed,
1376  void* substrateData[],
1377  size_t bytesAllocatedMetric,
1378  size_t bytesAllocatedProcess );
1379 
1380 
1398  struct SCOREP_Location* location,
1399  uint64_t timestamp,
1400  SCOREP_SamplingSetHandle samplingSet,
1401  const uint64_t* metricValues );
1402 
1403 #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:962
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:133
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:357
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:589
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:491
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:613
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:459
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:1112
void(* SCOREP_Substrates_RmaOpCompleteRemoteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:938
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:644
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:795
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:743
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:1260
void(* SCOREP_Substrates_RmaGroupSyncCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaSyncLevel syncLevel, SCOREP_RmaWindowHandle windowHandle, SCOREP_GroupHandle groupHandle)
Definition: SCOREP_SubstrateEvents.h:765
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:721
void(* SCOREP_Substrates_TriggerParameterStringCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, SCOREP_StringHandle string_handle)
Definition: SCOREP_SubstrateEvents.h:1053
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:669
void(* SCOREP_Substrates_EnableRecordingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:154
void(* SCOREP_Substrates_TriggerCounterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_SamplingSetHandle counterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:993
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:541
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:253
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:423
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:314
void(* SCOREP_Substrates_RmaWinDestroyCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:575
void(* SCOREP_Substrates_ExitRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:225
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:333
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:514
void(* SCOREP_Substrates_MpiCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp)
Definition: SCOREP_SubstrateEvents.h:400
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:195
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:1149
void(* SCOREP_Substrates_OnTracingBufferFlushBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:185
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:839
void(* SCOREP_Substrates_ThreadForkJoinForkCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, uint32_t nRequestedThreads, uint32_t forkSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1077
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:294
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:1094
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:861
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:1341
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:168
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:383
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:560
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:1308
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:1182
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:1397
Definition: SCOREP_SubstrateEvents.h:76
void(* SCOREP_Substrates_MpiIsendCompleteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:443
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:915
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:280
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:1219
void(* SCOREP_Substrates_MpiRequestTestedCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:475
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:214
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:696
void(* SCOREP_Substrates_TriggerParameterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:1027
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:886
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:1371