3.1-READEX_BETA (revision 13238M)
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,
5  * Technische Universitaet Dresden, Germany
6  *
7  * Copyright (c) 2015-2016,
8  * Technische Universitaet Muenchen, Germany
9  *
10  * This software may be modified and distributed under the terms of
11  * a BSD-style license. See the COPYING file in the package base
12  * directory for details.
13  *
14  */
15 
16 
23 #ifndef SCOREP_SUBSTRATE_EVENTS_H
24 #define SCOREP_SUBSTRATE_EVENTS_H
25 
32 #include <stdbool.h>
33 #include <stddef.h>
34 
38 
39 
43 typedef void ( * SCOREP_Substrates_Callback )( void );
44 
45 struct SCOREP_Location;
46 
53 {
59 
65 {
129  SCOREP_EVENT_ADD_TUNING_ACTION,
130  SCOREP_EVENT_GENERIC_COMMAND,
131 
134 
135 
154  struct SCOREP_Location* location,
155  uint64_t timestamp,
156  SCOREP_RegionHandle regionHandle,
157  uint64_t* metricValues );
158 
168  struct SCOREP_Location* location,
169  uint64_t timestamp,
170  SCOREP_RegionHandle regionHandle,
171  uint64_t* metricValues );
172 
185  struct SCOREP_Location* location,
186  uint64_t timestamp,
187  SCOREP_RegionHandle regionHandle,
188  uint64_t* metricValues );
189 
195  struct SCOREP_Location* location,
196  uint64_t timestamp,
197  SCOREP_RegionHandle regionHandle,
198  uint64_t* metricValues );
199 
214  struct SCOREP_Location* location,
215  uint64_t timestamp,
216  SCOREP_RegionHandle regionHandle,
217  uint64_t* metricValues );
218 
225  struct SCOREP_Location* location,
226  uint64_t timestamp,
227  SCOREP_RegionHandle regionHandle,
228  uint64_t* metricValues );
229 
252 typedef void ( * SCOREP_Substrates_SampleCb )(
253  struct SCOREP_Location* location,
254  uint64_t timestamp,
255  SCOREP_CallingContextHandle callingContext,
256  SCOREP_CallingContextHandle previousCallingContext,
257  uint32_t unwindDistance,
258  SCOREP_InterruptGeneratorHandle interruptGeneratorHandle,
259  uint64_t* metricValues );
260 
280  struct SCOREP_Location* location,
281  uint64_t timestamp,
282  SCOREP_CallingContextHandle callingContext,
283  SCOREP_CallingContextHandle previousCallingContext,
284  uint32_t unwindDistance,
285  uint64_t* metricValues );
286 
294  struct SCOREP_Location* location,
295  uint64_t timestamp,
296  SCOREP_CallingContextHandle callingContext,
297  SCOREP_CallingContextHandle previousCallingContext,
298  uint32_t unwindDistance,
299  uint64_t* metricValues );
300 
314  struct SCOREP_Location* location,
315  uint64_t timestamp,
316  SCOREP_RegionHandle regionHandle );
317 
333  struct SCOREP_Location* location,
334  uint64_t timestamp,
335  SCOREP_RegionHandle regionHandle,
336  bool doRewind );
337 
356 typedef void ( * SCOREP_Substrates_MpiSendCb )(
357  struct SCOREP_Location* location,
358  uint64_t timestamp,
359  SCOREP_MpiRank destinationRank,
360  SCOREP_InterimCommunicatorHandle communicatorHandle,
361  uint32_t tag,
362  uint64_t bytesSent );
363 
382 typedef void ( * SCOREP_Substrates_MpiRecvCb )(
383  struct SCOREP_Location* location,
384  uint64_t timestamp,
385  SCOREP_MpiRank sourceRank,
386  SCOREP_InterimCommunicatorHandle communicatorHandle,
387  uint32_t tag,
388  uint64_t bytesReceived );
389 
400  struct SCOREP_Location* location,
401  uint64_t timestamp );
402 
403 
423  struct SCOREP_Location* location,
424  uint64_t timestamp,
425  SCOREP_InterimCommunicatorHandle communicatorHandle,
426  SCOREP_MpiRank rootRank,
427  SCOREP_CollectiveType collectiveType,
428  uint64_t bytesSent,
429  uint64_t bytesReceived );
430 
443  struct SCOREP_Location* location,
444  uint64_t timestamp,
445  SCOREP_MpiRequestId requestId );
446 
459  struct SCOREP_Location* location,
460  uint64_t timestamp,
461  SCOREP_MpiRequestId requestId );
462 
475  struct SCOREP_Location* location,
476  uint64_t timestamp,
477  SCOREP_MpiRequestId requestId );
478 
491  struct SCOREP_Location* location,
492  uint64_t timestamp,
493  SCOREP_MpiRequestId requestId );
494 
513 typedef void ( * SCOREP_Substrates_MpiIsendCb )(
514  struct SCOREP_Location* location,
515  uint64_t timestamp,
516  SCOREP_MpiRank destinationRank,
517  SCOREP_InterimCommunicatorHandle communicatorHandle,
518  uint32_t tag,
519  uint64_t bytesSent,
520  SCOREP_MpiRequestId requestId );
521 
540 typedef void ( * SCOREP_Substrates_MpiIrecvCb )(
541  struct SCOREP_Location* location,
542  uint64_t timestamp,
543  SCOREP_MpiRank sourceRank,
544  SCOREP_InterimCommunicatorHandle communicatorHandle,
545  uint32_t tag,
546  uint64_t bytesReceived,
547  SCOREP_MpiRequestId requestId );
548 
560  struct SCOREP_Location* location,
561  uint64_t timestamp,
562  SCOREP_RmaWindowHandle windowHandle );
563 
575  struct SCOREP_Location* location,
576  uint64_t timestamp,
577  SCOREP_RmaWindowHandle windowHandle );
578 
589  struct SCOREP_Location* location,
590  uint64_t timestamp );
591 
613  struct SCOREP_Location* location,
614  uint64_t timestamp,
615  SCOREP_CollectiveType collectiveOp,
616  SCOREP_RmaSyncLevel syncLevel,
617  SCOREP_RmaWindowHandle windowHandle,
618  uint32_t root,
619  uint64_t bytesSent,
620  uint64_t bytesReceived );
621 
644  struct SCOREP_Location* location,
645  uint64_t timestamp,
646  SCOREP_RmaWindowHandle windowHandle,
647  uint32_t remote,
648  uint64_t lockId,
649  SCOREP_LockType lockType );
650 
669  struct SCOREP_Location* location,
670  uint64_t timestamp,
671  SCOREP_RmaWindowHandle windowHandle,
672  uint32_t remote,
673  uint64_t lockId,
674  SCOREP_LockType lockType );
675 
676 
696  struct SCOREP_Location* location,
697  uint64_t timestamp,
698  SCOREP_RmaWindowHandle windowHandle,
699  uint32_t remote,
700  uint64_t lockId,
701  SCOREP_LockType lockType );
702 
703 
721  struct SCOREP_Location* location,
722  uint64_t timestamp,
723  SCOREP_RmaWindowHandle windowHandle,
724  uint32_t remote,
725  uint64_t lockId );
726 
742 typedef void ( * SCOREP_Substrates_RmaSyncCb )(
743  struct SCOREP_Location* location,
744  uint64_t timestamp,
745  SCOREP_RmaWindowHandle windowHandle,
746  uint32_t remote,
747  SCOREP_RmaSyncType syncType );
748 
765  struct SCOREP_Location* location,
766  uint64_t timestamp,
767  SCOREP_RmaSyncLevel syncLevel,
768  SCOREP_RmaWindowHandle windowHandle,
769  SCOREP_GroupHandle groupHandle );
770 
794 typedef void ( * SCOREP_Substrates_RmaPutCb )(
795  struct SCOREP_Location* location,
796  uint64_t timestamp,
797  SCOREP_RmaWindowHandle windowHandle,
798  uint32_t remote,
799  uint64_t bytes,
800  uint64_t matchingId );
801 
802 typedef void ( * SCOREP_Substrates_RmaGetCb )(
803  struct SCOREP_Location* location,
804  uint64_t timestamp,
805  SCOREP_RmaWindowHandle windowHandle,
806  uint32_t remote,
807  uint64_t bytes,
808  uint64_t matchingId );
809 
838 typedef void ( * SCOREP_Substrates_RmaAtomicCb )(
839  struct SCOREP_Location* location,
840  uint64_t timestamp,
841  SCOREP_RmaWindowHandle windowHandle,
842  uint32_t remote,
844  uint64_t bytesSent,
845  uint64_t bytesReceived,
846  uint64_t matchingId );
847 
861  struct SCOREP_Location* location,
862  uint64_t timestamp,
863  SCOREP_RmaWindowHandle windowHandle );
864 
886  struct SCOREP_Location* location,
887  uint64_t timestamp,
888  SCOREP_RmaWindowHandle windowHandle,
889  uint64_t matchingId );
890 
891 typedef void ( * SCOREP_Substrates_RmaOpCompleteNonBlockingCb )(
892  struct SCOREP_Location* location,
893  uint64_t timestamp,
894  SCOREP_RmaWindowHandle windowHandle,
895  uint64_t matchingId );
896 
914 typedef void ( * SCOREP_Substrates_RmaOpTestCb )(
915  struct SCOREP_Location* location,
916  uint64_t timestamp,
917  SCOREP_RmaWindowHandle windowHandle,
918  uint64_t matchingId );
919 
920 
938  struct SCOREP_Location* location,
939  uint64_t timestamp,
940  SCOREP_RmaWindowHandle windowHandle,
941  uint64_t matchingId );
942 
943 
962  struct SCOREP_Location* location,
963  uint64_t timestamp,
964  SCOREP_ParadigmType paradigm,
965  uint32_t lockId,
966  uint32_t acquisitionOrder );
967 
968 
969 typedef void ( * SCOREP_Substrates_ThreadReleaseLockCb )(
970  struct SCOREP_Location* location,
971  uint64_t timestamp,
972  SCOREP_ParadigmType paradigm,
973  uint32_t lockId,
974  uint32_t acquisitionOrder );
975 
993  struct SCOREP_Location* location,
994  uint64_t timestamp,
995  SCOREP_SamplingSetHandle counterHandle,
996  int64_t value );
997 
998 typedef void ( * SCOREP_Substrates_TriggerCounterUint64Cb )(
999  struct SCOREP_Location* location,
1000  uint64_t timestamp,
1001  SCOREP_SamplingSetHandle counterHandle,
1002  uint64_t value );
1003 
1004 typedef void ( * SCOREP_Substrates_TriggerCounterDoubleCb )(
1005  struct SCOREP_Location* location,
1006  uint64_t timestamp,
1007  SCOREP_SamplingSetHandle counterHandle,
1008  double value );
1027  struct SCOREP_Location* location,
1028  uint64_t timestamp,
1029  SCOREP_ParameterHandle parameterHandle,
1030  int64_t value );
1031 
1032 typedef void ( * SCOREP_Substrates_TriggerParameterUint64Cb )(
1033  struct SCOREP_Location* location,
1034  uint64_t timestamp,
1035  SCOREP_ParameterHandle parameterHandle,
1036  uint64_t value );
1053  struct SCOREP_Location* location,
1054  uint64_t timestamp,
1055  SCOREP_ParameterHandle parameterHandle,
1056  SCOREP_StringHandle string_handle );
1057 
1077  struct SCOREP_Location* location,
1078  uint64_t timestamp,
1079  SCOREP_ParadigmType paradigm,
1080  uint32_t nRequestedThreads,
1081  uint32_t forkSequenceCount );
1082 
1094  struct SCOREP_Location* location,
1095  uint64_t timestamp,
1096  SCOREP_ParadigmType paradigm );
1097 
1112  struct SCOREP_Location* location,
1113  uint64_t timestamp,
1114  SCOREP_ParadigmType paradigm,
1115  SCOREP_InterimCommunicatorHandle threadTeam );
1116 
1117 typedef void ( * SCOREP_Substrates_ThreadForkJoinTeamEndCb )(
1118  struct SCOREP_Location* location,
1119  uint64_t timestamp,
1120  SCOREP_ParadigmType paradigm,
1121  SCOREP_InterimCommunicatorHandle threadTeam );
1122 
1149  struct SCOREP_Location* location,
1150  uint64_t timestamp,
1151  SCOREP_ParadigmType paradigm,
1152  SCOREP_InterimCommunicatorHandle threadTeam,
1153  uint32_t threadId,
1154  uint32_t generationNumber );
1155 
1182  struct SCOREP_Location* location,
1183  uint64_t timestamp,
1184  uint64_t* metricValues,
1185  SCOREP_ParadigmType paradigm,
1186  SCOREP_InterimCommunicatorHandle threadTeam,
1187  uint32_t threadId,
1188  uint32_t generationNumber,
1189  SCOREP_TaskHandle taskHandle );
1190 
1219  struct SCOREP_Location* location,
1220  uint64_t timestamp,
1221  SCOREP_RegionHandle regionHandle,
1222  uint64_t* metricValues,
1223  SCOREP_ParadigmType paradigm,
1224  SCOREP_InterimCommunicatorHandle threadTeam,
1225  uint32_t threadId,
1226  uint32_t generationNumber,
1227  SCOREP_TaskHandle taskHandle );
1228 
1229 typedef void ( * SCOREP_Substrates_ThreadForkJoinTaskEndCb )(
1230  struct SCOREP_Location* location,
1231  uint64_t timestamp,
1232  SCOREP_RegionHandle regionHandle,
1233  uint64_t* metricValues,
1234  SCOREP_ParadigmType paradigm,
1235  SCOREP_InterimCommunicatorHandle threadTeam,
1236  uint32_t threadId,
1237  uint32_t generationNumber,
1238  SCOREP_TaskHandle taskHandle );
1239 
1260  struct SCOREP_Location* location,
1261  uint64_t timestamp,
1262  SCOREP_ParadigmType paradigm,
1263  SCOREP_InterimCommunicatorHandle threadTeam,
1264  uint32_t createSequenceCount );
1265 
1266 typedef void ( * SCOREP_Substrates_ThreadCreateWaitWaitCb )(
1267  struct SCOREP_Location* location,
1268  uint64_t timestamp,
1269  SCOREP_ParadigmType paradigm,
1270  SCOREP_InterimCommunicatorHandle threadTeam,
1271  uint32_t createSequenceCount );
1272 
1273 typedef void ( * SCOREP_Substrates_ThreadCreateWaitBeginCb )(
1274  struct SCOREP_Location* location,
1275  uint64_t timestamp,
1276  SCOREP_ParadigmType paradigm,
1277  SCOREP_InterimCommunicatorHandle threadTeam,
1278  uint32_t createSequenceCount );
1279 
1280 typedef void ( * SCOREP_Substrates_ThreadCreateWaitEndCb )(
1281  struct SCOREP_Location* location,
1282  uint64_t timestamp,
1283  SCOREP_ParadigmType paradigm,
1284  SCOREP_InterimCommunicatorHandle threadTeam,
1285  uint32_t createSequenceCount );
1286 
1308  struct SCOREP_Location* location,
1309  uint64_t timestamp,
1310  uint64_t addrAllocated,
1311  size_t bytesAllocated,
1312  void* substrateData[],
1313  size_t bytesAllocatedMetric,
1314  size_t bytesAllocatedProcess );
1315 
1341  struct SCOREP_Location* location,
1342  uint64_t timestamp,
1343  uint64_t oldAddr,
1344  size_t oldBytesAllocated,
1345  void* oldSubstrateData[],
1346  uint64_t newAddr,
1347  size_t newBytesAllocated,
1348  void* newSubstrateData[],
1349  size_t bytesAllocatedMetric,
1350  size_t bytesAllocatedProcess );
1351 
1371  struct SCOREP_Location* location,
1372  uint64_t timestamp,
1373  uint64_t addrFreed,
1374  size_t bytesFreed,
1375  void* substrateData[],
1376  size_t bytesAllocatedMetric,
1377  size_t bytesAllocatedProcess );
1378 
1379 
1380 typedef void ( * SCOREP_Substrates_AddTuningActionCb )(
1381  uint32_t regionId,
1382  uint8_t kind,
1383  char* actionName,
1384  int value );
1400  struct SCOREP_Location* location,
1401  uint64_t timestamp,
1402  SCOREP_SamplingSetHandle samplingSet,
1403  const uint64_t* metricValues );
1404 
1405 typedef void ( * SCOREP_Substrates_GenericCommandCb )(
1406  const char* command,
1407  size_t bytes );
1408 
1409 #endif /* SCOREP_SUBSTRATE_EVENTS_H */
Definition: SCOREP_SubstrateEvents.h:107
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:961
Definition: SCOREP_SubstrateEvents.h:112
Definition: SCOREP_SubstrateEvents.h:117
Definition: SCOREP_SubstrateEvents.h:75
Definition: SCOREP_SubstrateEvents.h:86
Definition: SCOREP_SubstrateEvents.h:124
Definition: SCOREP_SubstrateEvents.h:114
Definition: SCOREP_SubstrateEvents.h:132
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:356
Definition: SCOREP_SubstrateEvents.h:78
Definition: SCOREP_SubstrateEvents.h:57
void(* SCOREP_Substrates_RmaCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp)
Definition: SCOREP_SubstrateEvents.h:588
Definition: SCOREP_SubstrateEvents.h:94
Definition: SCOREP_SubstrateEvents.h:109
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:76
void(* SCOREP_Substrates_MpiRequestCancelledCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:490
void(* SCOREP_Substrates_Callback)(void)
Definition: SCOREP_SubstrateEvents.h:43
Definition: SCOREP_SubstrateEvents.h:101
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:612
Definition: SCOREP_SubstrateEvents.h:89
Definition: SCOREP_SubstrateEvents.h:126
void(* SCOREP_Substrates_MpiIrecvRequestCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:458
Definition: SCOREP_SubstrateEvents.h:81
void(* SCOREP_Substrates_WriteAsynchMetricBeforeEventCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_SamplingSetHandle samplingSet, const uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:1399
SCOREP_RmaSyncType
Type of direct RMA synchronization call.
Definition: SCOREP_PublicTypes.h:468
Definition: SCOREP_SubstrateEvents.h:68
void(* SCOREP_Substrates_ThreadForkJoinTeamBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam)
Definition: SCOREP_SubstrateEvents.h:1111
void(* SCOREP_Substrates_RmaOpCompleteRemoteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:937
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:643
int SCOREP_MpiRank
Definition: SCOREP_PublicTypes.h:219
Definition: SCOREP_SubstrateEvents.h:121
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:794
Definition: SCOREP_SubstrateEvents.h:100
Definition: SCOREP_SubstrateEvents.h:128
SCOREP_RmaSyncLevel
specifies a RMA synchronization level, used by RMA records to be passed to SCOREP_Rma*() functions...
Definition: SCOREP_PublicTypes.h:495
Definition: SCOREP_SubstrateEvents.h:116
Definition: SCOREP_SubstrateEvents.h:90
void(* SCOREP_Substrates_RmaSyncCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, SCOREP_RmaSyncType syncType)
Definition: SCOREP_SubstrateEvents.h:742
SCOREP_ParadigmType
defines paradigms that are be monitored
Definition: SCOREP_PublicTypes.h:307
void(* SCOREP_Substrates_ThreadCreateWaitCreateCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam, uint32_t createSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1259
void(* SCOREP_Substrates_RmaGroupSyncCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaSyncLevel syncLevel, SCOREP_RmaWindowHandle windowHandle, SCOREP_GroupHandle groupHandle)
Definition: SCOREP_SubstrateEvents.h:764
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:720
void(* SCOREP_Substrates_TriggerParameterStringCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, SCOREP_StringHandle string_handle)
Definition: SCOREP_SubstrateEvents.h:1052
Definition: SCOREP_SubstrateEvents.h:84
Definition: SCOREP_SubstrateEvents.h:87
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:668
void(* SCOREP_Substrates_EnableRecordingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:153
void(* SCOREP_Substrates_TriggerCounterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_SamplingSetHandle counterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:992
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:540
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:252
Definition: SCOREP_SubstrateEvents.h:54
SCOREP_Substrates_Mode
Definition: SCOREP_SubstrateEvents.h:52
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:422
Definition: SCOREP_SubstrateEvents.h:123
Definition: SCOREP_SubstrateEvents.h:122
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:313
void(* SCOREP_Substrates_RmaWinDestroyCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:574
void(* SCOREP_Substrates_ExitRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:224
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:64
void(* SCOREP_Substrates_ExitRewindRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, bool doRewind)
Definition: SCOREP_SubstrateEvents.h:332
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:513
void(* SCOREP_Substrates_MpiCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp)
Definition: SCOREP_SubstrateEvents.h:399
Definition: SCOREP_SubstrateEvents.h:88
Types used by metric service.
Definition: SCOREP_SubstrateEvents.h:96
Definition: SCOREP_SubstrateEvents.h:85
void(* SCOREP_Substrates_OnTracingBufferFlushEndCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:194
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:1148
void(* SCOREP_Substrates_OnTracingBufferFlushBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:184
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:838
void(* SCOREP_Substrates_ThreadForkJoinForkCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, uint32_t nRequestedThreads, uint32_t forkSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1076
Definition: SCOREP_SubstrateEvents.h:67
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:293
Definition: SCOREP_SubstrateEvents.h:105
Definition: SCOREP_SubstrateEvents.h:118
Definition: SCOREP_SubstrateEvents.h:106
void(* SCOREP_Substrates_ThreadForkJoinJoinCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm)
Definition: SCOREP_SubstrateEvents.h:1093
Definition: SCOREP_SubstrateEvents.h:83
Definition: SCOREP_SubstrateEvents.h:127
Definition: SCOREP_SubstrateEvents.h:92
Definition: SCOREP_SubstrateEvents.h:79
Definition: SCOREP_SubstrateEvents.h:115
Definition: SCOREP_SubstrateEvents.h:110
void(* SCOREP_Substrates_RmaWaitChangeCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:860
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:1340
SCOREP_RmaAtomicType
specifies a RMA Atomic Operation Type.
Definition: SCOREP_PublicTypes.h:532
Definition: SCOREP_SubstrateEvents.h:95
Definition: SCOREP_SubstrateEvents.h:77
Definition: SCOREP_SubstrateEvents.h:98
Definition: SCOREP_SubstrateEvents.h:82
void(* SCOREP_Substrates_DisableRecordingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:167
Definition: SCOREP_SubstrateEvents.h:93
Definition: SCOREP_SubstrateEvents.h:71
Definition: SCOREP_SubstrateEvents.h:66
Definition: SCOREP_SubstrateEvents.h:103
uint64_t SCOREP_MpiRequestId
Definition: SCOREP_PublicTypes.h:225
Definition: SCOREP_SubstrateEvents.h:104
Definition: SCOREP_SubstrateEvents.h:119
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:382
Definition: SCOREP_SubstrateEvents.h:120
Definition: SCOREP_SubstrateEvents.h:111
void(* SCOREP_Substrates_RmaWinCreateCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:559
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:1307
Definition: SCOREP_SubstrateEvents.h:70
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:1181
Definition: SCOREP_SubstrateEvents.h:97
Definition: SCOREP_SubstrateEvents.h:102
Definition: SCOREP_SubstrateEvents.h:91
Definition: SCOREP_SubstrateEvents.h:73
void(* SCOREP_Substrates_MpiIsendCompleteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:442
Definition: SCOREP_SubstrateEvents.h:99
Definition: SCOREP_SubstrateEvents.h:113
Definition: SCOREP_SubstrateEvents.h:55
Definition: SCOREP_SubstrateEvents.h:125
Definition: SCOREP_SubstrateEvents.h:74
void(* SCOREP_Substrates_RmaOpTestCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:914
SCOREP_AnyHandle SCOREP_RegionHandle
Definition: SCOREP_PublicTypes.h:121
Definition: SCOREP_SubstrateEvents.h:80
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:279
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:1218
void(* SCOREP_Substrates_MpiRequestTestedCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:474
Definition: SCOREP_SubstrateEvents.h:72
Definition: SCOREP_SubstrateEvents.h:108
void(* SCOREP_Substrates_EnterRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:213
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:695
void(* SCOREP_Substrates_TriggerParameterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:1026
Definition: SCOREP_SubstrateEvents.h:69
void(* SCOREP_Substrates_RmaOpCompleteBlockingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:885
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:1370