8.4 (revision 624046d2)
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, 2022,
11  * Forschungszentrum Juelich GmbH, Germany
12  *
13  * Copyright (c) 2022,
14  * Deutsches Zentrum fuer Luft- und Raumfahrt, Germany
15  *
16  * This software may be modified and distributed under the terms of
17  * a BSD-style license. See the COPYING file in the package base
18  * directory for details.
19  *
20  */
21 
22 
29 #ifndef SCOREP_SUBSTRATE_EVENTS_H
30 #define SCOREP_SUBSTRATE_EVENTS_H
31 
38 #include <stdbool.h>
39 #include <stddef.h>
40 
44 
45 
49 typedef void ( * SCOREP_Substrates_Callback )( void );
50 
51 struct SCOREP_Location;
52 
59 {
65 
72 {
159 
160 
179  struct SCOREP_Location* location,
180  uint64_t timestamp,
181  SCOREP_RegionHandle regionHandle,
182  uint64_t* metricValues );
183 
193  struct SCOREP_Location* location,
194  uint64_t timestamp,
195  SCOREP_RegionHandle regionHandle,
196  uint64_t* metricValues );
197 
210  struct SCOREP_Location* location,
211  uint64_t timestamp,
212  SCOREP_RegionHandle regionHandle,
213  uint64_t* metricValues );
214 
220  struct SCOREP_Location* location,
221  uint64_t timestamp,
222  SCOREP_RegionHandle regionHandle,
223  uint64_t* metricValues );
224 
246  struct SCOREP_Location* location,
247  uint64_t timestamp,
248  SCOREP_StringHandle programName,
249  uint32_t numberOfProgramArgs,
250  SCOREP_StringHandle* programArguments,
251  SCOREP_RegionHandle programRegionHandle,
252  uint64_t processId,
253  uint64_t threadId );
266  struct SCOREP_Location* location,
267  uint64_t timestamp,
268  SCOREP_ExitStatus exitStatus,
269  SCOREP_RegionHandle programRegionHandle );
270 
285  struct SCOREP_Location* location,
286  uint64_t timestamp,
287  SCOREP_RegionHandle regionHandle,
288  uint64_t* metricValues );
289 
296  struct SCOREP_Location* location,
297  uint64_t timestamp,
298  SCOREP_RegionHandle regionHandle,
299  uint64_t* metricValues );
300 
323 typedef void ( * SCOREP_Substrates_SampleCb )(
324  struct SCOREP_Location* location,
325  uint64_t timestamp,
326  SCOREP_CallingContextHandle callingContext,
327  SCOREP_CallingContextHandle previousCallingContext,
328  uint32_t unwindDistance,
329  SCOREP_InterruptGeneratorHandle interruptGeneratorHandle,
330  uint64_t* metricValues );
331 
351  struct SCOREP_Location* location,
352  uint64_t timestamp,
353  SCOREP_CallingContextHandle callingContext,
354  SCOREP_CallingContextHandle previousCallingContext,
355  uint32_t unwindDistance,
356  uint64_t* metricValues );
357 
365  struct SCOREP_Location* location,
366  uint64_t timestamp,
367  SCOREP_CallingContextHandle callingContext,
368  SCOREP_CallingContextHandle previousCallingContext,
369  uint32_t unwindDistance,
370  uint64_t* metricValues );
371 
385  struct SCOREP_Location* location,
386  uint64_t timestamp,
387  SCOREP_RegionHandle regionHandle );
388 
404  struct SCOREP_Location* location,
405  uint64_t timestamp,
406  SCOREP_RegionHandle regionHandle,
407  bool doRewind );
408 
427 typedef void ( * SCOREP_Substrates_MpiSendCb )(
428  struct SCOREP_Location* location,
429  uint64_t timestamp,
430  SCOREP_MpiRank destinationRank,
431  SCOREP_InterimCommunicatorHandle communicatorHandle,
432  uint32_t tag,
433  uint64_t bytesSent );
434 
453 typedef void ( * SCOREP_Substrates_MpiRecvCb )(
454  struct SCOREP_Location* location,
455  uint64_t timestamp,
456  SCOREP_MpiRank sourceRank,
457  SCOREP_InterimCommunicatorHandle communicatorHandle,
458  uint32_t tag,
459  uint64_t bytesReceived );
460 
471  struct SCOREP_Location* location,
472  uint64_t timestamp );
473 
474 
494  struct SCOREP_Location* location,
495  uint64_t timestamp,
496  SCOREP_InterimCommunicatorHandle communicatorHandle,
497  SCOREP_MpiRank rootRank,
498  SCOREP_CollectiveType collectiveType,
499  uint64_t bytesSent,
500  uint64_t bytesReceived );
501 
514  struct SCOREP_Location* location,
515  uint64_t timestamp,
516  SCOREP_MpiRequestId requestId );
517 
518 
540  struct SCOREP_Location* location,
541  uint64_t timestamp,
542  SCOREP_InterimCommunicatorHandle communicatorHandle,
543  SCOREP_MpiRank rootRank,
544  SCOREP_CollectiveType collectiveType,
545  uint64_t bytesSent,
546  uint64_t bytesReceived,
547  SCOREP_MpiRequestId requestId );
548 
561  struct SCOREP_Location* location,
562  uint64_t timestamp,
563  SCOREP_MpiRequestId requestId );
564 
577  struct SCOREP_Location* location,
578  uint64_t timestamp,
579  SCOREP_MpiRequestId requestId );
580 
593  struct SCOREP_Location* location,
594  uint64_t timestamp,
595  SCOREP_MpiRequestId requestId );
596 
609  struct SCOREP_Location* location,
610  uint64_t timestamp,
611  SCOREP_MpiRequestId requestId );
612 
631 typedef void ( * SCOREP_Substrates_MpiIsendCb )(
632  struct SCOREP_Location* location,
633  uint64_t timestamp,
634  SCOREP_MpiRank destinationRank,
635  SCOREP_InterimCommunicatorHandle communicatorHandle,
636  uint32_t tag,
637  uint64_t bytesSent,
638  SCOREP_MpiRequestId requestId );
639 
658 typedef void ( * SCOREP_Substrates_MpiIrecvCb )(
659  struct SCOREP_Location* location,
660  uint64_t timestamp,
661  SCOREP_MpiRank sourceRank,
662  SCOREP_InterimCommunicatorHandle communicatorHandle,
663  uint32_t tag,
664  uint64_t bytesReceived,
665  SCOREP_MpiRequestId requestId );
666 
678  struct SCOREP_Location* location,
679  uint64_t timestamp,
680  SCOREP_RmaWindowHandle windowHandle );
681 
693  struct SCOREP_Location* location,
694  uint64_t timestamp,
695  SCOREP_RmaWindowHandle windowHandle );
696 
709  struct SCOREP_Location* location,
710  uint64_t timestamp,
711  SCOREP_RmaSyncLevel syncLevel );
712 
734  struct SCOREP_Location* location,
735  uint64_t timestamp,
736  SCOREP_CollectiveType collectiveOp,
737  SCOREP_RmaSyncLevel syncLevel,
738  SCOREP_RmaWindowHandle windowHandle,
739  uint32_t root,
740  uint64_t bytesSent,
741  uint64_t bytesReceived );
742 
765  struct SCOREP_Location* location,
766  uint64_t timestamp,
767  SCOREP_RmaWindowHandle windowHandle,
768  uint32_t remote,
769  uint64_t lockId,
770  SCOREP_LockType lockType );
771 
790  struct SCOREP_Location* location,
791  uint64_t timestamp,
792  SCOREP_RmaWindowHandle windowHandle,
793  uint32_t remote,
794  uint64_t lockId,
795  SCOREP_LockType lockType );
796 
797 
817  struct SCOREP_Location* location,
818  uint64_t timestamp,
819  SCOREP_RmaWindowHandle windowHandle,
820  uint32_t remote,
821  uint64_t lockId,
822  SCOREP_LockType lockType );
823 
824 
842  struct SCOREP_Location* location,
843  uint64_t timestamp,
844  SCOREP_RmaWindowHandle windowHandle,
845  uint32_t remote,
846  uint64_t lockId );
847 
863 typedef void ( * SCOREP_Substrates_RmaSyncCb )(
864  struct SCOREP_Location* location,
865  uint64_t timestamp,
866  SCOREP_RmaWindowHandle windowHandle,
867  uint32_t remote,
868  SCOREP_RmaSyncType syncType );
869 
886  struct SCOREP_Location* location,
887  uint64_t timestamp,
888  SCOREP_RmaSyncLevel syncLevel,
889  SCOREP_RmaWindowHandle windowHandle,
890  SCOREP_GroupHandle groupHandle );
891 
915 typedef void ( * SCOREP_Substrates_RmaPutCb )(
916  struct SCOREP_Location* location,
917  uint64_t timestamp,
918  SCOREP_RmaWindowHandle windowHandle,
919  uint32_t remote,
920  uint64_t bytes,
921  uint64_t matchingId );
922 
923 typedef void ( * SCOREP_Substrates_RmaGetCb )(
924  struct SCOREP_Location* location,
925  uint64_t timestamp,
926  SCOREP_RmaWindowHandle windowHandle,
927  uint32_t remote,
928  uint64_t bytes,
929  uint64_t matchingId );
930 
959 typedef void ( * SCOREP_Substrates_RmaAtomicCb )(
960  struct SCOREP_Location* location,
961  uint64_t timestamp,
962  SCOREP_RmaWindowHandle windowHandle,
963  uint32_t remote,
965  uint64_t bytesSent,
966  uint64_t bytesReceived,
967  uint64_t matchingId );
968 
982  struct SCOREP_Location* location,
983  uint64_t timestamp,
984  SCOREP_RmaWindowHandle windowHandle );
985 
1007  struct SCOREP_Location* location,
1008  uint64_t timestamp,
1009  SCOREP_RmaWindowHandle windowHandle,
1010  uint64_t matchingId );
1011 
1012 typedef void ( * SCOREP_Substrates_RmaOpCompleteNonBlockingCb )(
1013  struct SCOREP_Location* location,
1014  uint64_t timestamp,
1015  SCOREP_RmaWindowHandle windowHandle,
1016  uint64_t matchingId );
1017 
1036  struct SCOREP_Location* location,
1037  uint64_t timestamp,
1038  SCOREP_RmaWindowHandle windowHandle,
1039  uint64_t matchingId );
1040 
1041 
1059  struct SCOREP_Location* location,
1060  uint64_t timestamp,
1061  SCOREP_RmaWindowHandle windowHandle,
1062  uint64_t matchingId );
1063 
1064 
1083  struct SCOREP_Location* location,
1084  uint64_t timestamp,
1085  SCOREP_ParadigmType paradigm,
1086  uint32_t lockId,
1087  uint32_t acquisitionOrder );
1088 
1089 
1090 typedef void ( * SCOREP_Substrates_ThreadReleaseLockCb )(
1091  struct SCOREP_Location* location,
1092  uint64_t timestamp,
1093  SCOREP_ParadigmType paradigm,
1094  uint32_t lockId,
1095  uint32_t acquisitionOrder );
1096 
1114  struct SCOREP_Location* location,
1115  uint64_t timestamp,
1116  SCOREP_SamplingSetHandle counterHandle,
1117  int64_t value );
1118 
1119 typedef void ( * SCOREP_Substrates_TriggerCounterUint64Cb )(
1120  struct SCOREP_Location* location,
1121  uint64_t timestamp,
1122  SCOREP_SamplingSetHandle counterHandle,
1123  uint64_t value );
1124 
1125 typedef void ( * SCOREP_Substrates_TriggerCounterDoubleCb )(
1126  struct SCOREP_Location* location,
1127  uint64_t timestamp,
1128  SCOREP_SamplingSetHandle counterHandle,
1129  double value );
1148  struct SCOREP_Location* location,
1149  uint64_t timestamp,
1150  SCOREP_ParameterHandle parameterHandle,
1151  int64_t value );
1152 
1153 typedef void ( * SCOREP_Substrates_TriggerParameterUint64Cb )(
1154  struct SCOREP_Location* location,
1155  uint64_t timestamp,
1156  SCOREP_ParameterHandle parameterHandle,
1157  uint64_t value );
1174  struct SCOREP_Location* location,
1175  uint64_t timestamp,
1176  SCOREP_ParameterHandle parameterHandle,
1177  SCOREP_StringHandle string_handle );
1178 
1198  struct SCOREP_Location* location,
1199  uint64_t timestamp,
1200  SCOREP_ParadigmType paradigm,
1201  uint32_t nRequestedThreads,
1202  uint32_t forkSequenceCount );
1203 
1215  struct SCOREP_Location* location,
1216  uint64_t timestamp,
1217  SCOREP_ParadigmType paradigm );
1218 
1235  struct SCOREP_Location* location,
1236  uint64_t timestamp,
1237  SCOREP_ParadigmType paradigm,
1238  SCOREP_InterimCommunicatorHandle threadTeam,
1239  uint64_t threadId );
1240 
1241 typedef void ( * SCOREP_Substrates_ThreadForkJoinTeamEndCb )(
1242  struct SCOREP_Location* location,
1243  uint64_t timestamp,
1244  SCOREP_ParadigmType paradigm,
1245  SCOREP_InterimCommunicatorHandle threadTeam );
1246 
1273  struct SCOREP_Location* location,
1274  uint64_t timestamp,
1275  SCOREP_ParadigmType paradigm,
1276  SCOREP_InterimCommunicatorHandle threadTeam,
1277  uint32_t threadId,
1278  uint32_t generationNumber );
1279 
1306  struct SCOREP_Location* location,
1307  uint64_t timestamp,
1308  uint64_t* metricValues,
1309  SCOREP_ParadigmType paradigm,
1310  SCOREP_InterimCommunicatorHandle threadTeam,
1311  uint32_t threadId,
1312  uint32_t generationNumber,
1313  SCOREP_TaskHandle taskHandle );
1314 
1343  struct SCOREP_Location* location,
1344  uint64_t timestamp,
1345  SCOREP_RegionHandle regionHandle,
1346  uint64_t* metricValues,
1347  SCOREP_ParadigmType paradigm,
1348  SCOREP_InterimCommunicatorHandle threadTeam,
1349  uint32_t threadId,
1350  uint32_t generationNumber,
1351  SCOREP_TaskHandle taskHandle );
1352 
1353 typedef void ( * SCOREP_Substrates_ThreadForkJoinTaskEndCb )(
1354  struct SCOREP_Location* location,
1355  uint64_t timestamp,
1356  SCOREP_RegionHandle regionHandle,
1357  uint64_t* metricValues,
1358  SCOREP_ParadigmType paradigm,
1359  SCOREP_InterimCommunicatorHandle threadTeam,
1360  uint32_t threadId,
1361  uint32_t generationNumber,
1362  SCOREP_TaskHandle taskHandle );
1363 
1386  struct SCOREP_Location* location,
1387  uint64_t timestamp,
1388  SCOREP_ParadigmType paradigm,
1389  SCOREP_InterimCommunicatorHandle threadTeam,
1390  uint32_t createSequenceCount );
1391 
1392 typedef void ( * SCOREP_Substrates_ThreadCreateWaitWaitCb )(
1393  struct SCOREP_Location* location,
1394  uint64_t timestamp,
1395  SCOREP_ParadigmType paradigm,
1396  SCOREP_InterimCommunicatorHandle threadTeam,
1397  uint32_t createSequenceCount );
1398 
1399 typedef void ( * SCOREP_Substrates_ThreadCreateWaitBeginCb )(
1400  struct SCOREP_Location* location,
1401  uint64_t timestamp,
1402  SCOREP_ParadigmType paradigm,
1403  SCOREP_InterimCommunicatorHandle threadTeam,
1404  uint32_t createSequenceCount,
1405  uint64_t threadId );
1406 
1407 typedef void ( * SCOREP_Substrates_ThreadCreateWaitEndCb )(
1408  struct SCOREP_Location* location,
1409  uint64_t timestamp,
1410  SCOREP_ParadigmType paradigm,
1411  SCOREP_InterimCommunicatorHandle threadTeam,
1412  uint32_t createSequenceCount );
1413 
1435  struct SCOREP_Location* location,
1436  uint64_t timestamp,
1437  uint64_t addrAllocated,
1438  size_t bytesAllocated,
1439  void* substrateData[],
1440  size_t bytesAllocatedMetric,
1441  size_t bytesAllocatedProcess );
1442 
1468  struct SCOREP_Location* location,
1469  uint64_t timestamp,
1470  uint64_t oldAddr,
1471  size_t oldBytesAllocated,
1472  void* oldSubstrateData[],
1473  uint64_t newAddr,
1474  size_t newBytesAllocated,
1475  void* newSubstrateData[],
1476  size_t bytesAllocatedMetric,
1477  size_t bytesAllocatedProcess );
1478 
1498  struct SCOREP_Location* location,
1499  uint64_t timestamp,
1500  uint64_t addrFreed,
1501  size_t bytesFreed,
1502  void* substrateData[],
1503  size_t bytesAllocatedMetric,
1504  size_t bytesAllocatedProcess );
1505 
1506 
1524  struct SCOREP_Location* location,
1525  uint64_t timestamp,
1526  SCOREP_SamplingSetHandle samplingSet,
1527  const uint64_t* metricValues );
1528 
1529 
1543  struct SCOREP_Location* location,
1544  uint64_t timestamp,
1545  SCOREP_IoHandleHandle handle,
1546  SCOREP_IoAccessMode mode,
1547  SCOREP_IoCreationFlag creationFlags,
1548  SCOREP_IoStatusFlag statusFlags );
1549 
1558  struct SCOREP_Location* location,
1559  uint64_t timestamp,
1560  SCOREP_IoHandleHandle handle );
1561 
1572  struct SCOREP_Location* location,
1573  uint64_t timestamp,
1574  SCOREP_IoHandleHandle oldHandle,
1575  SCOREP_IoHandleHandle newHandle,
1576  SCOREP_IoStatusFlag statusFlags );
1577 
1588 typedef void ( * SCOREP_Substrates_IoSeekCb )(
1589  struct SCOREP_Location* location,
1590  uint64_t timestamp,
1591  SCOREP_IoHandleHandle handle,
1592  int64_t offsetRequest,
1593  SCOREP_IoSeekOption whence,
1594  uint64_t offsetResult );
1595 
1605  struct SCOREP_Location* location,
1606  uint64_t timestamp,
1607  SCOREP_IoHandleHandle handle,
1608  SCOREP_IoStatusFlag statusFlags );
1609 
1619  struct SCOREP_Location* location,
1620  uint64_t timestamp,
1621  SCOREP_IoParadigmType ioParadigm,
1622  SCOREP_IoFileHandle ioFile );
1623 
1636  struct SCOREP_Location* location,
1637  uint64_t timestamp,
1638  SCOREP_IoHandleHandle handle,
1640  SCOREP_IoOperationFlag operationFlags,
1641  uint64_t bytesRequest,
1642  uint64_t matchingId,
1643  uint64_t offset );
1644 
1654  struct SCOREP_Location* location,
1655  uint64_t timestamp,
1656  SCOREP_IoHandleHandle handle,
1657  uint64_t matchingId );
1658 
1668  struct SCOREP_Location* location,
1669  uint64_t timestamp,
1670  SCOREP_IoHandleHandle handle,
1671  uint64_t matchingId );
1672 
1684  struct SCOREP_Location* location,
1685  uint64_t timestamp,
1686  SCOREP_IoHandleHandle handle,
1688  uint64_t bytesResult,
1689  uint64_t matchingId );
1690 
1700  struct SCOREP_Location* location,
1701  uint64_t timestamp,
1702  SCOREP_IoHandleHandle handle,
1703  uint64_t matchingId );
1704 
1716  struct SCOREP_Location* location,
1717  uint64_t timestamp,
1718  SCOREP_IoHandleHandle handle,
1719  SCOREP_LockType lockType );
1720 
1721 typedef void ( * SCOREP_Substrates_IoReleaseLockCb )(
1722  struct SCOREP_Location* location,
1723  uint64_t timestamp,
1724  SCOREP_IoHandleHandle handle,
1725  SCOREP_LockType lockType );
1726 
1727 typedef void ( * SCOREP_Substrates_IoTryLockCb )(
1728  struct SCOREP_Location* location,
1729  uint64_t timestamp,
1730  SCOREP_IoHandleHandle handle,
1731  SCOREP_LockType lockType );
1732 
1741  struct SCOREP_Location* location,
1742  uint64_t timestamp,
1743  SCOREP_InterimCommunicatorHandle communicatorHandle );
1744 
1753  struct SCOREP_Location* location,
1754  uint64_t timestamp,
1755  SCOREP_InterimCommunicatorHandle communicatorHandle );
1756 
1761 #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:1234
Definition: SCOREP_SubstrateEvents.h:114
Definition: SCOREP_SubstrateEvents.h:152
SCOREP_AnyHandle SCOREP_RegionHandle
Definition: SCOREP_PublicTypes.h:148
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:245
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:1082
Definition: SCOREP_SubstrateEvents.h:119
Definition: SCOREP_SubstrateEvents.h:124
void(* SCOREP_Substrates_CommDestroyCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_InterimCommunicatorHandle communicatorHandle)
Definition: SCOREP_SubstrateEvents.h:1752
SCOREP_RmaAtomicType
specifies a RMA Atomic Operation Type.
Definition: SCOREP_PublicTypes.h:594
Definition: SCOREP_SubstrateEvents.h:82
Definition: SCOREP_SubstrateEvents.h:137
Definition: SCOREP_SubstrateEvents.h:150
Definition: SCOREP_SubstrateEvents.h:93
void(* SCOREP_Substrates_IoOperationCancelledCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:1699
Definition: SCOREP_SubstrateEvents.h:131
Definition: SCOREP_SubstrateEvents.h:121
Definition: SCOREP_SubstrateEvents.h:151
Definition: SCOREP_SubstrateEvents.h:157
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:427
Definition: SCOREP_SubstrateEvents.h:85
Definition: SCOREP_SubstrateEvents.h:63
Definition: SCOREP_SubstrateEvents.h:101
Definition: SCOREP_SubstrateEvents.h:116
Definition: SCOREP_SubstrateEvents.h:144
Definition: SCOREP_SubstrateEvents.h:83
void(* SCOREP_Substrates_MpiRequestCancelledCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:608
void(* SCOREP_Substrates_Callback)(void)
Definition: SCOREP_SubstrateEvents.h:49
Definition: SCOREP_SubstrateEvents.h:108
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:733
void(* SCOREP_Substrates_IoDeleteFileCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoParadigmType ioParadigm, SCOREP_IoFileHandle ioFile)
Definition: SCOREP_SubstrateEvents.h:1618
struct SCOREP_Task * SCOREP_TaskHandle
Definition: SCOREP_PublicTypes.h:175
Definition: SCOREP_SubstrateEvents.h:96
Definition: SCOREP_SubstrateEvents.h:133
void(* SCOREP_Substrates_MpiIrecvRequestCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:576
SCOREP_IoOperationMode
Definition: SCOREP_PublicTypes.h:786
Definition: SCOREP_SubstrateEvents.h:140
Definition: SCOREP_SubstrateEvents.h:88
void(* SCOREP_Substrates_RmaCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaSyncLevel syncLevel)
Definition: SCOREP_SubstrateEvents.h:708
Definition: SCOREP_SubstrateEvents.h:75
void(* SCOREP_Substrates_RmaOpCompleteRemoteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:1058
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:764
Definition: SCOREP_SubstrateEvents.h:128
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:915
SCOREP_LockType
Definition: SCOREP_PublicTypes.h:233
Definition: SCOREP_SubstrateEvents.h:107
void(* SCOREP_Substrates_ProgramEndCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ExitStatus exitStatus, SCOREP_RegionHandle programRegionHandle)
Definition: SCOREP_SubstrateEvents.h:265
Definition: SCOREP_SubstrateEvents.h:123
Definition: SCOREP_SubstrateEvents.h:97
void(* SCOREP_Substrates_RmaSyncCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, SCOREP_RmaSyncType syncType)
Definition: SCOREP_SubstrateEvents.h:863
void(* SCOREP_Substrates_IoDuplicateHandleCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle oldHandle, SCOREP_IoHandleHandle newHandle, SCOREP_IoStatusFlag statusFlags)
Definition: SCOREP_SubstrateEvents.h:1571
void(* SCOREP_Substrates_ThreadCreateWaitCreateCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam, uint32_t createSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1385
void(* SCOREP_Substrates_RmaGroupSyncCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaSyncLevel syncLevel, SCOREP_RmaWindowHandle windowHandle, SCOREP_GroupHandle groupHandle)
Definition: SCOREP_SubstrateEvents.h:885
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:1635
void(* SCOREP_Substrates_RmaReleaseLockCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, uint64_t lockId)
Definition: SCOREP_SubstrateEvents.h:841
void(* SCOREP_Substrates_TriggerParameterStringCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, SCOREP_StringHandle string_handle)
Definition: SCOREP_SubstrateEvents.h:1173
Definition: SCOREP_SubstrateEvents.h:91
Definition: SCOREP_SubstrateEvents.h:94
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:789
void(* SCOREP_Substrates_EnableRecordingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:178
void(* SCOREP_Substrates_TriggerCounterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_SamplingSetHandle counterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:1113
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:658
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:323
Definition: SCOREP_SubstrateEvents.h:60
SCOREP_Substrates_Mode
Definition: SCOREP_SubstrateEvents.h:58
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:493
Definition: SCOREP_SubstrateEvents.h:130
Definition: SCOREP_SubstrateEvents.h:129
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:1542
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:384
void(* SCOREP_Substrates_RmaWinDestroyCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:692
void(* SCOREP_Substrates_ExitRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:295
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:71
void(* SCOREP_Substrates_ExitRewindRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, bool doRewind)
Definition: SCOREP_SubstrateEvents.h:403
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:631
void(* SCOREP_Substrates_MpiCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp)
Definition: SCOREP_SubstrateEvents.h:470
SCOREP_RmaSyncLevel
specifies a RMA synchronization level, used by RMA records to be passed to SCOREP_Rma*() functions...
Definition: SCOREP_PublicTypes.h:556
Definition: SCOREP_SubstrateEvents.h:95
Definition: SCOREP_SubstrateEvents.h:135
Types used by metric service.
Definition: SCOREP_SubstrateEvents.h:103
Definition: SCOREP_SubstrateEvents.h:92
void(* SCOREP_Substrates_OnTracingBufferFlushEndCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:219
Definition: SCOREP_SubstrateEvents.h:149
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:1272
void(* SCOREP_Substrates_OnTracingBufferFlushBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:209
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:959
void(* SCOREP_Substrates_ThreadForkJoinForkCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, uint32_t nRequestedThreads, uint32_t forkSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1197
Definition: SCOREP_SubstrateEvents.h:74
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:364
Definition: SCOREP_SubstrateEvents.h:139
Definition: SCOREP_SubstrateEvents.h:155
Definition: SCOREP_SubstrateEvents.h:112
void(* SCOREP_Substrates_IoAcquireLockCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, SCOREP_LockType lockType)
Definition: SCOREP_SubstrateEvents.h:1715
Definition: SCOREP_SubstrateEvents.h:125
Definition: SCOREP_SubstrateEvents.h:113
void(* SCOREP_Substrates_ThreadForkJoinJoinCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm)
Definition: SCOREP_SubstrateEvents.h:1214
Definition: SCOREP_SubstrateEvents.h:147
Definition: SCOREP_SubstrateEvents.h:90
Definition: SCOREP_SubstrateEvents.h:148
Definition: SCOREP_SubstrateEvents.h:134
Definition: SCOREP_SubstrateEvents.h:99
void(* SCOREP_Substrates_IoOperationTestCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:1667
Definition: SCOREP_SubstrateEvents.h:86
Definition: SCOREP_SubstrateEvents.h:122
Definition: SCOREP_SubstrateEvents.h:117
void(* SCOREP_Substrates_RmaWaitChangeCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:981
SCOREP_IoSeekOption
Definition: SCOREP_PublicTypes.h:767
Definition: SCOREP_SubstrateEvents.h:136
void(* SCOREP_Substrates_CommCreateCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_InterimCommunicatorHandle communicatorHandle)
Definition: SCOREP_SubstrateEvents.h:1740
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:1467
SCOREP_IoAccessMode
Definition: SCOREP_PublicTypes.h:675
Definition: SCOREP_SubstrateEvents.h:102
SCOREP_IoStatusFlag
Definition: SCOREP_PublicTypes.h:734
Definition: SCOREP_SubstrateEvents.h:84
Definition: SCOREP_SubstrateEvents.h:105
Definition: SCOREP_SubstrateEvents.h:89
void(* SCOREP_Substrates_DisableRecordingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:192
Definition: SCOREP_SubstrateEvents.h:143
Definition: SCOREP_SubstrateEvents.h:153
Definition: SCOREP_SubstrateEvents.h:100
Definition: SCOREP_SubstrateEvents.h:78
Definition: SCOREP_SubstrateEvents.h:73
Definition: SCOREP_SubstrateEvents.h:110
SCOREP_IoParadigmType
Definition: SCOREP_PublicTypes.h:661
SCOREP_AnyHandle SCOREP_SamplingSetHandle
Definition: SCOREP_PublicTypes.h:136
Definition: SCOREP_SubstrateEvents.h:111
Definition: SCOREP_SubstrateEvents.h:126
Definition: SCOREP_SubstrateEvents.h:138
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:453
Definition: SCOREP_SubstrateEvents.h:127
Definition: SCOREP_SubstrateEvents.h:118
int SCOREP_MpiRank
Definition: SCOREP_PublicTypes.h:249
SCOREP_IoCreationFlag
Definition: SCOREP_PublicTypes.h:694
uint64_t SCOREP_MpiRequestId
Definition: SCOREP_PublicTypes.h:255
void(* SCOREP_Substrates_RmaWinCreateCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:677
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:1434
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:1683
SCOREP_IoOperationFlag
Definition: SCOREP_PublicTypes.h:802
Definition: SCOREP_SubstrateEvents.h:154
Definition: SCOREP_SubstrateEvents.h:77
SCOREP_CollectiveType
Types to specify the used collectives in calls to SCOREP_MpiCollectiveBegin and SCOREP_RmaCollectiveB...
Definition: SCOREP_PublicTypes.h:181
int64_t SCOREP_ExitStatus
Definition: SCOREP_PublicTypes.h:64
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:1305
Definition: SCOREP_SubstrateEvents.h:104
Definition: SCOREP_SubstrateEvents.h:142
Definition: SCOREP_SubstrateEvents.h:109
Definition: SCOREP_SubstrateEvents.h:98
void(* SCOREP_Substrates_WriteMetricsCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_SamplingSetHandle samplingSet, const uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:1523
Definition: SCOREP_SubstrateEvents.h:80
void(* SCOREP_Substrates_MpiIsendCompleteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:560
Definition: SCOREP_SubstrateEvents.h:106
Definition: SCOREP_SubstrateEvents.h:120
void(* SCOREP_Substrates_IoDestroyHandleCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle)
Definition: SCOREP_SubstrateEvents.h:1557
Definition: SCOREP_SubstrateEvents.h:61
Definition: SCOREP_SubstrateEvents.h:132
Definition: SCOREP_SubstrateEvents.h:81
void(* SCOREP_Substrates_MpiNonBlockingCollectiveRequestCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:513
void(* SCOREP_Substrates_RmaOpTestCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:1035
Definition: SCOREP_SubstrateEvents.h:141
Definition: SCOREP_SubstrateEvents.h:87
void(* SCOREP_Substrates_MpiNonBlockingCollectiveCompleteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_InterimCommunicatorHandle communicatorHandle, SCOREP_MpiRank rootRank, SCOREP_CollectiveType collectiveType, uint64_t bytesSent, uint64_t bytesReceived, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:539
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:350
SCOREP_RmaSyncType
Type of direct RMA synchronization call.
Definition: SCOREP_PublicTypes.h:529
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:1342
void(* SCOREP_Substrates_MpiRequestTestedCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:592
Definition: SCOREP_SubstrateEvents.h:79
Definition: SCOREP_SubstrateEvents.h:115
SCOREP_ParadigmType
defines paradigms that are be monitored
Definition: SCOREP_PublicTypes.h:361
Definition: SCOREP_SubstrateEvents.h:146
void(* SCOREP_Substrates_EnterRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:284
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:1588
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:816
void(* SCOREP_Substrates_TriggerParameterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:1147
Definition: SCOREP_SubstrateEvents.h:145
Definition: SCOREP_SubstrateEvents.h:76
void(* SCOREP_Substrates_RmaOpCompleteBlockingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:1006
void(* SCOREP_Substrates_IoChangeStatusFlagsCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, SCOREP_IoStatusFlag statusFlags)
Definition: SCOREP_SubstrateEvents.h:1604
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:1497
void(* SCOREP_Substrates_IoOperationIssuedCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:1653