7.0 (revision 7784de1c)
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-2020,
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 {
152 
153 
172  struct SCOREP_Location* location,
173  uint64_t timestamp,
174  SCOREP_RegionHandle regionHandle,
175  uint64_t* metricValues );
176 
186  struct SCOREP_Location* location,
187  uint64_t timestamp,
188  SCOREP_RegionHandle regionHandle,
189  uint64_t* metricValues );
190 
203  struct SCOREP_Location* location,
204  uint64_t timestamp,
205  SCOREP_RegionHandle regionHandle,
206  uint64_t* metricValues );
207 
213  struct SCOREP_Location* location,
214  uint64_t timestamp,
215  SCOREP_RegionHandle regionHandle,
216  uint64_t* metricValues );
217 
239  struct SCOREP_Location* location,
240  uint64_t timestamp,
241  SCOREP_StringHandle programName,
242  uint32_t numberOfProgramArgs,
243  SCOREP_StringHandle* programArguments,
244  SCOREP_RegionHandle programRegionHandle,
245  uint64_t processId,
246  uint64_t threadId );
259  struct SCOREP_Location* location,
260  uint64_t timestamp,
261  SCOREP_ExitStatus exitStatus,
262  SCOREP_RegionHandle programRegionHandle );
263 
278  struct SCOREP_Location* location,
279  uint64_t timestamp,
280  SCOREP_RegionHandle regionHandle,
281  uint64_t* metricValues );
282 
289  struct SCOREP_Location* location,
290  uint64_t timestamp,
291  SCOREP_RegionHandle regionHandle,
292  uint64_t* metricValues );
293 
316 typedef void ( * SCOREP_Substrates_SampleCb )(
317  struct SCOREP_Location* location,
318  uint64_t timestamp,
319  SCOREP_CallingContextHandle callingContext,
320  SCOREP_CallingContextHandle previousCallingContext,
321  uint32_t unwindDistance,
322  SCOREP_InterruptGeneratorHandle interruptGeneratorHandle,
323  uint64_t* metricValues );
324 
344  struct SCOREP_Location* location,
345  uint64_t timestamp,
346  SCOREP_CallingContextHandle callingContext,
347  SCOREP_CallingContextHandle previousCallingContext,
348  uint32_t unwindDistance,
349  uint64_t* metricValues );
350 
358  struct SCOREP_Location* location,
359  uint64_t timestamp,
360  SCOREP_CallingContextHandle callingContext,
361  SCOREP_CallingContextHandle previousCallingContext,
362  uint32_t unwindDistance,
363  uint64_t* metricValues );
364 
378  struct SCOREP_Location* location,
379  uint64_t timestamp,
380  SCOREP_RegionHandle regionHandle );
381 
397  struct SCOREP_Location* location,
398  uint64_t timestamp,
399  SCOREP_RegionHandle regionHandle,
400  bool doRewind );
401 
420 typedef void ( * SCOREP_Substrates_MpiSendCb )(
421  struct SCOREP_Location* location,
422  uint64_t timestamp,
423  SCOREP_MpiRank destinationRank,
424  SCOREP_InterimCommunicatorHandle communicatorHandle,
425  uint32_t tag,
426  uint64_t bytesSent );
427 
446 typedef void ( * SCOREP_Substrates_MpiRecvCb )(
447  struct SCOREP_Location* location,
448  uint64_t timestamp,
449  SCOREP_MpiRank sourceRank,
450  SCOREP_InterimCommunicatorHandle communicatorHandle,
451  uint32_t tag,
452  uint64_t bytesReceived );
453 
464  struct SCOREP_Location* location,
465  uint64_t timestamp );
466 
467 
487  struct SCOREP_Location* location,
488  uint64_t timestamp,
489  SCOREP_InterimCommunicatorHandle communicatorHandle,
490  SCOREP_MpiRank rootRank,
491  SCOREP_CollectiveType collectiveType,
492  uint64_t bytesSent,
493  uint64_t bytesReceived );
494 
507  struct SCOREP_Location* location,
508  uint64_t timestamp,
509  SCOREP_MpiRequestId requestId );
510 
523  struct SCOREP_Location* location,
524  uint64_t timestamp,
525  SCOREP_MpiRequestId requestId );
526 
539  struct SCOREP_Location* location,
540  uint64_t timestamp,
541  SCOREP_MpiRequestId requestId );
542 
555  struct SCOREP_Location* location,
556  uint64_t timestamp,
557  SCOREP_MpiRequestId requestId );
558 
577 typedef void ( * SCOREP_Substrates_MpiIsendCb )(
578  struct SCOREP_Location* location,
579  uint64_t timestamp,
580  SCOREP_MpiRank destinationRank,
581  SCOREP_InterimCommunicatorHandle communicatorHandle,
582  uint32_t tag,
583  uint64_t bytesSent,
584  SCOREP_MpiRequestId requestId );
585 
604 typedef void ( * SCOREP_Substrates_MpiIrecvCb )(
605  struct SCOREP_Location* location,
606  uint64_t timestamp,
607  SCOREP_MpiRank sourceRank,
608  SCOREP_InterimCommunicatorHandle communicatorHandle,
609  uint32_t tag,
610  uint64_t bytesReceived,
611  SCOREP_MpiRequestId requestId );
612 
624  struct SCOREP_Location* location,
625  uint64_t timestamp,
626  SCOREP_RmaWindowHandle windowHandle );
627 
639  struct SCOREP_Location* location,
640  uint64_t timestamp,
641  SCOREP_RmaWindowHandle windowHandle );
642 
655  struct SCOREP_Location* location,
656  uint64_t timestamp,
657  SCOREP_RmaSyncLevel syncLevel );
658 
680  struct SCOREP_Location* location,
681  uint64_t timestamp,
682  SCOREP_CollectiveType collectiveOp,
683  SCOREP_RmaSyncLevel syncLevel,
684  SCOREP_RmaWindowHandle windowHandle,
685  uint32_t root,
686  uint64_t bytesSent,
687  uint64_t bytesReceived );
688 
711  struct SCOREP_Location* location,
712  uint64_t timestamp,
713  SCOREP_RmaWindowHandle windowHandle,
714  uint32_t remote,
715  uint64_t lockId,
716  SCOREP_LockType lockType );
717 
736  struct SCOREP_Location* location,
737  uint64_t timestamp,
738  SCOREP_RmaWindowHandle windowHandle,
739  uint32_t remote,
740  uint64_t lockId,
741  SCOREP_LockType lockType );
742 
743 
763  struct SCOREP_Location* location,
764  uint64_t timestamp,
765  SCOREP_RmaWindowHandle windowHandle,
766  uint32_t remote,
767  uint64_t lockId,
768  SCOREP_LockType lockType );
769 
770 
788  struct SCOREP_Location* location,
789  uint64_t timestamp,
790  SCOREP_RmaWindowHandle windowHandle,
791  uint32_t remote,
792  uint64_t lockId );
793 
809 typedef void ( * SCOREP_Substrates_RmaSyncCb )(
810  struct SCOREP_Location* location,
811  uint64_t timestamp,
812  SCOREP_RmaWindowHandle windowHandle,
813  uint32_t remote,
814  SCOREP_RmaSyncType syncType );
815 
832  struct SCOREP_Location* location,
833  uint64_t timestamp,
834  SCOREP_RmaSyncLevel syncLevel,
835  SCOREP_RmaWindowHandle windowHandle,
836  SCOREP_GroupHandle groupHandle );
837 
861 typedef void ( * SCOREP_Substrates_RmaPutCb )(
862  struct SCOREP_Location* location,
863  uint64_t timestamp,
864  SCOREP_RmaWindowHandle windowHandle,
865  uint32_t remote,
866  uint64_t bytes,
867  uint64_t matchingId );
868 
869 typedef void ( * SCOREP_Substrates_RmaGetCb )(
870  struct SCOREP_Location* location,
871  uint64_t timestamp,
872  SCOREP_RmaWindowHandle windowHandle,
873  uint32_t remote,
874  uint64_t bytes,
875  uint64_t matchingId );
876 
905 typedef void ( * SCOREP_Substrates_RmaAtomicCb )(
906  struct SCOREP_Location* location,
907  uint64_t timestamp,
908  SCOREP_RmaWindowHandle windowHandle,
909  uint32_t remote,
911  uint64_t bytesSent,
912  uint64_t bytesReceived,
913  uint64_t matchingId );
914 
928  struct SCOREP_Location* location,
929  uint64_t timestamp,
930  SCOREP_RmaWindowHandle windowHandle );
931 
953  struct SCOREP_Location* location,
954  uint64_t timestamp,
955  SCOREP_RmaWindowHandle windowHandle,
956  uint64_t matchingId );
957 
958 typedef void ( * SCOREP_Substrates_RmaOpCompleteNonBlockingCb )(
959  struct SCOREP_Location* location,
960  uint64_t timestamp,
961  SCOREP_RmaWindowHandle windowHandle,
962  uint64_t matchingId );
963 
981 typedef void ( * SCOREP_Substrates_RmaOpTestCb )(
982  struct SCOREP_Location* location,
983  uint64_t timestamp,
984  SCOREP_RmaWindowHandle windowHandle,
985  uint64_t matchingId );
986 
987 
1005  struct SCOREP_Location* location,
1006  uint64_t timestamp,
1007  SCOREP_RmaWindowHandle windowHandle,
1008  uint64_t matchingId );
1009 
1010 
1029  struct SCOREP_Location* location,
1030  uint64_t timestamp,
1031  SCOREP_ParadigmType paradigm,
1032  uint32_t lockId,
1033  uint32_t acquisitionOrder );
1034 
1035 
1036 typedef void ( * SCOREP_Substrates_ThreadReleaseLockCb )(
1037  struct SCOREP_Location* location,
1038  uint64_t timestamp,
1039  SCOREP_ParadigmType paradigm,
1040  uint32_t lockId,
1041  uint32_t acquisitionOrder );
1042 
1060  struct SCOREP_Location* location,
1061  uint64_t timestamp,
1062  SCOREP_SamplingSetHandle counterHandle,
1063  int64_t value );
1064 
1065 typedef void ( * SCOREP_Substrates_TriggerCounterUint64Cb )(
1066  struct SCOREP_Location* location,
1067  uint64_t timestamp,
1068  SCOREP_SamplingSetHandle counterHandle,
1069  uint64_t value );
1070 
1071 typedef void ( * SCOREP_Substrates_TriggerCounterDoubleCb )(
1072  struct SCOREP_Location* location,
1073  uint64_t timestamp,
1074  SCOREP_SamplingSetHandle counterHandle,
1075  double value );
1094  struct SCOREP_Location* location,
1095  uint64_t timestamp,
1096  SCOREP_ParameterHandle parameterHandle,
1097  int64_t value );
1098 
1099 typedef void ( * SCOREP_Substrates_TriggerParameterUint64Cb )(
1100  struct SCOREP_Location* location,
1101  uint64_t timestamp,
1102  SCOREP_ParameterHandle parameterHandle,
1103  uint64_t value );
1120  struct SCOREP_Location* location,
1121  uint64_t timestamp,
1122  SCOREP_ParameterHandle parameterHandle,
1123  SCOREP_StringHandle string_handle );
1124 
1144  struct SCOREP_Location* location,
1145  uint64_t timestamp,
1146  SCOREP_ParadigmType paradigm,
1147  uint32_t nRequestedThreads,
1148  uint32_t forkSequenceCount );
1149 
1161  struct SCOREP_Location* location,
1162  uint64_t timestamp,
1163  SCOREP_ParadigmType paradigm );
1164 
1181  struct SCOREP_Location* location,
1182  uint64_t timestamp,
1183  SCOREP_ParadigmType paradigm,
1184  SCOREP_InterimCommunicatorHandle threadTeam,
1185  uint64_t threadId );
1186 
1187 typedef void ( * SCOREP_Substrates_ThreadForkJoinTeamEndCb )(
1188  struct SCOREP_Location* location,
1189  uint64_t timestamp,
1190  SCOREP_ParadigmType paradigm,
1191  SCOREP_InterimCommunicatorHandle threadTeam );
1192 
1219  struct SCOREP_Location* location,
1220  uint64_t timestamp,
1221  SCOREP_ParadigmType paradigm,
1222  SCOREP_InterimCommunicatorHandle threadTeam,
1223  uint32_t threadId,
1224  uint32_t generationNumber );
1225 
1252  struct SCOREP_Location* location,
1253  uint64_t timestamp,
1254  uint64_t* metricValues,
1255  SCOREP_ParadigmType paradigm,
1256  SCOREP_InterimCommunicatorHandle threadTeam,
1257  uint32_t threadId,
1258  uint32_t generationNumber,
1259  SCOREP_TaskHandle taskHandle );
1260 
1289  struct SCOREP_Location* location,
1290  uint64_t timestamp,
1291  SCOREP_RegionHandle regionHandle,
1292  uint64_t* metricValues,
1293  SCOREP_ParadigmType paradigm,
1294  SCOREP_InterimCommunicatorHandle threadTeam,
1295  uint32_t threadId,
1296  uint32_t generationNumber,
1297  SCOREP_TaskHandle taskHandle );
1298 
1299 typedef void ( * SCOREP_Substrates_ThreadForkJoinTaskEndCb )(
1300  struct SCOREP_Location* location,
1301  uint64_t timestamp,
1302  SCOREP_RegionHandle regionHandle,
1303  uint64_t* metricValues,
1304  SCOREP_ParadigmType paradigm,
1305  SCOREP_InterimCommunicatorHandle threadTeam,
1306  uint32_t threadId,
1307  uint32_t generationNumber,
1308  SCOREP_TaskHandle taskHandle );
1309 
1332  struct SCOREP_Location* location,
1333  uint64_t timestamp,
1334  SCOREP_ParadigmType paradigm,
1335  SCOREP_InterimCommunicatorHandle threadTeam,
1336  uint32_t createSequenceCount );
1337 
1338 typedef void ( * SCOREP_Substrates_ThreadCreateWaitWaitCb )(
1339  struct SCOREP_Location* location,
1340  uint64_t timestamp,
1341  SCOREP_ParadigmType paradigm,
1342  SCOREP_InterimCommunicatorHandle threadTeam,
1343  uint32_t createSequenceCount );
1344 
1345 typedef void ( * SCOREP_Substrates_ThreadCreateWaitBeginCb )(
1346  struct SCOREP_Location* location,
1347  uint64_t timestamp,
1348  SCOREP_ParadigmType paradigm,
1349  SCOREP_InterimCommunicatorHandle threadTeam,
1350  uint32_t createSequenceCount,
1351  uint64_t threadId );
1352 
1353 typedef void ( * SCOREP_Substrates_ThreadCreateWaitEndCb )(
1354  struct SCOREP_Location* location,
1355  uint64_t timestamp,
1356  SCOREP_ParadigmType paradigm,
1357  SCOREP_InterimCommunicatorHandle threadTeam,
1358  uint32_t createSequenceCount );
1359 
1381  struct SCOREP_Location* location,
1382  uint64_t timestamp,
1383  uint64_t addrAllocated,
1384  size_t bytesAllocated,
1385  void* substrateData[],
1386  size_t bytesAllocatedMetric,
1387  size_t bytesAllocatedProcess );
1388 
1414  struct SCOREP_Location* location,
1415  uint64_t timestamp,
1416  uint64_t oldAddr,
1417  size_t oldBytesAllocated,
1418  void* oldSubstrateData[],
1419  uint64_t newAddr,
1420  size_t newBytesAllocated,
1421  void* newSubstrateData[],
1422  size_t bytesAllocatedMetric,
1423  size_t bytesAllocatedProcess );
1424 
1444  struct SCOREP_Location* location,
1445  uint64_t timestamp,
1446  uint64_t addrFreed,
1447  size_t bytesFreed,
1448  void* substrateData[],
1449  size_t bytesAllocatedMetric,
1450  size_t bytesAllocatedProcess );
1451 
1452 
1470  struct SCOREP_Location* location,
1471  uint64_t timestamp,
1472  SCOREP_SamplingSetHandle samplingSet,
1473  const uint64_t* metricValues );
1474 
1475 
1489  struct SCOREP_Location* location,
1490  uint64_t timestamp,
1491  SCOREP_IoHandleHandle handle,
1492  SCOREP_IoAccessMode mode,
1493  SCOREP_IoCreationFlag creationFlags,
1494  SCOREP_IoStatusFlag statusFlags );
1495 
1504  struct SCOREP_Location* location,
1505  uint64_t timestamp,
1506  SCOREP_IoHandleHandle handle );
1507 
1518  struct SCOREP_Location* location,
1519  uint64_t timestamp,
1520  SCOREP_IoHandleHandle oldHandle,
1521  SCOREP_IoHandleHandle newHandle,
1522  SCOREP_IoStatusFlag statusFlags );
1523 
1534 typedef void ( * SCOREP_Substrates_IoSeekCb )(
1535  struct SCOREP_Location* location,
1536  uint64_t timestamp,
1537  SCOREP_IoHandleHandle handle,
1538  int64_t offsetRequest,
1539  SCOREP_IoSeekOption whence,
1540  uint64_t offsetResult );
1541 
1551  struct SCOREP_Location* location,
1552  uint64_t timestamp,
1553  SCOREP_IoHandleHandle handle,
1554  SCOREP_IoStatusFlag statusFlags );
1555 
1565  struct SCOREP_Location* location,
1566  uint64_t timestamp,
1567  SCOREP_IoParadigmType ioParadigm,
1568  SCOREP_IoFileHandle ioFile );
1569 
1582  struct SCOREP_Location* location,
1583  uint64_t timestamp,
1584  SCOREP_IoHandleHandle handle,
1586  SCOREP_IoOperationFlag operationFlags,
1587  uint64_t bytesRequest,
1588  uint64_t matchingId,
1589  uint64_t offset );
1590 
1600  struct SCOREP_Location* location,
1601  uint64_t timestamp,
1602  SCOREP_IoHandleHandle handle,
1603  uint64_t matchingId );
1604 
1614  struct SCOREP_Location* location,
1615  uint64_t timestamp,
1616  SCOREP_IoHandleHandle handle,
1617  uint64_t matchingId );
1618 
1630  struct SCOREP_Location* location,
1631  uint64_t timestamp,
1632  SCOREP_IoHandleHandle handle,
1634  uint64_t bytesResult,
1635  uint64_t matchingId );
1636 
1646  struct SCOREP_Location* location,
1647  uint64_t timestamp,
1648  SCOREP_IoHandleHandle handle,
1649  uint64_t matchingId );
1650 
1662  struct SCOREP_Location* location,
1663  uint64_t timestamp,
1664  SCOREP_IoHandleHandle handle,
1665  SCOREP_LockType lockType );
1666 
1667 typedef void ( * SCOREP_Substrates_IoReleaseLockCb )(
1668  struct SCOREP_Location* location,
1669  uint64_t timestamp,
1670  SCOREP_IoHandleHandle handle,
1671  SCOREP_LockType lockType );
1672 
1673 typedef void ( * SCOREP_Substrates_IoTryLockCb )(
1674  struct SCOREP_Location* location,
1675  uint64_t timestamp,
1676  SCOREP_IoHandleHandle handle,
1677  SCOREP_LockType lockType );
1678 
1683 #endif /* SCOREP_SUBSTRATE_EVENTS_H */
void(* SCOREP_Substrates_ThreadForkJoinTeamBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam, uint64_t threadId)
Definition: SCOREP_SubstrateEvents.h:1180
Definition: SCOREP_SubstrateEvents.h:111
SCOREP_AnyHandle SCOREP_SamplingSetHandle
Definition: SCOREP_PublicTypes.h:133
struct SCOREP_Task * SCOREP_TaskHandle
Definition: SCOREP_PublicTypes.h:172
void(* SCOREP_Substrates_ProgramBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_StringHandle programName, uint32_t numberOfProgramArgs, SCOREP_StringHandle *programArguments, SCOREP_RegionHandle programRegionHandle, uint64_t processId, uint64_t threadId)
Definition: SCOREP_SubstrateEvents.h:238
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:1028
Definition: SCOREP_SubstrateEvents.h:116
Definition: SCOREP_SubstrateEvents.h:121
Definition: SCOREP_SubstrateEvents.h:79
Definition: SCOREP_SubstrateEvents.h:134
Definition: SCOREP_SubstrateEvents.h:148
Definition: SCOREP_SubstrateEvents.h:90
void(* SCOREP_Substrates_IoOperationCancelledCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:1645
Definition: SCOREP_SubstrateEvents.h:128
Definition: SCOREP_SubstrateEvents.h:118
Definition: SCOREP_SubstrateEvents.h:147
Definition: SCOREP_SubstrateEvents.h:150
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:420
Definition: SCOREP_SubstrateEvents.h:82
Definition: SCOREP_SubstrateEvents.h:60
Definition: SCOREP_SubstrateEvents.h:98
Definition: SCOREP_SubstrateEvents.h:113
Definition: SCOREP_SubstrateEvents.h:141
SCOREP_CollectiveType
Types to specify the used collectives in calls to SCOREP_MpiCollectiveBegin and SCOREP_RmaCollectiveB...
Definition: SCOREP_PublicTypes.h:178
Definition: SCOREP_SubstrateEvents.h:80
void(* SCOREP_Substrates_MpiRequestCancelledCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:554
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:679
void(* SCOREP_Substrates_IoDeleteFileCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoParadigmType ioParadigm, SCOREP_IoFileHandle ioFile)
Definition: SCOREP_SubstrateEvents.h:1564
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:522
Definition: SCOREP_SubstrateEvents.h:137
Definition: SCOREP_SubstrateEvents.h:85
SCOREP_RmaSyncType
Type of direct RMA synchronization call.
Definition: SCOREP_PublicTypes.h:511
void(* SCOREP_Substrates_RmaCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaSyncLevel syncLevel)
Definition: SCOREP_SubstrateEvents.h:654
Definition: SCOREP_SubstrateEvents.h:72
void(* SCOREP_Substrates_RmaOpCompleteRemoteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:1004
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:710
int SCOREP_MpiRank
Definition: SCOREP_PublicTypes.h:246
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:861
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:538
void(* SCOREP_Substrates_ProgramEndCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ExitStatus exitStatus, SCOREP_RegionHandle programRegionHandle)
Definition: SCOREP_SubstrateEvents.h:258
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:809
void(* SCOREP_Substrates_IoDuplicateHandleCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle oldHandle, SCOREP_IoHandleHandle newHandle, SCOREP_IoStatusFlag statusFlags)
Definition: SCOREP_SubstrateEvents.h:1517
SCOREP_ParadigmType
defines paradigms that are be monitored
Definition: SCOREP_PublicTypes.h:346
void(* SCOREP_Substrates_ThreadCreateWaitCreateCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam, uint32_t createSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1331
void(* SCOREP_Substrates_RmaGroupSyncCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaSyncLevel syncLevel, SCOREP_RmaWindowHandle windowHandle, SCOREP_GroupHandle groupHandle)
Definition: SCOREP_SubstrateEvents.h:831
SCOREP_LockType
Definition: SCOREP_PublicTypes.h:230
void(* SCOREP_Substrates_IoOperationBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, SCOREP_IoOperationMode mode, SCOREP_IoOperationFlag operationFlags, uint64_t bytesRequest, uint64_t matchingId, uint64_t offset)
Definition: SCOREP_SubstrateEvents.h:1581
void(* SCOREP_Substrates_RmaReleaseLockCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, uint64_t lockId)
Definition: SCOREP_SubstrateEvents.h:787
void(* SCOREP_Substrates_TriggerParameterStringCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, SCOREP_StringHandle string_handle)
Definition: SCOREP_SubstrateEvents.h:1119
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:735
void(* SCOREP_Substrates_EnableRecordingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:171
void(* SCOREP_Substrates_TriggerCounterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_SamplingSetHandle counterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:1059
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:604
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:316
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:486
Definition: SCOREP_SubstrateEvents.h:127
Definition: SCOREP_SubstrateEvents.h:126
void(* SCOREP_Substrates_IoCreateHandleCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, SCOREP_IoAccessMode mode, SCOREP_IoCreationFlag creationFlags, SCOREP_IoStatusFlag statusFlags)
Definition: SCOREP_SubstrateEvents.h:1488
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:377
SCOREP_IoAccessMode
Definition: SCOREP_PublicTypes.h:657
void(* SCOREP_Substrates_RmaWinDestroyCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:638
void(* SCOREP_Substrates_ExitRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:288
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
SCOREP_IoSeekOption
Definition: SCOREP_PublicTypes.h:749
void(* SCOREP_Substrates_ExitRewindRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, bool doRewind)
Definition: SCOREP_SubstrateEvents.h:396
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:577
void(* SCOREP_Substrates_MpiCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp)
Definition: SCOREP_SubstrateEvents.h:463
Definition: SCOREP_SubstrateEvents.h:92
SCOREP_IoCreationFlag
Definition: SCOREP_PublicTypes.h:676
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:212
Definition: SCOREP_SubstrateEvents.h:146
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:1218
SCOREP_IoStatusFlag
Definition: SCOREP_PublicTypes.h:716
void(* SCOREP_Substrates_OnTracingBufferFlushBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:202
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:905
void(* SCOREP_Substrates_ThreadForkJoinForkCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, uint32_t nRequestedThreads, uint32_t forkSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1143
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:357
Definition: SCOREP_SubstrateEvents.h:136
Definition: SCOREP_SubstrateEvents.h:109
void(* SCOREP_Substrates_IoAcquireLockCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, SCOREP_LockType lockType)
Definition: SCOREP_SubstrateEvents.h:1661
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:1160
Definition: SCOREP_SubstrateEvents.h:144
Definition: SCOREP_SubstrateEvents.h:87
Definition: SCOREP_SubstrateEvents.h:145
Definition: SCOREP_SubstrateEvents.h:131
Definition: SCOREP_SubstrateEvents.h:96
void(* SCOREP_Substrates_IoOperationTestCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:1613
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:927
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:1413
SCOREP_RmaAtomicType
specifies a RMA Atomic Operation Type.
Definition: SCOREP_PublicTypes.h:576
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:185
Definition: SCOREP_SubstrateEvents.h:140
Definition: SCOREP_SubstrateEvents.h:97
Definition: SCOREP_SubstrateEvents.h:75
SCOREP_IoOperationMode
Definition: SCOREP_PublicTypes.h:768
Definition: SCOREP_SubstrateEvents.h:70
Definition: SCOREP_SubstrateEvents.h:107
uint64_t SCOREP_MpiRequestId
Definition: SCOREP_PublicTypes.h:252
Definition: SCOREP_SubstrateEvents.h:108
Definition: SCOREP_SubstrateEvents.h:123
Definition: SCOREP_SubstrateEvents.h:135
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:446
SCOREP_IoOperationFlag
Definition: SCOREP_PublicTypes.h:784
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:623
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:1380
void(* SCOREP_Substrates_IoOperationCompleteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, SCOREP_IoOperationMode mode, uint64_t bytesResult, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:1629
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:1251
Definition: SCOREP_SubstrateEvents.h:101
Definition: SCOREP_SubstrateEvents.h:139
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:1469
Definition: SCOREP_SubstrateEvents.h:77
void(* SCOREP_Substrates_MpiIsendCompleteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:506
Definition: SCOREP_SubstrateEvents.h:103
Definition: SCOREP_SubstrateEvents.h:117
void(* SCOREP_Substrates_IoDestroyHandleCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle)
Definition: SCOREP_SubstrateEvents.h:1503
Definition: SCOREP_SubstrateEvents.h:58
Definition: SCOREP_SubstrateEvents.h:129
int64_t SCOREP_ExitStatus
Definition: SCOREP_PublicTypes.h:61
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:981
Definition: SCOREP_SubstrateEvents.h:138
SCOREP_AnyHandle SCOREP_RegionHandle
Definition: SCOREP_PublicTypes.h:145
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:343
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:1288
void(* SCOREP_Substrates_MpiRequestTestedCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:538
Definition: SCOREP_SubstrateEvents.h:76
Definition: SCOREP_SubstrateEvents.h:112
Definition: SCOREP_SubstrateEvents.h:143
void(* SCOREP_Substrates_EnterRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:277
void(* SCOREP_Substrates_IoSeekCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, int64_t offsetRequest, SCOREP_IoSeekOption whence, uint64_t offsetResult)
Definition: SCOREP_SubstrateEvents.h:1534
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:762
void(* SCOREP_Substrates_TriggerParameterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:1093
Definition: SCOREP_SubstrateEvents.h:142
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:952
void(* SCOREP_Substrates_IoChangeStatusFlagsCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, SCOREP_IoStatusFlag statusFlags)
Definition: SCOREP_SubstrateEvents.h:1550
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:1443
void(* SCOREP_Substrates_IoOperationIssuedCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:1599
SCOREP_IoParadigmType
Definition: SCOREP_PublicTypes.h:643