6.0 (revision 14673)
SCOREP_SubstrateEvents.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Score-P software (http://www.score-p.org)
3  *
4  * Copyright (c) 2016-2018,
5  * Technische Universitaet Dresden, Germany
6  *
7  * Copyright (c) 2015-2016,
8  * Technische Universitaet Muenchen, Germany
9  *
10  * Copyright (c) 2018,
11  * Forschungszentrum Juelich GmbH, Germany
12  *
13  * This software may be modified and distributed under the terms of
14  * a BSD-style license. See the COPYING file in the package base
15  * directory for details.
16  *
17  */
18 
19 
26 #ifndef SCOREP_SUBSTRATE_EVENTS_H
27 #define SCOREP_SUBSTRATE_EVENTS_H
28 
35 #include <stdbool.h>
36 #include <stddef.h>
37 
41 
42 
46 typedef void ( * SCOREP_Substrates_Callback )( void );
47 
48 struct SCOREP_Location;
49 
56 {
62 
69 {
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 
218 typedef void ( * SCOREP_Substrates_ProgramBeginCb )(
219  struct SCOREP_Location* location,
220  uint64_t timestamp,
221  SCOREP_StringHandle programName,
222  uint32_t numberOfProgramArgs,
223  SCOREP_StringHandle* programArguments,
224  SCOREP_RegionHandle programRegionHandle );
225 
226 typedef void ( * SCOREP_Substrates_ProgramEndCb )(
227  struct SCOREP_Location* location,
228  uint64_t timestamp,
229  SCOREP_ExitStatus exitStatus,
230  SCOREP_RegionHandle programRegionHandle );
231 
246  struct SCOREP_Location* location,
247  uint64_t timestamp,
248  SCOREP_RegionHandle regionHandle,
249  uint64_t* metricValues );
250 
257  struct SCOREP_Location* location,
258  uint64_t timestamp,
259  SCOREP_RegionHandle regionHandle,
260  uint64_t* metricValues );
261 
284 typedef void ( * SCOREP_Substrates_SampleCb )(
285  struct SCOREP_Location* location,
286  uint64_t timestamp,
287  SCOREP_CallingContextHandle callingContext,
288  SCOREP_CallingContextHandle previousCallingContext,
289  uint32_t unwindDistance,
290  SCOREP_InterruptGeneratorHandle interruptGeneratorHandle,
291  uint64_t* metricValues );
292 
312  struct SCOREP_Location* location,
313  uint64_t timestamp,
314  SCOREP_CallingContextHandle callingContext,
315  SCOREP_CallingContextHandle previousCallingContext,
316  uint32_t unwindDistance,
317  uint64_t* metricValues );
318 
326  struct SCOREP_Location* location,
327  uint64_t timestamp,
328  SCOREP_CallingContextHandle callingContext,
329  SCOREP_CallingContextHandle previousCallingContext,
330  uint32_t unwindDistance,
331  uint64_t* metricValues );
332 
346  struct SCOREP_Location* location,
347  uint64_t timestamp,
348  SCOREP_RegionHandle regionHandle );
349 
365  struct SCOREP_Location* location,
366  uint64_t timestamp,
367  SCOREP_RegionHandle regionHandle,
368  bool doRewind );
369 
388 typedef void ( * SCOREP_Substrates_MpiSendCb )(
389  struct SCOREP_Location* location,
390  uint64_t timestamp,
391  SCOREP_MpiRank destinationRank,
392  SCOREP_InterimCommunicatorHandle communicatorHandle,
393  uint32_t tag,
394  uint64_t bytesSent );
395 
414 typedef void ( * SCOREP_Substrates_MpiRecvCb )(
415  struct SCOREP_Location* location,
416  uint64_t timestamp,
417  SCOREP_MpiRank sourceRank,
418  SCOREP_InterimCommunicatorHandle communicatorHandle,
419  uint32_t tag,
420  uint64_t bytesReceived );
421 
432  struct SCOREP_Location* location,
433  uint64_t timestamp );
434 
435 
455  struct SCOREP_Location* location,
456  uint64_t timestamp,
457  SCOREP_InterimCommunicatorHandle communicatorHandle,
458  SCOREP_MpiRank rootRank,
459  SCOREP_CollectiveType collectiveType,
460  uint64_t bytesSent,
461  uint64_t bytesReceived );
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 
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 
545 typedef void ( * SCOREP_Substrates_MpiIsendCb )(
546  struct SCOREP_Location* location,
547  uint64_t timestamp,
548  SCOREP_MpiRank destinationRank,
549  SCOREP_InterimCommunicatorHandle communicatorHandle,
550  uint32_t tag,
551  uint64_t bytesSent,
552  SCOREP_MpiRequestId requestId );
553 
572 typedef void ( * SCOREP_Substrates_MpiIrecvCb )(
573  struct SCOREP_Location* location,
574  uint64_t timestamp,
575  SCOREP_MpiRank sourceRank,
576  SCOREP_InterimCommunicatorHandle communicatorHandle,
577  uint32_t tag,
578  uint64_t bytesReceived,
579  SCOREP_MpiRequestId requestId );
580 
592  struct SCOREP_Location* location,
593  uint64_t timestamp,
594  SCOREP_RmaWindowHandle windowHandle );
595 
607  struct SCOREP_Location* location,
608  uint64_t timestamp,
609  SCOREP_RmaWindowHandle windowHandle );
610 
621  struct SCOREP_Location* location,
622  uint64_t timestamp );
623 
645  struct SCOREP_Location* location,
646  uint64_t timestamp,
647  SCOREP_CollectiveType collectiveOp,
648  SCOREP_RmaSyncLevel syncLevel,
649  SCOREP_RmaWindowHandle windowHandle,
650  uint32_t root,
651  uint64_t bytesSent,
652  uint64_t bytesReceived );
653 
676  struct SCOREP_Location* location,
677  uint64_t timestamp,
678  SCOREP_RmaWindowHandle windowHandle,
679  uint32_t remote,
680  uint64_t lockId,
681  SCOREP_LockType lockType );
682 
701  struct SCOREP_Location* location,
702  uint64_t timestamp,
703  SCOREP_RmaWindowHandle windowHandle,
704  uint32_t remote,
705  uint64_t lockId,
706  SCOREP_LockType lockType );
707 
708 
728  struct SCOREP_Location* location,
729  uint64_t timestamp,
730  SCOREP_RmaWindowHandle windowHandle,
731  uint32_t remote,
732  uint64_t lockId,
733  SCOREP_LockType lockType );
734 
735 
753  struct SCOREP_Location* location,
754  uint64_t timestamp,
755  SCOREP_RmaWindowHandle windowHandle,
756  uint32_t remote,
757  uint64_t lockId );
758 
774 typedef void ( * SCOREP_Substrates_RmaSyncCb )(
775  struct SCOREP_Location* location,
776  uint64_t timestamp,
777  SCOREP_RmaWindowHandle windowHandle,
778  uint32_t remote,
779  SCOREP_RmaSyncType syncType );
780 
797  struct SCOREP_Location* location,
798  uint64_t timestamp,
799  SCOREP_RmaSyncLevel syncLevel,
800  SCOREP_RmaWindowHandle windowHandle,
801  SCOREP_GroupHandle groupHandle );
802 
826 typedef void ( * SCOREP_Substrates_RmaPutCb )(
827  struct SCOREP_Location* location,
828  uint64_t timestamp,
829  SCOREP_RmaWindowHandle windowHandle,
830  uint32_t remote,
831  uint64_t bytes,
832  uint64_t matchingId );
833 
834 typedef void ( * SCOREP_Substrates_RmaGetCb )(
835  struct SCOREP_Location* location,
836  uint64_t timestamp,
837  SCOREP_RmaWindowHandle windowHandle,
838  uint32_t remote,
839  uint64_t bytes,
840  uint64_t matchingId );
841 
870 typedef void ( * SCOREP_Substrates_RmaAtomicCb )(
871  struct SCOREP_Location* location,
872  uint64_t timestamp,
873  SCOREP_RmaWindowHandle windowHandle,
874  uint32_t remote,
876  uint64_t bytesSent,
877  uint64_t bytesReceived,
878  uint64_t matchingId );
879 
893  struct SCOREP_Location* location,
894  uint64_t timestamp,
895  SCOREP_RmaWindowHandle windowHandle );
896 
918  struct SCOREP_Location* location,
919  uint64_t timestamp,
920  SCOREP_RmaWindowHandle windowHandle,
921  uint64_t matchingId );
922 
923 typedef void ( * SCOREP_Substrates_RmaOpCompleteNonBlockingCb )(
924  struct SCOREP_Location* location,
925  uint64_t timestamp,
926  SCOREP_RmaWindowHandle windowHandle,
927  uint64_t matchingId );
928 
946 typedef void ( * SCOREP_Substrates_RmaOpTestCb )(
947  struct SCOREP_Location* location,
948  uint64_t timestamp,
949  SCOREP_RmaWindowHandle windowHandle,
950  uint64_t matchingId );
951 
952 
970  struct SCOREP_Location* location,
971  uint64_t timestamp,
972  SCOREP_RmaWindowHandle windowHandle,
973  uint64_t matchingId );
974 
975 
994  struct SCOREP_Location* location,
995  uint64_t timestamp,
996  SCOREP_ParadigmType paradigm,
997  uint32_t lockId,
998  uint32_t acquisitionOrder );
999 
1000 
1001 typedef void ( * SCOREP_Substrates_ThreadReleaseLockCb )(
1002  struct SCOREP_Location* location,
1003  uint64_t timestamp,
1004  SCOREP_ParadigmType paradigm,
1005  uint32_t lockId,
1006  uint32_t acquisitionOrder );
1007 
1025  struct SCOREP_Location* location,
1026  uint64_t timestamp,
1027  SCOREP_SamplingSetHandle counterHandle,
1028  int64_t value );
1029 
1030 typedef void ( * SCOREP_Substrates_TriggerCounterUint64Cb )(
1031  struct SCOREP_Location* location,
1032  uint64_t timestamp,
1033  SCOREP_SamplingSetHandle counterHandle,
1034  uint64_t value );
1035 
1036 typedef void ( * SCOREP_Substrates_TriggerCounterDoubleCb )(
1037  struct SCOREP_Location* location,
1038  uint64_t timestamp,
1039  SCOREP_SamplingSetHandle counterHandle,
1040  double value );
1059  struct SCOREP_Location* location,
1060  uint64_t timestamp,
1061  SCOREP_ParameterHandle parameterHandle,
1062  int64_t value );
1063 
1064 typedef void ( * SCOREP_Substrates_TriggerParameterUint64Cb )(
1065  struct SCOREP_Location* location,
1066  uint64_t timestamp,
1067  SCOREP_ParameterHandle parameterHandle,
1068  uint64_t value );
1085  struct SCOREP_Location* location,
1086  uint64_t timestamp,
1087  SCOREP_ParameterHandle parameterHandle,
1088  SCOREP_StringHandle string_handle );
1089 
1109  struct SCOREP_Location* location,
1110  uint64_t timestamp,
1111  SCOREP_ParadigmType paradigm,
1112  uint32_t nRequestedThreads,
1113  uint32_t forkSequenceCount );
1114 
1126  struct SCOREP_Location* location,
1127  uint64_t timestamp,
1128  SCOREP_ParadigmType paradigm );
1129 
1144  struct SCOREP_Location* location,
1145  uint64_t timestamp,
1146  SCOREP_ParadigmType paradigm,
1147  SCOREP_InterimCommunicatorHandle threadTeam );
1148 
1149 typedef void ( * SCOREP_Substrates_ThreadForkJoinTeamEndCb )(
1150  struct SCOREP_Location* location,
1151  uint64_t timestamp,
1152  SCOREP_ParadigmType paradigm,
1153  SCOREP_InterimCommunicatorHandle threadTeam );
1154 
1181  struct SCOREP_Location* location,
1182  uint64_t timestamp,
1183  SCOREP_ParadigmType paradigm,
1184  SCOREP_InterimCommunicatorHandle threadTeam,
1185  uint32_t threadId,
1186  uint32_t generationNumber );
1187 
1214  struct SCOREP_Location* location,
1215  uint64_t timestamp,
1216  uint64_t* metricValues,
1217  SCOREP_ParadigmType paradigm,
1218  SCOREP_InterimCommunicatorHandle threadTeam,
1219  uint32_t threadId,
1220  uint32_t generationNumber,
1221  SCOREP_TaskHandle taskHandle );
1222 
1251  struct SCOREP_Location* location,
1252  uint64_t timestamp,
1253  SCOREP_RegionHandle regionHandle,
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 
1261 typedef void ( * SCOREP_Substrates_ThreadForkJoinTaskEndCb )(
1262  struct SCOREP_Location* location,
1263  uint64_t timestamp,
1264  SCOREP_RegionHandle regionHandle,
1265  uint64_t* metricValues,
1266  SCOREP_ParadigmType paradigm,
1267  SCOREP_InterimCommunicatorHandle threadTeam,
1268  uint32_t threadId,
1269  uint32_t generationNumber,
1270  SCOREP_TaskHandle taskHandle );
1271 
1292  struct SCOREP_Location* location,
1293  uint64_t timestamp,
1294  SCOREP_ParadigmType paradigm,
1295  SCOREP_InterimCommunicatorHandle threadTeam,
1296  uint32_t createSequenceCount );
1297 
1298 typedef void ( * SCOREP_Substrates_ThreadCreateWaitWaitCb )(
1299  struct SCOREP_Location* location,
1300  uint64_t timestamp,
1301  SCOREP_ParadigmType paradigm,
1302  SCOREP_InterimCommunicatorHandle threadTeam,
1303  uint32_t createSequenceCount );
1304 
1305 typedef void ( * SCOREP_Substrates_ThreadCreateWaitBeginCb )(
1306  struct SCOREP_Location* location,
1307  uint64_t timestamp,
1308  SCOREP_ParadigmType paradigm,
1309  SCOREP_InterimCommunicatorHandle threadTeam,
1310  uint32_t createSequenceCount );
1311 
1312 typedef void ( * SCOREP_Substrates_ThreadCreateWaitEndCb )(
1313  struct SCOREP_Location* location,
1314  uint64_t timestamp,
1315  SCOREP_ParadigmType paradigm,
1316  SCOREP_InterimCommunicatorHandle threadTeam,
1317  uint32_t createSequenceCount );
1318 
1340  struct SCOREP_Location* location,
1341  uint64_t timestamp,
1342  uint64_t addrAllocated,
1343  size_t bytesAllocated,
1344  void* substrateData[],
1345  size_t bytesAllocatedMetric,
1346  size_t bytesAllocatedProcess );
1347 
1373  struct SCOREP_Location* location,
1374  uint64_t timestamp,
1375  uint64_t oldAddr,
1376  size_t oldBytesAllocated,
1377  void* oldSubstrateData[],
1378  uint64_t newAddr,
1379  size_t newBytesAllocated,
1380  void* newSubstrateData[],
1381  size_t bytesAllocatedMetric,
1382  size_t bytesAllocatedProcess );
1383 
1403  struct SCOREP_Location* location,
1404  uint64_t timestamp,
1405  uint64_t addrFreed,
1406  size_t bytesFreed,
1407  void* substrateData[],
1408  size_t bytesAllocatedMetric,
1409  size_t bytesAllocatedProcess );
1410 
1411 
1429  struct SCOREP_Location* location,
1430  uint64_t timestamp,
1431  SCOREP_SamplingSetHandle samplingSet,
1432  const uint64_t* metricValues );
1433 
1434 
1448  struct SCOREP_Location* location,
1449  uint64_t timestamp,
1450  SCOREP_IoHandleHandle handle,
1451  SCOREP_IoAccessMode mode,
1452  SCOREP_IoCreationFlag creationFlags,
1453  SCOREP_IoStatusFlag statusFlags );
1454 
1463  struct SCOREP_Location* location,
1464  uint64_t timestamp,
1465  SCOREP_IoHandleHandle handle );
1466 
1477  struct SCOREP_Location* location,
1478  uint64_t timestamp,
1479  SCOREP_IoHandleHandle oldHandle,
1480  SCOREP_IoHandleHandle newHandle,
1481  SCOREP_IoStatusFlag statusFlags );
1482 
1493 typedef void ( * SCOREP_Substrates_IoSeekCb )(
1494  struct SCOREP_Location* location,
1495  uint64_t timestamp,
1496  SCOREP_IoHandleHandle handle,
1497  int64_t offsetRequest,
1498  SCOREP_IoSeekOption whence,
1499  uint64_t offsetResult );
1500 
1510  struct SCOREP_Location* location,
1511  uint64_t timestamp,
1512  SCOREP_IoHandleHandle handle,
1513  SCOREP_IoStatusFlag statusFlags );
1514 
1524  struct SCOREP_Location* location,
1525  uint64_t timestamp,
1526  SCOREP_IoParadigmType ioParadigm,
1527  SCOREP_IoFileHandle ioFile );
1528 
1541  struct SCOREP_Location* location,
1542  uint64_t timestamp,
1543  SCOREP_IoHandleHandle handle,
1545  SCOREP_IoOperationFlag operationFlags,
1546  uint64_t bytesRequest,
1547  uint64_t matchingId );
1548 
1558  struct SCOREP_Location* location,
1559  uint64_t timestamp,
1560  SCOREP_IoHandleHandle handle,
1561  uint64_t matchingId );
1562 
1572  struct SCOREP_Location* location,
1573  uint64_t timestamp,
1574  SCOREP_IoHandleHandle handle,
1575  uint64_t matchingId );
1576 
1588  struct SCOREP_Location* location,
1589  uint64_t timestamp,
1590  SCOREP_IoHandleHandle handle,
1592  uint64_t bytesResult,
1593  uint64_t matchingId );
1594 
1604  struct SCOREP_Location* location,
1605  uint64_t timestamp,
1606  SCOREP_IoHandleHandle handle,
1607  uint64_t matchingId );
1608 
1620  struct SCOREP_Location* location,
1621  uint64_t timestamp,
1622  SCOREP_IoHandleHandle handle,
1623  SCOREP_LockType lockType );
1624 
1625 typedef void ( * SCOREP_Substrates_IoReleaseLockCb )(
1626  struct SCOREP_Location* location,
1627  uint64_t timestamp,
1628  SCOREP_IoHandleHandle handle,
1629  SCOREP_LockType lockType );
1630 
1631 typedef void ( * SCOREP_Substrates_IoTryLockCb )(
1632  struct SCOREP_Location* location,
1633  uint64_t timestamp,
1634  SCOREP_IoHandleHandle handle,
1635  SCOREP_LockType lockType );
1636 
1641 #endif /* SCOREP_SUBSTRATE_EVENTS_H */
Definition: SCOREP_SubstrateEvents.h:111
SCOREP_AnyHandle SCOREP_SamplingSetHandle
Definition: SCOREP_PublicTypes.h:123
struct SCOREP_Task * SCOREP_TaskHandle
Definition: SCOREP_PublicTypes.h:159
Defines public definitions that are used internally and externally (e.g., by metric plugins...
void(* SCOREP_Substrates_ThreadAcquireLockCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, uint32_t lockId, uint32_t acquisitionOrder)
Definition: SCOREP_SubstrateEvents.h:993
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:1603
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:388
Definition: SCOREP_SubstrateEvents.h:82
Definition: SCOREP_SubstrateEvents.h:60
void(* SCOREP_Substrates_RmaCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp)
Definition: SCOREP_SubstrateEvents.h:620
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:165
Definition: SCOREP_SubstrateEvents.h:80
void(* SCOREP_Substrates_MpiRequestCancelledCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:522
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:644
void(* SCOREP_Substrates_IoDeleteFileCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoParadigmType ioParadigm, SCOREP_IoFileHandle ioFile)
Definition: SCOREP_SubstrateEvents.h:1523
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:490
Definition: SCOREP_SubstrateEvents.h:137
Definition: SCOREP_SubstrateEvents.h:85
SCOREP_RmaSyncType
Type of direct RMA synchronization call.
Definition: SCOREP_PublicTypes.h:497
Definition: SCOREP_SubstrateEvents.h:72
void(* SCOREP_Substrates_ThreadForkJoinTeamBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam)
Definition: SCOREP_SubstrateEvents.h:1143
void(* SCOREP_Substrates_RmaOpCompleteRemoteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:969
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:675
int SCOREP_MpiRank
Definition: SCOREP_PublicTypes.h:233
Definition: SCOREP_SubstrateEvents.h:125
void(* SCOREP_Substrates_RmaPutCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, uint64_t bytes, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:826
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:524
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:774
void(* SCOREP_Substrates_IoDuplicateHandleCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle oldHandle, SCOREP_IoHandleHandle newHandle, SCOREP_IoStatusFlag statusFlags)
Definition: SCOREP_SubstrateEvents.h:1476
SCOREP_ParadigmType
defines paradigms that are be monitored
Definition: SCOREP_PublicTypes.h:332
void(* SCOREP_Substrates_ThreadCreateWaitCreateCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam, uint32_t createSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1291
void(* SCOREP_Substrates_RmaGroupSyncCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaSyncLevel syncLevel, SCOREP_RmaWindowHandle windowHandle, SCOREP_GroupHandle groupHandle)
Definition: SCOREP_SubstrateEvents.h:796
SCOREP_LockType
Definition: SCOREP_PublicTypes.h:217
void(* SCOREP_Substrates_RmaReleaseLockCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, uint64_t lockId)
Definition: SCOREP_SubstrateEvents.h:752
void(* SCOREP_Substrates_TriggerParameterStringCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, SCOREP_StringHandle string_handle)
Definition: SCOREP_SubstrateEvents.h:1084
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:700
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:1024
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:572
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:284
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:454
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:1447
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:345
SCOREP_IoAccessMode
Definition: SCOREP_PublicTypes.h:643
void(* SCOREP_Substrates_RmaWinDestroyCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:606
void(* SCOREP_Substrates_ExitRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:256
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:735
void(* SCOREP_Substrates_ExitRewindRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, bool doRewind)
Definition: SCOREP_SubstrateEvents.h:364
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:545
void(* SCOREP_Substrates_MpiCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp)
Definition: SCOREP_SubstrateEvents.h:431
Definition: SCOREP_SubstrateEvents.h:92
SCOREP_IoCreationFlag
Definition: SCOREP_PublicTypes.h:662
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:1180
SCOREP_IoStatusFlag
Definition: SCOREP_PublicTypes.h:702
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:870
void(* SCOREP_Substrates_ThreadForkJoinForkCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, uint32_t nRequestedThreads, uint32_t forkSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1108
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:325
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:1619
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:1125
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:1571
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:892
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:1372
SCOREP_RmaAtomicType
specifies a RMA Atomic Operation Type.
Definition: SCOREP_PublicTypes.h:562
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:754
Definition: SCOREP_SubstrateEvents.h:70
Definition: SCOREP_SubstrateEvents.h:107
uint64_t SCOREP_MpiRequestId
Definition: SCOREP_PublicTypes.h:239
Definition: SCOREP_SubstrateEvents.h:108
Definition: SCOREP_SubstrateEvents.h:123
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:414
SCOREP_IoOperationFlag
Definition: SCOREP_PublicTypes.h:770
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:591
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:1339
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:1587
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)
Definition: SCOREP_SubstrateEvents.h:1540
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:1213
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:1428
Definition: SCOREP_SubstrateEvents.h:77
void(* SCOREP_Substrates_MpiIsendCompleteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:474
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:1462
Definition: SCOREP_SubstrateEvents.h:58
Definition: SCOREP_SubstrateEvents.h:129
int64_t SCOREP_ExitStatus
Definition: SCOREP_PublicTypes.h:51
Definition: SCOREP_SubstrateEvents.h:78
void(* SCOREP_Substrates_RmaOpTestCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:946
Definition: SCOREP_SubstrateEvents.h:138
SCOREP_AnyHandle SCOREP_RegionHandle
Definition: SCOREP_PublicTypes.h:135
Definition: SCOREP_SubstrateEvents.h:84
void(* SCOREP_Substrates_CallingContextEnterCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_CallingContextHandle callingContext, SCOREP_CallingContextHandle previousCallingContext, uint32_t unwindDistance, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:311
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:1250
void(* SCOREP_Substrates_MpiRequestTestedCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:506
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:245
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:1493
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:727
void(* SCOREP_Substrates_TriggerParameterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:1058
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:917
void(* SCOREP_Substrates_IoChangeStatusFlagsCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, SCOREP_IoStatusFlag statusFlags)
Definition: SCOREP_SubstrateEvents.h:1509
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:1402
void(* SCOREP_Substrates_IoOperationIssuedCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_IoHandleHandle handle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:1557
SCOREP_IoParadigmType
Definition: SCOREP_PublicTypes.h:629