5.0-trunk (revision 14705)
SCOREP_SubstrateEvents.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Score-P software (http://www.score-p.org)
3  *
4  * Copyright (c) 2016-2018,
5  * Technische Universitaet Dresden, Germany
6  *
7  * Copyright (c) 2015-2016,
8  * Technische Universitaet Muenchen, Germany
9  *
10  * Copyright (c) 2018,
11  * Forschungszentrum Juelich GmbH, Germany
12  *
13  * This software may be modified and distributed under the terms of
14  * a BSD-style license. See the COPYING file in the package base
15  * directory for details.
16  *
17  */
18 
19 
26 #ifndef SCOREP_SUBSTRATE_EVENTS_H
27 #define SCOREP_SUBSTRATE_EVENTS_H
28 
35 #include <stdbool.h>
36 #include <stddef.h>
37 
41 
42 
46 typedef void ( * SCOREP_Substrates_Callback )( void );
47 
48 struct SCOREP_Location;
49 
56 {
62 
68 {
137 
138 
157  struct SCOREP_Location* location,
158  uint64_t timestamp,
159  SCOREP_RegionHandle regionHandle,
160  uint64_t* metricValues );
161 
171  struct SCOREP_Location* location,
172  uint64_t timestamp,
173  SCOREP_RegionHandle regionHandle,
174  uint64_t* metricValues );
175 
188  struct SCOREP_Location* location,
189  uint64_t timestamp,
190  SCOREP_RegionHandle regionHandle,
191  uint64_t* metricValues );
192 
198  struct SCOREP_Location* location,
199  uint64_t timestamp,
200  SCOREP_RegionHandle regionHandle,
201  uint64_t* metricValues );
202 
203 typedef void ( * SCOREP_Substrates_ProgramBeginCb )(
204  struct SCOREP_Location* location,
205  uint64_t timestamp,
206  SCOREP_StringHandle programName,
207  uint32_t numberOfProgramArgs,
208  SCOREP_StringHandle* programArguments );
209 
210 typedef void ( * SCOREP_Substrates_ProgramEndCb )(
211  struct SCOREP_Location* location,
212  uint64_t timestamp,
213  SCOREP_ExitStatus exitStatus );
214 
229  struct SCOREP_Location* location,
230  uint64_t timestamp,
231  SCOREP_RegionHandle regionHandle,
232  uint64_t* metricValues );
233 
240  struct SCOREP_Location* location,
241  uint64_t timestamp,
242  SCOREP_RegionHandle regionHandle,
243  uint64_t* metricValues );
244 
267 typedef void ( * SCOREP_Substrates_SampleCb )(
268  struct SCOREP_Location* location,
269  uint64_t timestamp,
270  SCOREP_CallingContextHandle callingContext,
271  SCOREP_CallingContextHandle previousCallingContext,
272  uint32_t unwindDistance,
273  SCOREP_InterruptGeneratorHandle interruptGeneratorHandle,
274  uint64_t* metricValues );
275 
295  struct SCOREP_Location* location,
296  uint64_t timestamp,
297  SCOREP_CallingContextHandle callingContext,
298  SCOREP_CallingContextHandle previousCallingContext,
299  uint32_t unwindDistance,
300  uint64_t* metricValues );
301 
309  struct SCOREP_Location* location,
310  uint64_t timestamp,
311  SCOREP_CallingContextHandle callingContext,
312  SCOREP_CallingContextHandle previousCallingContext,
313  uint32_t unwindDistance,
314  uint64_t* metricValues );
315 
329  struct SCOREP_Location* location,
330  uint64_t timestamp,
331  SCOREP_RegionHandle regionHandle );
332 
348  struct SCOREP_Location* location,
349  uint64_t timestamp,
350  SCOREP_RegionHandle regionHandle,
351  bool doRewind );
352 
371 typedef void ( * SCOREP_Substrates_MpiSendCb )(
372  struct SCOREP_Location* location,
373  uint64_t timestamp,
374  SCOREP_MpiRank destinationRank,
375  SCOREP_InterimCommunicatorHandle communicatorHandle,
376  uint32_t tag,
377  uint64_t bytesSent );
378 
397 typedef void ( * SCOREP_Substrates_MpiRecvCb )(
398  struct SCOREP_Location* location,
399  uint64_t timestamp,
400  SCOREP_MpiRank sourceRank,
401  SCOREP_InterimCommunicatorHandle communicatorHandle,
402  uint32_t tag,
403  uint64_t bytesReceived );
404 
415  struct SCOREP_Location* location,
416  uint64_t timestamp );
417 
418 
438  struct SCOREP_Location* location,
439  uint64_t timestamp,
440  SCOREP_InterimCommunicatorHandle communicatorHandle,
441  SCOREP_MpiRank rootRank,
442  SCOREP_CollectiveType collectiveType,
443  uint64_t bytesSent,
444  uint64_t bytesReceived );
445 
458  struct SCOREP_Location* location,
459  uint64_t timestamp,
460  SCOREP_MpiRequestId requestId );
461 
474  struct SCOREP_Location* location,
475  uint64_t timestamp,
476  SCOREP_MpiRequestId requestId );
477 
490  struct SCOREP_Location* location,
491  uint64_t timestamp,
492  SCOREP_MpiRequestId requestId );
493 
506  struct SCOREP_Location* location,
507  uint64_t timestamp,
508  SCOREP_MpiRequestId requestId );
509 
528 typedef void ( * SCOREP_Substrates_MpiIsendCb )(
529  struct SCOREP_Location* location,
530  uint64_t timestamp,
531  SCOREP_MpiRank destinationRank,
532  SCOREP_InterimCommunicatorHandle communicatorHandle,
533  uint32_t tag,
534  uint64_t bytesSent,
535  SCOREP_MpiRequestId requestId );
536 
555 typedef void ( * SCOREP_Substrates_MpiIrecvCb )(
556  struct SCOREP_Location* location,
557  uint64_t timestamp,
558  SCOREP_MpiRank sourceRank,
559  SCOREP_InterimCommunicatorHandle communicatorHandle,
560  uint32_t tag,
561  uint64_t bytesReceived,
562  SCOREP_MpiRequestId requestId );
563 
575  struct SCOREP_Location* location,
576  uint64_t timestamp,
577  SCOREP_RmaWindowHandle windowHandle );
578 
590  struct SCOREP_Location* location,
591  uint64_t timestamp,
592  SCOREP_RmaWindowHandle windowHandle );
593 
604  struct SCOREP_Location* location,
605  uint64_t timestamp );
606 
628  struct SCOREP_Location* location,
629  uint64_t timestamp,
630  SCOREP_CollectiveType collectiveOp,
631  SCOREP_RmaSyncLevel syncLevel,
632  SCOREP_RmaWindowHandle windowHandle,
633  uint32_t root,
634  uint64_t bytesSent,
635  uint64_t bytesReceived );
636 
659  struct SCOREP_Location* location,
660  uint64_t timestamp,
661  SCOREP_RmaWindowHandle windowHandle,
662  uint32_t remote,
663  uint64_t lockId,
664  SCOREP_LockType lockType );
665 
684  struct SCOREP_Location* location,
685  uint64_t timestamp,
686  SCOREP_RmaWindowHandle windowHandle,
687  uint32_t remote,
688  uint64_t lockId,
689  SCOREP_LockType lockType );
690 
691 
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 
718 
736  struct SCOREP_Location* location,
737  uint64_t timestamp,
738  SCOREP_RmaWindowHandle windowHandle,
739  uint32_t remote,
740  uint64_t lockId );
741 
757 typedef void ( * SCOREP_Substrates_RmaSyncCb )(
758  struct SCOREP_Location* location,
759  uint64_t timestamp,
760  SCOREP_RmaWindowHandle windowHandle,
761  uint32_t remote,
762  SCOREP_RmaSyncType syncType );
763 
780  struct SCOREP_Location* location,
781  uint64_t timestamp,
782  SCOREP_RmaSyncLevel syncLevel,
783  SCOREP_RmaWindowHandle windowHandle,
784  SCOREP_GroupHandle groupHandle );
785 
809 typedef void ( * SCOREP_Substrates_RmaPutCb )(
810  struct SCOREP_Location* location,
811  uint64_t timestamp,
812  SCOREP_RmaWindowHandle windowHandle,
813  uint32_t remote,
814  uint64_t bytes,
815  uint64_t matchingId );
816 
817 typedef void ( * SCOREP_Substrates_RmaGetCb )(
818  struct SCOREP_Location* location,
819  uint64_t timestamp,
820  SCOREP_RmaWindowHandle windowHandle,
821  uint32_t remote,
822  uint64_t bytes,
823  uint64_t matchingId );
824 
853 typedef void ( * SCOREP_Substrates_RmaAtomicCb )(
854  struct SCOREP_Location* location,
855  uint64_t timestamp,
856  SCOREP_RmaWindowHandle windowHandle,
857  uint32_t remote,
859  uint64_t bytesSent,
860  uint64_t bytesReceived,
861  uint64_t matchingId );
862 
876  struct SCOREP_Location* location,
877  uint64_t timestamp,
878  SCOREP_RmaWindowHandle windowHandle );
879 
901  struct SCOREP_Location* location,
902  uint64_t timestamp,
903  SCOREP_RmaWindowHandle windowHandle,
904  uint64_t matchingId );
905 
906 typedef void ( * SCOREP_Substrates_RmaOpCompleteNonBlockingCb )(
907  struct SCOREP_Location* location,
908  uint64_t timestamp,
909  SCOREP_RmaWindowHandle windowHandle,
910  uint64_t matchingId );
911 
929 typedef void ( * SCOREP_Substrates_RmaOpTestCb )(
930  struct SCOREP_Location* location,
931  uint64_t timestamp,
932  SCOREP_RmaWindowHandle windowHandle,
933  uint64_t matchingId );
934 
935 
953  struct SCOREP_Location* location,
954  uint64_t timestamp,
955  SCOREP_RmaWindowHandle windowHandle,
956  uint64_t matchingId );
957 
958 
977  struct SCOREP_Location* location,
978  uint64_t timestamp,
979  SCOREP_ParadigmType paradigm,
980  uint32_t lockId,
981  uint32_t acquisitionOrder );
982 
983 
984 typedef void ( * SCOREP_Substrates_ThreadReleaseLockCb )(
985  struct SCOREP_Location* location,
986  uint64_t timestamp,
987  SCOREP_ParadigmType paradigm,
988  uint32_t lockId,
989  uint32_t acquisitionOrder );
990 
1008  struct SCOREP_Location* location,
1009  uint64_t timestamp,
1010  SCOREP_SamplingSetHandle counterHandle,
1011  int64_t value );
1012 
1013 typedef void ( * SCOREP_Substrates_TriggerCounterUint64Cb )(
1014  struct SCOREP_Location* location,
1015  uint64_t timestamp,
1016  SCOREP_SamplingSetHandle counterHandle,
1017  uint64_t value );
1018 
1019 typedef void ( * SCOREP_Substrates_TriggerCounterDoubleCb )(
1020  struct SCOREP_Location* location,
1021  uint64_t timestamp,
1022  SCOREP_SamplingSetHandle counterHandle,
1023  double value );
1042  struct SCOREP_Location* location,
1043  uint64_t timestamp,
1044  SCOREP_ParameterHandle parameterHandle,
1045  int64_t value );
1046 
1047 typedef void ( * SCOREP_Substrates_TriggerParameterUint64Cb )(
1048  struct SCOREP_Location* location,
1049  uint64_t timestamp,
1050  SCOREP_ParameterHandle parameterHandle,
1051  uint64_t value );
1068  struct SCOREP_Location* location,
1069  uint64_t timestamp,
1070  SCOREP_ParameterHandle parameterHandle,
1071  SCOREP_StringHandle string_handle );
1072 
1092  struct SCOREP_Location* location,
1093  uint64_t timestamp,
1094  SCOREP_ParadigmType paradigm,
1095  uint32_t nRequestedThreads,
1096  uint32_t forkSequenceCount );
1097 
1109  struct SCOREP_Location* location,
1110  uint64_t timestamp,
1111  SCOREP_ParadigmType paradigm );
1112 
1127  struct SCOREP_Location* location,
1128  uint64_t timestamp,
1129  SCOREP_ParadigmType paradigm,
1130  SCOREP_InterimCommunicatorHandle threadTeam );
1131 
1132 typedef void ( * SCOREP_Substrates_ThreadForkJoinTeamEndCb )(
1133  struct SCOREP_Location* location,
1134  uint64_t timestamp,
1135  SCOREP_ParadigmType paradigm,
1136  SCOREP_InterimCommunicatorHandle threadTeam );
1137 
1164  struct SCOREP_Location* location,
1165  uint64_t timestamp,
1166  SCOREP_ParadigmType paradigm,
1167  SCOREP_InterimCommunicatorHandle threadTeam,
1168  uint32_t threadId,
1169  uint32_t generationNumber );
1170 
1197  struct SCOREP_Location* location,
1198  uint64_t timestamp,
1199  uint64_t* metricValues,
1200  SCOREP_ParadigmType paradigm,
1201  SCOREP_InterimCommunicatorHandle threadTeam,
1202  uint32_t threadId,
1203  uint32_t generationNumber,
1204  SCOREP_TaskHandle taskHandle );
1205 
1234  struct SCOREP_Location* location,
1235  uint64_t timestamp,
1236  SCOREP_RegionHandle regionHandle,
1237  uint64_t* metricValues,
1238  SCOREP_ParadigmType paradigm,
1239  SCOREP_InterimCommunicatorHandle threadTeam,
1240  uint32_t threadId,
1241  uint32_t generationNumber,
1242  SCOREP_TaskHandle taskHandle );
1243 
1244 typedef void ( * SCOREP_Substrates_ThreadForkJoinTaskEndCb )(
1245  struct SCOREP_Location* location,
1246  uint64_t timestamp,
1247  SCOREP_RegionHandle regionHandle,
1248  uint64_t* metricValues,
1249  SCOREP_ParadigmType paradigm,
1250  SCOREP_InterimCommunicatorHandle threadTeam,
1251  uint32_t threadId,
1252  uint32_t generationNumber,
1253  SCOREP_TaskHandle taskHandle );
1254 
1275  struct SCOREP_Location* location,
1276  uint64_t timestamp,
1277  SCOREP_ParadigmType paradigm,
1278  SCOREP_InterimCommunicatorHandle threadTeam,
1279  uint32_t createSequenceCount );
1280 
1281 typedef void ( * SCOREP_Substrates_ThreadCreateWaitWaitCb )(
1282  struct SCOREP_Location* location,
1283  uint64_t timestamp,
1284  SCOREP_ParadigmType paradigm,
1285  SCOREP_InterimCommunicatorHandle threadTeam,
1286  uint32_t createSequenceCount );
1287 
1288 typedef void ( * SCOREP_Substrates_ThreadCreateWaitBeginCb )(
1289  struct SCOREP_Location* location,
1290  uint64_t timestamp,
1291  SCOREP_ParadigmType paradigm,
1292  SCOREP_InterimCommunicatorHandle threadTeam,
1293  uint32_t createSequenceCount );
1294 
1295 typedef void ( * SCOREP_Substrates_ThreadCreateWaitEndCb )(
1296  struct SCOREP_Location* location,
1297  uint64_t timestamp,
1298  SCOREP_ParadigmType paradigm,
1299  SCOREP_InterimCommunicatorHandle threadTeam,
1300  uint32_t createSequenceCount );
1301 
1323  struct SCOREP_Location* location,
1324  uint64_t timestamp,
1325  uint64_t addrAllocated,
1326  size_t bytesAllocated,
1327  void* substrateData[],
1328  size_t bytesAllocatedMetric,
1329  size_t bytesAllocatedProcess );
1330 
1356  struct SCOREP_Location* location,
1357  uint64_t timestamp,
1358  uint64_t oldAddr,
1359  size_t oldBytesAllocated,
1360  void* oldSubstrateData[],
1361  uint64_t newAddr,
1362  size_t newBytesAllocated,
1363  void* newSubstrateData[],
1364  size_t bytesAllocatedMetric,
1365  size_t bytesAllocatedProcess );
1366 
1386  struct SCOREP_Location* location,
1387  uint64_t timestamp,
1388  uint64_t addrFreed,
1389  size_t bytesFreed,
1390  void* substrateData[],
1391  size_t bytesAllocatedMetric,
1392  size_t bytesAllocatedProcess );
1393 
1394 
1412  struct SCOREP_Location* location,
1413  uint64_t timestamp,
1414  SCOREP_SamplingSetHandle samplingSet,
1415  const uint64_t* metricValues );
1416 
1417 #endif /* SCOREP_SUBSTRATE_EVENTS_H */
Definition: SCOREP_SubstrateEvents.h:112
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:976
Definition: SCOREP_SubstrateEvents.h:117
Definition: SCOREP_SubstrateEvents.h:122
Definition: SCOREP_SubstrateEvents.h:80
Definition: SCOREP_SubstrateEvents.h:74
Definition: SCOREP_SubstrateEvents.h:91
Definition: SCOREP_SubstrateEvents.h:129
Definition: SCOREP_SubstrateEvents.h:119
Definition: SCOREP_SubstrateEvents.h:135
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:371
Definition: SCOREP_SubstrateEvents.h:83
Definition: SCOREP_SubstrateEvents.h:60
void(* SCOREP_Substrates_RmaCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp)
Definition: SCOREP_SubstrateEvents.h:603
Definition: SCOREP_SubstrateEvents.h:99
Definition: SCOREP_SubstrateEvents.h:114
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:81
void(* SCOREP_Substrates_MpiRequestCancelledCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:505
void(* SCOREP_Substrates_Callback)(void)
Definition: SCOREP_SubstrateEvents.h:46
Definition: SCOREP_SubstrateEvents.h:106
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:627
Definition: SCOREP_SubstrateEvents.h:94
Definition: SCOREP_SubstrateEvents.h:131
void(* SCOREP_Substrates_MpiIrecvRequestCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:473
Definition: SCOREP_SubstrateEvents.h:86
SCOREP_RmaSyncType
Type of direct RMA synchronization call.
Definition: SCOREP_PublicTypes.h:489
Definition: SCOREP_SubstrateEvents.h:71
void(* SCOREP_Substrates_ThreadForkJoinTeamBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam)
Definition: SCOREP_SubstrateEvents.h:1126
void(* SCOREP_Substrates_RmaOpCompleteRemoteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:952
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:658
int SCOREP_MpiRank
Definition: SCOREP_PublicTypes.h:233
Definition: SCOREP_SubstrateEvents.h:126
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:809
Definition: SCOREP_SubstrateEvents.h:105
SCOREP_RmaSyncLevel
specifies a RMA synchronization level, used by RMA records to be passed to SCOREP_Rma*() functions...
Definition: SCOREP_PublicTypes.h:516
Definition: SCOREP_SubstrateEvents.h:121
Definition: SCOREP_SubstrateEvents.h:95
void(* SCOREP_Substrates_RmaSyncCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint32_t remote, SCOREP_RmaSyncType syncType)
Definition: SCOREP_SubstrateEvents.h:757
SCOREP_ParadigmType
defines paradigms that are be monitored
Definition: SCOREP_PublicTypes.h:325
void(* SCOREP_Substrates_ThreadCreateWaitCreateCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, SCOREP_InterimCommunicatorHandle threadTeam, uint32_t createSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1274
void(* SCOREP_Substrates_RmaGroupSyncCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaSyncLevel syncLevel, SCOREP_RmaWindowHandle windowHandle, SCOREP_GroupHandle groupHandle)
Definition: SCOREP_SubstrateEvents.h:779
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:735
void(* SCOREP_Substrates_TriggerParameterStringCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, SCOREP_StringHandle string_handle)
Definition: SCOREP_SubstrateEvents.h:1067
Definition: SCOREP_SubstrateEvents.h:89
Definition: SCOREP_SubstrateEvents.h:92
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:683
void(* SCOREP_Substrates_EnableRecordingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:156
void(* SCOREP_Substrates_TriggerCounterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_SamplingSetHandle counterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:1007
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:555
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:267
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:437
Definition: SCOREP_SubstrateEvents.h:128
Definition: SCOREP_SubstrateEvents.h:127
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:328
void(* SCOREP_Substrates_RmaWinDestroyCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:589
void(* SCOREP_Substrates_ExitRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:239
SCOREP_Substrates_EventType
Substrate events. Lists every event that is going to be used by the substrate mechanism. More details can be found in the respective functions.
Definition: SCOREP_SubstrateEvents.h:67
void(* SCOREP_Substrates_ExitRewindRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, bool doRewind)
Definition: SCOREP_SubstrateEvents.h:347
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:528
void(* SCOREP_Substrates_MpiCollectiveBeginCb)(struct SCOREP_Location *location, uint64_t timestamp)
Definition: SCOREP_SubstrateEvents.h:414
Definition: SCOREP_SubstrateEvents.h:93
Definition: SCOREP_SubstrateEvents.h:133
Types used by metric service.
Definition: SCOREP_SubstrateEvents.h:101
Definition: SCOREP_SubstrateEvents.h:90
void(* SCOREP_Substrates_OnTracingBufferFlushEndCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:197
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:1163
void(* SCOREP_Substrates_OnTracingBufferFlushBeginCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:187
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:853
void(* SCOREP_Substrates_ThreadForkJoinForkCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm, uint32_t nRequestedThreads, uint32_t forkSequenceCount)
Definition: SCOREP_SubstrateEvents.h:1091
Definition: SCOREP_SubstrateEvents.h:70
void(* SCOREP_Substrates_CallingContextExitCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_CallingContextHandle callingContext, SCOREP_CallingContextHandle previousCallingContext, uint32_t unwindDistance, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:308
Definition: SCOREP_SubstrateEvents.h:110
Definition: SCOREP_SubstrateEvents.h:123
Definition: SCOREP_SubstrateEvents.h:111
void(* SCOREP_Substrates_ThreadForkJoinJoinCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParadigmType paradigm)
Definition: SCOREP_SubstrateEvents.h:1108
Definition: SCOREP_SubstrateEvents.h:88
Definition: SCOREP_SubstrateEvents.h:132
Definition: SCOREP_SubstrateEvents.h:97
Definition: SCOREP_SubstrateEvents.h:84
Definition: SCOREP_SubstrateEvents.h:120
Definition: SCOREP_SubstrateEvents.h:115
void(* SCOREP_Substrates_RmaWaitChangeCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:875
Definition: SCOREP_SubstrateEvents.h:73
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:1355
SCOREP_RmaAtomicType
specifies a RMA Atomic Operation Type.
Definition: SCOREP_PublicTypes.h:553
Definition: SCOREP_SubstrateEvents.h:100
Definition: SCOREP_SubstrateEvents.h:82
Definition: SCOREP_SubstrateEvents.h:103
Definition: SCOREP_SubstrateEvents.h:87
void(* SCOREP_Substrates_DisableRecordingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:170
Definition: SCOREP_SubstrateEvents.h:98
Definition: SCOREP_SubstrateEvents.h:76
Definition: SCOREP_SubstrateEvents.h:69
Definition: SCOREP_SubstrateEvents.h:108
uint64_t SCOREP_MpiRequestId
Definition: SCOREP_PublicTypes.h:239
Definition: SCOREP_SubstrateEvents.h:109
Definition: SCOREP_SubstrateEvents.h:124
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:397
Definition: SCOREP_SubstrateEvents.h:125
Definition: SCOREP_SubstrateEvents.h:116
void(* SCOREP_Substrates_RmaWinCreateCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle)
Definition: SCOREP_SubstrateEvents.h:574
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:1322
Definition: SCOREP_SubstrateEvents.h:75
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:1196
Definition: SCOREP_SubstrateEvents.h:102
Definition: SCOREP_SubstrateEvents.h:107
Definition: SCOREP_SubstrateEvents.h:96
void(* SCOREP_Substrates_WriteMetricsCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_SamplingSetHandle samplingSet, const uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:1411
Definition: SCOREP_SubstrateEvents.h:78
void(* SCOREP_Substrates_MpiIsendCompleteCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:457
Definition: SCOREP_SubstrateEvents.h:104
Definition: SCOREP_SubstrateEvents.h:118
Definition: SCOREP_SubstrateEvents.h:58
Definition: SCOREP_SubstrateEvents.h:130
int64_t SCOREP_ExitStatus
Definition: SCOREP_PublicTypes.h:51
Definition: SCOREP_SubstrateEvents.h:79
void(* SCOREP_Substrates_RmaOpTestCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:929
SCOREP_AnyHandle SCOREP_RegionHandle
Definition: SCOREP_PublicTypes.h:135
Definition: SCOREP_SubstrateEvents.h:85
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:294
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:1233
void(* SCOREP_Substrates_MpiRequestTestedCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_MpiRequestId requestId)
Definition: SCOREP_SubstrateEvents.h:489
Definition: SCOREP_SubstrateEvents.h:77
Definition: SCOREP_SubstrateEvents.h:113
void(* SCOREP_Substrates_EnterRegionCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RegionHandle regionHandle, uint64_t *metricValues)
Definition: SCOREP_SubstrateEvents.h:228
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:710
void(* SCOREP_Substrates_TriggerParameterInt64Cb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_ParameterHandle parameterHandle, int64_t value)
Definition: SCOREP_SubstrateEvents.h:1041
Definition: SCOREP_SubstrateEvents.h:72
void(* SCOREP_Substrates_RmaOpCompleteBlockingCb)(struct SCOREP_Location *location, uint64_t timestamp, SCOREP_RmaWindowHandle windowHandle, uint64_t matchingId)
Definition: SCOREP_SubstrateEvents.h:900
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:1385