2.0 (revision 4408)
OTF2_EvtReaderCallbacks.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) 2009-2012,
5  * RWTH Aachen University, Germany
6  *
7  * Copyright (c) 2009-2012,
8  * Gesellschaft fuer numerische Simulation mbH Braunschweig, Germany
9  *
10  * Copyright (c) 2009-2012,
11  * Technische Universitaet Dresden, Germany
12  *
13  * Copyright (c) 2009-2012,
14  * University of Oregon, Eugene, USA
15  *
16  * Copyright (c) 2009-2012,
17  * Forschungszentrum Juelich GmbH, Germany
18  *
19  * Copyright (c) 2009-2012,
20  * German Research School for Simulation Sciences GmbH, Juelich/Aachen, Germany
21  *
22  * Copyright (c) 2009-2012,
23  * Technische Universitaet Muenchen, Germany
24  *
25  * This software may be modified and distributed under the terms of
26  * a BSD-style license. See the COPYING file in the package base
27  * directory for details.
28  *
29  */
30 
31 
32 #ifndef OTF2_EVT_READER_CALLBACKS_H
33 #define OTF2_EVT_READER_CALLBACKS_H
34 
35 
44 #include <stdint.h>
45 
46 
47 #include <otf2/OTF2_ErrorCodes.h>
48 
49 
52 #include <otf2/OTF2_Events.h>
53 
54 
55 #ifdef __cplusplus
56 extern "C" {
57 #endif /* __cplusplus */
58 
59 
62 typedef struct OTF2_EvtReaderCallbacks_struct OTF2_EvtReaderCallbacks;
63 
64 
71 
72 
78 void
80 
81 
87 void
89 
90 
104 typedef OTF2_CallbackCode
106  OTF2_TimeStamp time,
107  uint64_t eventPosition,
108  void* userData,
109  OTF2_AttributeList* attributeList );
110 
111 
126  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
127  OTF2_EvtReaderCallback_Unknown unknownCallback );
128 
129 
149 typedef OTF2_CallbackCode
151  OTF2_TimeStamp time,
152  uint64_t eventPosition,
153  void* userData,
154  OTF2_AttributeList* attributeList,
155  OTF2_TimeStamp stopTime );
156 
157 
174  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
175  OTF2_EvtReaderCallback_BufferFlush bufferFlushCallback );
176 
177 
199 typedef OTF2_CallbackCode
201  OTF2_TimeStamp time,
202  uint64_t eventPosition,
203  void* userData,
204  OTF2_AttributeList* attributeList,
205  OTF2_MeasurementMode measurementMode );
206 
207 
224  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
225  OTF2_EvtReaderCallback_MeasurementOnOff measurementOnOffCallback );
226 
227 
249 typedef OTF2_CallbackCode
251  OTF2_TimeStamp time,
252  uint64_t eventPosition,
253  void* userData,
254  OTF2_AttributeList* attributeList,
255  OTF2_RegionRef region );
256 
257 
274  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
275  OTF2_EvtReaderCallback_Enter enterCallback );
276 
277 
299 typedef OTF2_CallbackCode
301  OTF2_TimeStamp time,
302  uint64_t eventPosition,
303  void* userData,
304  OTF2_AttributeList* attributeList,
305  OTF2_RegionRef region );
306 
307 
324  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
325  OTF2_EvtReaderCallback_Leave leaveCallback );
326 
327 
355 typedef OTF2_CallbackCode
357  OTF2_TimeStamp time,
358  uint64_t eventPosition,
359  void* userData,
360  OTF2_AttributeList* attributeList,
361  uint32_t receiver,
362  OTF2_CommRef communicator,
363  uint32_t msgTag,
364  uint64_t msgLength );
365 
366 
383  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
384  OTF2_EvtReaderCallback_MpiSend mpiSendCallback );
385 
386 
415 typedef OTF2_CallbackCode
417  OTF2_TimeStamp time,
418  uint64_t eventPosition,
419  void* userData,
420  OTF2_AttributeList* attributeList,
421  uint32_t receiver,
422  OTF2_CommRef communicator,
423  uint32_t msgTag,
424  uint64_t msgLength,
425  uint64_t requestID );
426 
427 
444  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
445  OTF2_EvtReaderCallback_MpiIsend mpiIsendCallback );
446 
447 
466 typedef OTF2_CallbackCode
468  OTF2_TimeStamp time,
469  uint64_t eventPosition,
470  void* userData,
471  OTF2_AttributeList* attributeList,
472  uint64_t requestID );
473 
474 
491  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
492  OTF2_EvtReaderCallback_MpiIsendComplete mpiIsendCompleteCallback );
493 
494 
513 typedef OTF2_CallbackCode
515  OTF2_TimeStamp time,
516  uint64_t eventPosition,
517  void* userData,
518  OTF2_AttributeList* attributeList,
519  uint64_t requestID );
520 
521 
538  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
539  OTF2_EvtReaderCallback_MpiIrecvRequest mpiIrecvRequestCallback );
540 
541 
569 typedef OTF2_CallbackCode
571  OTF2_TimeStamp time,
572  uint64_t eventPosition,
573  void* userData,
574  OTF2_AttributeList* attributeList,
575  uint32_t sender,
576  OTF2_CommRef communicator,
577  uint32_t msgTag,
578  uint64_t msgLength );
579 
580 
597  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
598  OTF2_EvtReaderCallback_MpiRecv mpiRecvCallback );
599 
600 
629 typedef OTF2_CallbackCode
631  OTF2_TimeStamp time,
632  uint64_t eventPosition,
633  void* userData,
634  OTF2_AttributeList* attributeList,
635  uint32_t sender,
636  OTF2_CommRef communicator,
637  uint32_t msgTag,
638  uint64_t msgLength,
639  uint64_t requestID );
640 
641 
658  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
659  OTF2_EvtReaderCallback_MpiIrecv mpiIrecvCallback );
660 
661 
681 typedef OTF2_CallbackCode
683  OTF2_TimeStamp time,
684  uint64_t eventPosition,
685  void* userData,
686  OTF2_AttributeList* attributeList,
687  uint64_t requestID );
688 
689 
706  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
707  OTF2_EvtReaderCallback_MpiRequestTest mpiRequestTestCallback );
708 
709 
728 typedef OTF2_CallbackCode
730  OTF2_TimeStamp time,
731  uint64_t eventPosition,
732  void* userData,
733  OTF2_AttributeList* attributeList,
734  uint64_t requestID );
735 
736 
754  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
755  OTF2_EvtReaderCallback_MpiRequestCancelled mpiRequestCancelledCallback );
756 
757 
776 typedef OTF2_CallbackCode
778  OTF2_TimeStamp time,
779  uint64_t eventPosition,
780  void* userData,
781  OTF2_AttributeList* attributeList );
782 
783 
800  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
801  OTF2_EvtReaderCallback_MpiCollectiveBegin mpiCollectiveBeginCallback );
802 
803 
832 typedef OTF2_CallbackCode
834  OTF2_TimeStamp time,
835  uint64_t eventPosition,
836  void* userData,
837  OTF2_AttributeList* attributeList,
838  OTF2_CollectiveOp collectiveOp,
839  OTF2_CommRef communicator,
840  uint32_t root,
841  uint64_t sizeSent,
842  uint64_t sizeReceived );
843 
844 
861  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
862  OTF2_EvtReaderCallback_MpiCollectiveEnd mpiCollectiveEndCallback );
863 
864 
887 typedef OTF2_CallbackCode
889  OTF2_TimeStamp time,
890  uint64_t eventPosition,
891  void* userData,
892  OTF2_AttributeList* attributeList,
893  uint32_t numberOfRequestedThreads );
894 
895 
912  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
913  OTF2_EvtReaderCallback_OmpFork ompForkCallback );
914 
915 
938 typedef OTF2_CallbackCode
940  OTF2_TimeStamp time,
941  uint64_t eventPosition,
942  void* userData,
943  OTF2_AttributeList* attributeList );
944 
945 
962  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
963  OTF2_EvtReaderCallback_OmpJoin ompJoinCallback );
964 
965 
993 typedef OTF2_CallbackCode
995  OTF2_TimeStamp time,
996  uint64_t eventPosition,
997  void* userData,
998  OTF2_AttributeList* attributeList,
999  uint32_t lockID,
1000  uint32_t acquisitionOrder );
1001 
1002 
1019  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1020  OTF2_EvtReaderCallback_OmpAcquireLock ompAcquireLockCallback );
1021 
1022 
1050 typedef OTF2_CallbackCode
1052  OTF2_TimeStamp time,
1053  uint64_t eventPosition,
1054  void* userData,
1055  OTF2_AttributeList* attributeList,
1056  uint32_t lockID,
1057  uint32_t acquisitionOrder );
1058 
1059 
1076  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1077  OTF2_EvtReaderCallback_OmpReleaseLock ompReleaseLockCallback );
1078 
1079 
1103 typedef OTF2_CallbackCode
1105  OTF2_TimeStamp time,
1106  uint64_t eventPosition,
1107  void* userData,
1108  OTF2_AttributeList* attributeList,
1109  uint64_t taskID );
1110 
1111 
1128  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1129  OTF2_EvtReaderCallback_OmpTaskCreate ompTaskCreateCallback );
1130 
1131 
1157 typedef OTF2_CallbackCode
1159  OTF2_TimeStamp time,
1160  uint64_t eventPosition,
1161  void* userData,
1162  OTF2_AttributeList* attributeList,
1163  uint64_t taskID );
1164 
1165 
1182  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1183  OTF2_EvtReaderCallback_OmpTaskSwitch ompTaskSwitchCallback );
1184 
1185 
1209 typedef OTF2_CallbackCode
1211  OTF2_TimeStamp time,
1212  uint64_t eventPosition,
1213  void* userData,
1214  OTF2_AttributeList* attributeList,
1215  uint64_t taskID );
1216 
1217 
1234  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1235  OTF2_EvtReaderCallback_OmpTaskComplete ompTaskCompleteCallback );
1236 
1237 
1268 typedef OTF2_CallbackCode
1270  OTF2_TimeStamp time,
1271  uint64_t eventPosition,
1272  void* userData,
1273  OTF2_AttributeList* attributeList,
1274  OTF2_MetricRef metric,
1275  uint8_t numberOfMetrics,
1276  const OTF2_Type* typeIDs,
1277  const OTF2_MetricValue* metricValues );
1278 
1279 
1296  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1297  OTF2_EvtReaderCallback_Metric metricCallback );
1298 
1299 
1326 typedef OTF2_CallbackCode
1328  OTF2_TimeStamp time,
1329  uint64_t eventPosition,
1330  void* userData,
1331  OTF2_AttributeList* attributeList,
1332  OTF2_ParameterRef parameter,
1333  OTF2_StringRef string );
1334 
1335 
1352  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1353  OTF2_EvtReaderCallback_ParameterString parameterStringCallback );
1354 
1355 
1379 typedef OTF2_CallbackCode
1381  OTF2_TimeStamp time,
1382  uint64_t eventPosition,
1383  void* userData,
1384  OTF2_AttributeList* attributeList,
1385  OTF2_ParameterRef parameter,
1386  int64_t value );
1387 
1388 
1405  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1406  OTF2_EvtReaderCallback_ParameterInt parameterIntCallback );
1407 
1408 
1432 typedef OTF2_CallbackCode
1434  OTF2_TimeStamp time,
1435  uint64_t eventPosition,
1436  void* userData,
1437  OTF2_AttributeList* attributeList,
1438  OTF2_ParameterRef parameter,
1439  uint64_t value );
1440 
1441 
1459  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1460  OTF2_EvtReaderCallback_ParameterUnsignedInt parameterUnsignedIntCallback );
1461 
1462 
1484 typedef OTF2_CallbackCode
1486  OTF2_TimeStamp time,
1487  uint64_t eventPosition,
1488  void* userData,
1489  OTF2_AttributeList* attributeList,
1490  OTF2_RmaWinRef win );
1491 
1492 
1509  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1510  OTF2_EvtReaderCallback_RmaWinCreate rmaWinCreateCallback );
1511 
1512 
1534 typedef OTF2_CallbackCode
1536  OTF2_TimeStamp time,
1537  uint64_t eventPosition,
1538  void* userData,
1539  OTF2_AttributeList* attributeList,
1540  OTF2_RmaWinRef win );
1541 
1542 
1559  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1560  OTF2_EvtReaderCallback_RmaWinDestroy rmaWinDestroyCallback );
1561 
1562 
1581 typedef OTF2_CallbackCode
1583  OTF2_TimeStamp time,
1584  uint64_t eventPosition,
1585  void* userData,
1586  OTF2_AttributeList* attributeList );
1587 
1588 
1605  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1606  OTF2_EvtReaderCallback_RmaCollectiveBegin rmaCollectiveBeginCallback );
1607 
1608 
1636 typedef OTF2_CallbackCode
1638  OTF2_TimeStamp time,
1639  uint64_t eventPosition,
1640  void* userData,
1641  OTF2_AttributeList* attributeList,
1642  OTF2_CollectiveOp collectiveOp,
1643  OTF2_RmaSyncLevel syncLevel,
1644  OTF2_RmaWinRef win,
1645  uint32_t root,
1646  uint64_t bytesSent,
1647  uint64_t bytesReceived );
1648 
1649 
1666  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1667  OTF2_EvtReaderCallback_RmaCollectiveEnd rmaCollectiveEndCallback );
1668 
1669 
1697 typedef OTF2_CallbackCode
1699  OTF2_TimeStamp time,
1700  uint64_t eventPosition,
1701  void* userData,
1702  OTF2_AttributeList* attributeList,
1703  OTF2_RmaSyncLevel syncLevel,
1704  OTF2_RmaWinRef win,
1705  OTF2_GroupRef group );
1706 
1707 
1724  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1725  OTF2_EvtReaderCallback_RmaGroupSync rmaGroupSyncCallback );
1726 
1727 
1756 typedef OTF2_CallbackCode
1758  OTF2_TimeStamp time,
1759  uint64_t eventPosition,
1760  void* userData,
1761  OTF2_AttributeList* attributeList,
1762  OTF2_RmaWinRef win,
1763  uint32_t remote,
1764  uint64_t lockId,
1765  OTF2_LockType lockType );
1766 
1767 
1784  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1785  OTF2_EvtReaderCallback_RmaRequestLock rmaRequestLockCallback );
1786 
1787 
1814 typedef OTF2_CallbackCode
1816  OTF2_TimeStamp time,
1817  uint64_t eventPosition,
1818  void* userData,
1819  OTF2_AttributeList* attributeList,
1820  OTF2_RmaWinRef win,
1821  uint32_t remote,
1822  uint64_t lockId,
1823  OTF2_LockType lockType );
1824 
1825 
1842  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1843  OTF2_EvtReaderCallback_RmaAcquireLock rmaAcquireLockCallback );
1844 
1845 
1872 typedef OTF2_CallbackCode
1874  OTF2_TimeStamp time,
1875  uint64_t eventPosition,
1876  void* userData,
1877  OTF2_AttributeList* attributeList,
1878  OTF2_RmaWinRef win,
1879  uint32_t remote,
1880  uint64_t lockId,
1881  OTF2_LockType lockType );
1882 
1883 
1900  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1901  OTF2_EvtReaderCallback_RmaTryLock rmaTryLockCallback );
1902 
1903 
1928 typedef OTF2_CallbackCode
1930  OTF2_TimeStamp time,
1931  uint64_t eventPosition,
1932  void* userData,
1933  OTF2_AttributeList* attributeList,
1934  OTF2_RmaWinRef win,
1935  uint32_t remote,
1936  uint64_t lockId );
1937 
1938 
1955  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1956  OTF2_EvtReaderCallback_RmaReleaseLock rmaReleaseLockCallback );
1957 
1958 
1983 typedef OTF2_CallbackCode
1985  OTF2_TimeStamp time,
1986  uint64_t eventPosition,
1987  void* userData,
1988  OTF2_AttributeList* attributeList,
1989  OTF2_RmaWinRef win,
1990  uint32_t remote,
1991  OTF2_RmaSyncType syncType );
1992 
1993 
2010  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2011  OTF2_EvtReaderCallback_RmaSync rmaSyncCallback );
2012 
2013 
2036 typedef OTF2_CallbackCode
2038  OTF2_TimeStamp time,
2039  uint64_t eventPosition,
2040  void* userData,
2041  OTF2_AttributeList* attributeList,
2042  OTF2_RmaWinRef win );
2043 
2044 
2061  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2062  OTF2_EvtReaderCallback_RmaWaitChange rmaWaitChangeCallback );
2063 
2064 
2090 typedef OTF2_CallbackCode
2092  OTF2_TimeStamp time,
2093  uint64_t eventPosition,
2094  void* userData,
2095  OTF2_AttributeList* attributeList,
2096  OTF2_RmaWinRef win,
2097  uint32_t remote,
2098  uint64_t bytes,
2099  uint64_t matchingId );
2100 
2101 
2118  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2119  OTF2_EvtReaderCallback_RmaPut rmaPutCallback );
2120 
2121 
2147 typedef OTF2_CallbackCode
2149  OTF2_TimeStamp time,
2150  uint64_t eventPosition,
2151  void* userData,
2152  OTF2_AttributeList* attributeList,
2153  OTF2_RmaWinRef win,
2154  uint32_t remote,
2155  uint64_t bytes,
2156  uint64_t matchingId );
2157 
2158 
2175  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2176  OTF2_EvtReaderCallback_RmaGet rmaGetCallback );
2177 
2178 
2206 typedef OTF2_CallbackCode
2208  OTF2_TimeStamp time,
2209  uint64_t eventPosition,
2210  void* userData,
2211  OTF2_AttributeList* attributeList,
2212  OTF2_RmaWinRef win,
2213  uint32_t remote,
2214  OTF2_RmaAtomicType type,
2215  uint64_t bytesSent,
2216  uint64_t bytesReceived,
2217  uint64_t matchingId );
2218 
2219 
2236  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2237  OTF2_EvtReaderCallback_RmaAtomic rmaAtomicCallback );
2238 
2239 
2264 typedef OTF2_CallbackCode
2266  OTF2_TimeStamp time,
2267  uint64_t eventPosition,
2268  void* userData,
2269  OTF2_AttributeList* attributeList,
2270  OTF2_RmaWinRef win,
2271  uint64_t matchingId );
2272 
2273 
2291  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2292  OTF2_EvtReaderCallback_RmaOpCompleteBlocking rmaOpCompleteBlockingCallback );
2293 
2294 
2319 typedef OTF2_CallbackCode
2321  OTF2_TimeStamp time,
2322  uint64_t eventPosition,
2323  void* userData,
2324  OTF2_AttributeList* attributeList,
2325  OTF2_RmaWinRef win,
2326  uint64_t matchingId );
2327 
2328 
2347  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2348  OTF2_EvtReaderCallback_RmaOpCompleteNonBlocking rmaOpCompleteNonBlockingCallback );
2349 
2350 
2375 typedef OTF2_CallbackCode
2377  OTF2_TimeStamp time,
2378  uint64_t eventPosition,
2379  void* userData,
2380  OTF2_AttributeList* attributeList,
2381  OTF2_RmaWinRef win,
2382  uint64_t matchingId );
2383 
2384 
2401  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2402  OTF2_EvtReaderCallback_RmaOpTest rmaOpTestCallback );
2403 
2404 
2429 typedef OTF2_CallbackCode
2431  OTF2_TimeStamp time,
2432  uint64_t eventPosition,
2433  void* userData,
2434  OTF2_AttributeList* attributeList,
2435  OTF2_RmaWinRef win,
2436  uint64_t matchingId );
2437 
2438 
2456  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2457  OTF2_EvtReaderCallback_RmaOpCompleteRemote rmaOpCompleteRemoteCallback );
2458 
2459 
2479 typedef OTF2_CallbackCode
2481  OTF2_TimeStamp time,
2482  uint64_t eventPosition,
2483  void* userData,
2484  OTF2_AttributeList* attributeList,
2485  OTF2_Paradigm model,
2486  uint32_t numberOfRequestedThreads );
2487 
2488 
2505  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2506  OTF2_EvtReaderCallback_ThreadFork threadForkCallback );
2507 
2508 
2528 typedef OTF2_CallbackCode
2530  OTF2_TimeStamp time,
2531  uint64_t eventPosition,
2532  void* userData,
2533  OTF2_AttributeList* attributeList,
2534  OTF2_Paradigm model );
2535 
2536 
2553  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2554  OTF2_EvtReaderCallback_ThreadJoin threadJoinCallback );
2555 
2556 
2577 typedef OTF2_CallbackCode
2579  OTF2_TimeStamp time,
2580  uint64_t eventPosition,
2581  void* userData,
2582  OTF2_AttributeList* attributeList,
2583  OTF2_CommRef threadTeam );
2584 
2585 
2602  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2603  OTF2_EvtReaderCallback_ThreadTeamBegin threadTeamBeginCallback );
2604 
2605 
2626 typedef OTF2_CallbackCode
2628  OTF2_TimeStamp time,
2629  uint64_t eventPosition,
2630  void* userData,
2631  OTF2_AttributeList* attributeList,
2632  OTF2_CommRef threadTeam );
2633 
2634 
2651  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2652  OTF2_EvtReaderCallback_ThreadTeamEnd threadTeamEndCallback );
2653 
2654 
2679 typedef OTF2_CallbackCode
2681  OTF2_TimeStamp time,
2682  uint64_t eventPosition,
2683  void* userData,
2684  OTF2_AttributeList* attributeList,
2685  OTF2_Paradigm model,
2686  uint32_t lockID,
2687  uint32_t acquisitionOrder );
2688 
2689 
2706  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2707  OTF2_EvtReaderCallback_ThreadAcquireLock threadAcquireLockCallback );
2708 
2709 
2734 typedef OTF2_CallbackCode
2736  OTF2_TimeStamp time,
2737  uint64_t eventPosition,
2738  void* userData,
2739  OTF2_AttributeList* attributeList,
2740  OTF2_Paradigm model,
2741  uint32_t lockID,
2742  uint32_t acquisitionOrder );
2743 
2744 
2761  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2762  OTF2_EvtReaderCallback_ThreadReleaseLock threadReleaseLockCallback );
2763 
2764 
2790 typedef OTF2_CallbackCode
2792  OTF2_TimeStamp time,
2793  uint64_t eventPosition,
2794  void* userData,
2795  OTF2_AttributeList* attributeList,
2796  OTF2_CommRef threadTeam,
2797  uint32_t creatingThread,
2798  uint32_t generationNumber );
2799 
2800 
2817  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2818  OTF2_EvtReaderCallback_ThreadTaskCreate threadTaskCreateCallback );
2819 
2820 
2848 typedef OTF2_CallbackCode
2850  OTF2_TimeStamp time,
2851  uint64_t eventPosition,
2852  void* userData,
2853  OTF2_AttributeList* attributeList,
2854  OTF2_CommRef threadTeam,
2855  uint32_t creatingThread,
2856  uint32_t generationNumber );
2857 
2858 
2875  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2876  OTF2_EvtReaderCallback_ThreadTaskSwitch threadTaskSwitchCallback );
2877 
2878 
2904 typedef OTF2_CallbackCode
2906  OTF2_TimeStamp time,
2907  uint64_t eventPosition,
2908  void* userData,
2909  OTF2_AttributeList* attributeList,
2910  OTF2_CommRef threadTeam,
2911  uint32_t creatingThread,
2912  uint32_t generationNumber );
2913 
2914 
2931  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2932  OTF2_EvtReaderCallback_ThreadTaskComplete threadTaskCompleteCallback );
2933 
2934 
2959 typedef OTF2_CallbackCode
2961  OTF2_TimeStamp time,
2962  uint64_t eventPosition,
2963  void* userData,
2964  OTF2_AttributeList* attributeList,
2965  OTF2_CommRef threadContingent,
2966  uint64_t sequenceCount );
2967 
2968 
2985  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2986  OTF2_EvtReaderCallback_ThreadCreate threadCreateCallback );
2987 
2988 
3013 typedef OTF2_CallbackCode
3015  OTF2_TimeStamp time,
3016  uint64_t eventPosition,
3017  void* userData,
3018  OTF2_AttributeList* attributeList,
3019  OTF2_CommRef threadContingent,
3020  uint64_t sequenceCount );
3021 
3022 
3039  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3040  OTF2_EvtReaderCallback_ThreadBegin threadBeginCallback );
3041 
3042 
3067 typedef OTF2_CallbackCode
3069  OTF2_TimeStamp time,
3070  uint64_t eventPosition,
3071  void* userData,
3072  OTF2_AttributeList* attributeList,
3073  OTF2_CommRef threadContingent,
3074  uint64_t sequenceCount );
3075 
3076 
3093  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3094  OTF2_EvtReaderCallback_ThreadWait threadWaitCallback );
3095 
3096 
3123 typedef OTF2_CallbackCode
3125  OTF2_TimeStamp time,
3126  uint64_t eventPosition,
3127  void* userData,
3128  OTF2_AttributeList* attributeList,
3129  OTF2_CommRef threadContingent,
3130  uint64_t sequenceCount );
3131 
3132 
3149  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3150  OTF2_EvtReaderCallback_ThreadEnd threadEndCallback );
3151 
3152 
3190 typedef OTF2_CallbackCode
3192  OTF2_TimeStamp time,
3193  uint64_t eventPosition,
3194  void* userData,
3195  OTF2_AttributeList* attributeList,
3196  OTF2_CallingContextRef callingContext,
3197  uint32_t unwindDistance );
3198 
3199 
3217  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3218  OTF2_EvtReaderCallback_CallingContextEnter callingContextEnterCallback );
3219 
3220 
3263 typedef OTF2_CallbackCode
3265  OTF2_TimeStamp time,
3266  uint64_t eventPosition,
3267  void* userData,
3268  OTF2_AttributeList* attributeList,
3269  OTF2_CallingContextRef callingContext );
3270 
3271 
3289  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3290  OTF2_EvtReaderCallback_CallingContextLeave callingContextLeaveCallback );
3291 
3292 
3328 typedef OTF2_CallbackCode
3330  OTF2_TimeStamp time,
3331  uint64_t eventPosition,
3332  void* userData,
3333  OTF2_AttributeList* attributeList,
3334  OTF2_CallingContextRef callingContext,
3335  uint32_t unwindDistance,
3336  OTF2_InterruptGeneratorRef interruptGenerator );
3337 
3338 
3356  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3357  OTF2_EvtReaderCallback_CallingContextSample callingContextSampleCallback );
3358 
3359 
3360 #ifdef __cplusplus
3361 }
3362 #endif /* __cplusplus */
3363 
3364 
3365 #endif /* !OTF2_EVT_READER_CALLBACKS_H */
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetLeaveCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Leave leaveCallback)
Registers the callback for the Leave event.
uint8_t OTF2_RmaSyncType
Wrapper for enum OTF2_RmaSyncType_enum.
Definition: OTF2_Events.h:164
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCallingContextEnterCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CallingContextEnter callingContextEnterCallback)
Registers the callback for the CallingContextEnter event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiSendCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiSend mpiSendCallback)
Registers the callback for the MpiSend event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the ThreadReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:2735
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaRequestLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaRequestLock rmaRequestLockCallback)
Registers the callback for the RmaRequestLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetEnterCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Enter enterCallback)
Registers the callback for the Enter event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaSync)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaSyncType syncType)
Callback for the RmaSync event record.
Definition: OTF2_EvtReaderCallbacks.h:1984
uint64_t OTF2_LocationRef
Type used to indicate a reference to a Location definition.
Definition: OTF2_GeneralDefinitions.h:125
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTeamEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam)
Callback for the ThreadTeamEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:2627
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpCompleteRemoteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpCompleteRemote rmaOpCompleteRemoteCallback)
Registers the callback for the RmaOpCompleteRemote event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaCollectiveBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for the RmaCollectiveBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:1582
OTF2_CallbackCode(* OTF2_EvtReaderCallback_BufferFlush)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_TimeStamp stopTime)
Callback for the BufferFlush event record.
Definition: OTF2_EvtReaderCallbacks.h:150
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaTryLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Callback for the RmaTryLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1873
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the OmpAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:994
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetParameterUnsignedIntCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ParameterUnsignedInt parameterUnsignedIntCallback)
Registers the callback for the ParameterUnsignedInt event.
uint8_t OTF2_Type
Wrapper for enum OTF2_Type_enum.
Definition: OTF2_GeneralDefinitions.h:525
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpJoinCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpJoin ompJoinCallback)
Registers the callback for the OmpJoin event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaTryLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaTryLock rmaTryLockCallback)
Registers the callback for the RmaTryLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiRecvCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiRecv mpiRecvCallback)
Registers the callback for the MpiRecv event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaWinCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaWinCreate rmaWinCreateCallback)
Registers the callback for the RmaWinCreate event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMetricCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Metric metricCallback)
Registers the callback for the Metric event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIsendCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIsendComplete mpiIsendCompleteCallback)
Registers the callback for the MpiIsendComplete event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTaskSwitchCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTaskSwitch threadTaskSwitchCallback)
Registers the callback for the ThreadTaskSwitch event.
uint8_t OTF2_Paradigm
Wrapper for enum OTF2_Paradigm_enum.
Definition: OTF2_GeneralDefinitions.h:661
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpTaskCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpTaskComplete ompTaskCompleteCallback)
Registers the callback for the OmpTaskComplete event.
uint32_t OTF2_StringRef
Type used to indicate a reference to a String definition.
Definition: OTF2_GeneralDefinitions.h:101
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIrecvRequestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIrecvRequest mpiIrecvRequestCallback)
Registers the callback for the MpiIrecvRequest event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MeasurementOnOff)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_MeasurementMode measurementMode)
Callback for the MeasurementOnOff event record.
Definition: OTF2_EvtReaderCallbacks.h:200
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpTaskComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
Callback for the OmpTaskComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:1210
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Metric)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_MetricRef metric, uint8_t numberOfMetrics, const OTF2_Type *typeIDs, const OTF2_MetricValue *metricValues)
Callback for the Metric event record.
Definition: OTF2_EvtReaderCallbacks.h:1269
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiRequestCancelled)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiRequestCancelled event record.
Definition: OTF2_EvtReaderCallbacks.h:729
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the OmpReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1051
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaGroupSyncCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaGroupSync rmaGroupSyncCallback)
Registers the callback for the RmaGroupSync event.
Enums and types used in event records.
uint8_t OTF2_MeasurementMode
Wrapper for enum OTF2_MeasurementMode_enum.
Definition: OTF2_Events.h:56
Metric value.
Definition: OTF2_Events.h:269
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CallingContextSample)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance, OTF2_InterruptGeneratorRef interruptGenerator)
Callback for the CallingContextSample event record.
Definition: OTF2_EvtReaderCallbacks.h:3329
uint32_t OTF2_ParameterRef
Type used to indicate a reference to a Parameter definition.
Definition: OTF2_GeneralDefinitions.h:173
This layer enables dynamic appending of arbitrary attributes to any type of event record...
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTaskCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Callback for the ThreadTaskCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:2791
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaReleaseLock rmaReleaseLockCallback)
Registers the callback for the RmaReleaseLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaAcquireLock rmaAcquireLockCallback)
Registers the callback for the RmaAcquireLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpForkCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpFork ompForkCallback)
Registers the callback for the OmpFork event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMeasurementOnOffCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MeasurementOnOff measurementOnOffCallback)
Registers the callback for the MeasurementOnOff event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpTaskCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpTaskCreate ompTaskCreateCallback)
Registers the callback for the OmpTaskCreate event.
uint8_t OTF2_RmaAtomicType
Wrapper for enum OTF2_RmaAtomicType_enum.
Definition: OTF2_Events.h:229
uint32_t OTF2_RmaSyncLevel
Wrapper for enum OTF2_RmaSyncLevel_enum.
Definition: OTF2_Events.h:186
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpTaskCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
Callback for the OmpTaskCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:1104
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiCollectiveBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for the MpiCollectiveBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:777
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadWait)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadWait event record.
Definition: OTF2_EvtReaderCallbacks.h:3068
OTF2_EvtReaderCallbacks * OTF2_EvtReaderCallbacks_New(void)
Allocates a new struct for the event callbacks.
struct OTF2_AttributeList_struct OTF2_AttributeList
Attribute list handle.
Definition: OTF2_AttributeList.h:104
OTF2_ErrorCode
Definition: OTF2_ErrorCodes.h:54
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTaskCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTaskCreate threadTaskCreateCallback)
Registers the callback for the ThreadTaskCreate event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadBegin threadBeginCallback)
Registers the callback for the ThreadBegin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiCollectiveEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CollectiveOp collectiveOp, OTF2_CommRef communicator, uint32_t root, uint64_t sizeSent, uint64_t sizeReceived)
Callback for the MpiCollectiveEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:833
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpTestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpTest rmaOpTestCallback)
Registers the callback for the RmaOpTest event.
uint32_t OTF2_InterruptGeneratorRef
Type used to indicate a reference to a InterruptGenerator definition.
Definition: OTF2_GeneralDefinitions.h:209
This header file provides general definitions which should be accessible in all internal and external...
uint8_t OTF2_LockType
Wrapper for enum OTF2_LockType_enum.
Definition: OTF2_Events.h:209
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaWaitChange)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
Callback for the RmaWaitChange event record.
Definition: OTF2_EvtReaderCallbacks.h:2037
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpCompleteBlockingCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpCompleteBlocking rmaOpCompleteBlockingCallback)
Registers the callback for the RmaOpCompleteBlocking event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaGroupSync)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, OTF2_GroupRef group)
Callback for the RmaGroupSync event record.
Definition: OTF2_EvtReaderCallbacks.h:1698
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpCompleteRemote)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpCompleteRemote event record.
Definition: OTF2_EvtReaderCallbacks.h:2430
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIrecvCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIrecv mpiIrecvCallback)
Registers the callback for the MpiIrecv event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTaskSwitch)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Callback for the ThreadTaskSwitch event record.
Definition: OTF2_EvtReaderCallbacks.h:2849
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiRequestTest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiRequestTest event record.
Definition: OTF2_EvtReaderCallbacks.h:682
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpAcquireLock ompAcquireLockCallback)
Registers the callback for the OmpAcquireLock event.
uint64_t OTF2_TimeStamp
OTF2 time stamp.
Definition: OTF2_GeneralDefinitions.h:95
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadForkCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadFork threadForkCallback)
Registers the callback for the ThreadFork event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiRequestTestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiRequestTest mpiRequestTestCallback)
Registers the callback for the MpiRequestTest event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:2960
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIsendCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIsend mpiIsendCallback)
Registers the callback for the MpiIsend event.
uint32_t OTF2_MetricRef
Type used to indicate a reference to a MetricClass, or a MetricInstance definition.
Definition: OTF2_GeneralDefinitions.h:161
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiRequestCancelledCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiRequestCancelled mpiRequestCancelledCallback)
Registers the callback for the MpiRequestCancelled event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:3014
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Leave)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region)
Callback for the Leave event record.
Definition: OTF2_EvtReaderCallbacks.h:300
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaGetCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaGet rmaGetCallback)
Registers the callback for the RmaGet event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadJoin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model)
Callback for the ThreadJoin event record.
Definition: OTF2_EvtReaderCallbacks.h:2529
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCallingContextSampleCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CallingContextSample callingContextSampleCallback)
Registers the callback for the CallingContextSample event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpTaskSwitchCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpTaskSwitch ompTaskSwitchCallback)
Registers the callback for the OmpTaskSwitch event.
OTF2_CallbackCode
Return value to indicate that the record reading should be interrupted.
Definition: OTF2_GeneralDefinitions.h:318
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaWinDestroyCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaWinDestroy rmaWinDestroyCallback)
Registers the callback for the RmaWinDestroy event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Unknown)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for an unknown event record.
Definition: OTF2_EvtReaderCallbacks.h:105
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpCompleteBlocking)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpCompleteBlocking event record.
Definition: OTF2_EvtReaderCallbacks.h:2265
void OTF2_EvtReaderCallbacks_Clear(OTF2_EvtReaderCallbacks *evtReaderCallbacks)
Clears a struct for the event callbacks.
uint32_t OTF2_CallingContextRef
Type used to indicate a reference to a CallingContext definition.
Definition: OTF2_GeneralDefinitions.h:203
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ParameterUnsignedInt)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, uint64_t value)
Callback for the ParameterUnsignedInt event record.
Definition: OTF2_EvtReaderCallbacks.h:1433
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadAcquireLock threadAcquireLockCallback)
Registers the callback for the ThreadAcquireLock event.
uint8_t OTF2_CollectiveOp
Wrapper for enum OTF2_CollectiveOp_enum.
Definition: OTF2_Events.h:75
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpFork)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t numberOfRequestedThreads)
Callback for the OmpFork event record.
Definition: OTF2_EvtReaderCallbacks.h:888
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetUnknownCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Unknown unknownCallback)
Registers the callback for the Unknown event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiRecv)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength)
Callback for the MpiRecv event record.
Definition: OTF2_EvtReaderCallbacks.h:570
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadCreate threadCreateCallback)
Registers the callback for the ThreadCreate event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTeamEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTeamEnd threadTeamEndCallback)
Registers the callback for the ThreadTeamEnd event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CallingContextLeave)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext)
Callback for the CallingContextLeave event record.
Definition: OTF2_EvtReaderCallbacks.h:3264
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaCollectiveEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaCollectiveEnd rmaCollectiveEndCallback)
Registers the callback for the RmaCollectiveEnd event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaSyncCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaSync rmaSyncCallback)
Registers the callback for the RmaSync event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaPutCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaPut rmaPutCallback)
Registers the callback for the RmaPut event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTaskCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTaskComplete threadTaskCompleteCallback)
Registers the callback for the ThreadTaskComplete event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIsend)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength, uint64_t requestID)
Callback for the MpiIsend event record.
Definition: OTF2_EvtReaderCallbacks.h:416
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIsendComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiIsendComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:467
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadEnd threadEndCallback)
Registers the callback for the ThreadEnd event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaPut)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId)
Callback for the RmaPut event record.
Definition: OTF2_EvtReaderCallbacks.h:2091
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetParameterIntCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ParameterInt parameterIntCallback)
Registers the callback for the ParameterInt event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Enter)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region)
Callback for the Enter event record.
Definition: OTF2_EvtReaderCallbacks.h:250
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCallingContextLeaveCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CallingContextLeave callingContextLeaveCallback)
Registers the callback for the CallingContextLeave event.
void OTF2_EvtReaderCallbacks_Delete(OTF2_EvtReaderCallbacks *evtReaderCallbacks)
Deallocates a struct for the event callbacks.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadWaitCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadWait threadWaitCallback)
Registers the callback for the ThreadWait event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiCollectiveBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiCollectiveBegin mpiCollectiveBeginCallback)
Registers the callback for the MpiCollectiveBegin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the ThreadAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:2680
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ParameterString)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, OTF2_StringRef string)
Callback for the ParameterString event record.
Definition: OTF2_EvtReaderCallbacks.h:1327
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaWaitChangeCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaWaitChange rmaWaitChangeCallback)
Registers the callback for the RmaWaitChange event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaWinDestroy)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
Callback for the RmaWinDestroy event record.
Definition: OTF2_EvtReaderCallbacks.h:1535
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiCollectiveEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiCollectiveEnd mpiCollectiveEndCallback)
Registers the callback for the MpiCollectiveEnd event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaCollectiveEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CollectiveOp collectiveOp, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, uint32_t root, uint64_t bytesSent, uint64_t bytesReceived)
Callback for the RmaCollectiveEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:1637
uint32_t OTF2_CommRef
Type used to indicate a reference to a Comm definition.
Definition: OTF2_GeneralDefinitions.h:167
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetBufferFlushCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_BufferFlush bufferFlushCallback)
Registers the callback for the BufferFlush event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpJoin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for the OmpJoin event record.
Definition: OTF2_EvtReaderCallbacks.h:939
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadFork)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t numberOfRequestedThreads)
Callback for the ThreadFork event record.
Definition: OTF2_EvtReaderCallbacks.h:2480
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpCompleteNonBlockingCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpCompleteNonBlocking rmaOpCompleteNonBlockingCallback)
Registers the callback for the RmaOpCompleteNonBlocking event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadJoinCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadJoin threadJoinCallback)
Registers the callback for the ThreadJoin event.
uint32_t OTF2_RegionRef
Type used to indicate a reference to a Region definition.
Definition: OTF2_GeneralDefinitions.h:131
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ParameterInt)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, int64_t value)
Callback for the ParameterInt event record.
Definition: OTF2_EvtReaderCallbacks.h:1380
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:3124
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIrecv)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength, uint64_t requestID)
Callback for the MpiIrecv event record.
Definition: OTF2_EvtReaderCallbacks.h:630
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpReleaseLock ompReleaseLockCallback)
Registers the callback for the OmpReleaseLock event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpCompleteNonBlocking)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpCompleteNonBlocking event record.
Definition: OTF2_EvtReaderCallbacks.h:2320
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaAtomic)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaAtomicType type, uint64_t bytesSent, uint64_t bytesReceived, uint64_t matchingId)
Callback for the RmaAtomic event record.
Definition: OTF2_EvtReaderCallbacks.h:2207
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTeamBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam)
Callback for the ThreadTeamBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:2578
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpTest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpTest event record.
Definition: OTF2_EvtReaderCallbacks.h:2376
uint32_t OTF2_GroupRef
Type used to indicate a reference to a Group definition.
Definition: OTF2_GeneralDefinitions.h:149
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaRequestLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Callback for the RmaRequestLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1757
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiSend)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength)
Callback for the MpiSend event record.
Definition: OTF2_EvtReaderCallbacks.h:356
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpTaskSwitch)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
Callback for the OmpTaskSwitch event record.
Definition: OTF2_EvtReaderCallbacks.h:1158
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaCollectiveBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaCollectiveBegin rmaCollectiveBeginCallback)
Registers the callback for the RmaCollectiveBegin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaGet)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId)
Callback for the RmaGet event record.
Definition: OTF2_EvtReaderCallbacks.h:2148
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadReleaseLock threadReleaseLockCallback)
Registers the callback for the ThreadReleaseLock event.
Error codes and error handling.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTeamBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTeamBegin threadTeamBeginCallback)
Registers the callback for the ThreadTeamBegin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId)
Callback for the RmaReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1929
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetParameterStringCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ParameterString parameterStringCallback)
Registers the callback for the ParameterString event.
uint32_t OTF2_RmaWinRef
Type used to indicate a reference to a RmaWin definition.
Definition: OTF2_GeneralDefinitions.h:179
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaAtomicCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaAtomic rmaAtomicCallback)
Registers the callback for the RmaAtomic event.
struct OTF2_EvtReaderCallbacks_struct OTF2_EvtReaderCallbacks
Opaque struct which holds all event record callbacks.
Definition: OTF2_EvtReaderCallbacks.h:62
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Callback for the RmaAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1815
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIrecvRequest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiIrecvRequest event record.
Definition: OTF2_EvtReaderCallbacks.h:514
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CallingContextEnter)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance)
Callback for the CallingContextEnter event record.
Definition: OTF2_EvtReaderCallbacks.h:3191
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTaskComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Callback for the ThreadTaskComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:2905
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaWinCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
Callback for the RmaWinCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:1485