1.4 (revision 3771)
otf2/OTF2_EventSizeEstimator.h
Go to the documentation of this file.
00001 /*
00002  * This file is part of the Score-P software (http://www.score-p.org)
00003  *
00004  * Copyright (c) 2013-2014,
00005  * Technische Universitaet Dresden, Germany
00006  *
00007  * This software may be modified and distributed under the terms of
00008  * a BSD-style license.  See the COPYING file in the package base
00009  * directory for details.
00010  *
00011  */
00012 
00013 
00014 #ifndef OTF2_EVENT_SIZE_ESTIMATOR_H
00015 #define OTF2_EVENT_SIZE_ESTIMATOR_H
00016 
00017 
00027 #include <stdint.h>
00028 #include <stdlib.h>
00029 
00030 
00031 #include <otf2/OTF2_ErrorCodes.h>
00032 
00033 
00034 #include <otf2/OTF2_AttributeList.h>
00035 
00036 
00037 #ifdef __cplusplus
00038 extern "C" {
00039 #endif /* __cplusplus */
00040 
00041 
00044 typedef struct OTF2_EventSizeEstimator OTF2_EventSizeEstimator;
00045 
00046 
00051 OTF2_EventSizeEstimator*
00052 OTF2_EventSizeEstimator_New( void );
00053 
00054 
00061 OTF2_ErrorCode
00062 OTF2_EventSizeEstimator_Delete( OTF2_EventSizeEstimator* estimator );
00063 
00064 
00077 OTF2_ErrorCode
00078 OTF2_EventSizeEstimator_SetNumberOfStringDefinitions( OTF2_EventSizeEstimator* estimator,
00079                                                       uint32_t                 numberOfStringDefinitions );
00080 
00081 
00094 OTF2_ErrorCode
00095 OTF2_EventSizeEstimator_SetNumberOfAttributeDefinitions( OTF2_EventSizeEstimator* estimator,
00096                                                          uint32_t                 numberOfAttributeDefinitions );
00097 
00098 
00111 OTF2_ErrorCode
00112 OTF2_EventSizeEstimator_SetNumberOfLocationDefinitions( OTF2_EventSizeEstimator* estimator,
00113                                                         uint64_t                 numberOfLocationDefinitions );
00114 
00115 
00128 OTF2_ErrorCode
00129 OTF2_EventSizeEstimator_SetNumberOfRegionDefinitions( OTF2_EventSizeEstimator* estimator,
00130                                                       uint32_t                 numberOfRegionDefinitions );
00131 
00132 
00145 OTF2_ErrorCode
00146 OTF2_EventSizeEstimator_SetNumberOfGroupDefinitions( OTF2_EventSizeEstimator* estimator,
00147                                                      uint32_t                 numberOfGroupDefinitions );
00148 
00149 
00162 OTF2_ErrorCode
00163 OTF2_EventSizeEstimator_SetNumberOfMetricDefinitions( OTF2_EventSizeEstimator* estimator,
00164                                                       uint32_t                 numberOfMetricDefinitions );
00165 
00166 
00179 OTF2_ErrorCode
00180 OTF2_EventSizeEstimator_SetNumberOfCommDefinitions( OTF2_EventSizeEstimator* estimator,
00181                                                     uint32_t                 numberOfCommDefinitions );
00182 
00183 
00196 OTF2_ErrorCode
00197 OTF2_EventSizeEstimator_SetNumberOfParameterDefinitions( OTF2_EventSizeEstimator* estimator,
00198                                                          uint32_t                 numberOfParameterDefinitions );
00199 
00200 
00213 OTF2_ErrorCode
00214 OTF2_EventSizeEstimator_SetNumberOfRmaWinDefinitions( OTF2_EventSizeEstimator* estimator,
00215                                                       uint32_t                 numberOfRmaWinDefinitions );
00216 
00217 
00226 size_t
00227 OTF2_EventSizeEstimator_GetSizeOfTimestamp( OTF2_EventSizeEstimator* estimator );
00228 
00229 
00242 size_t
00243 OTF2_EventSizeEstimator_GetSizeOfAttributeList( const OTF2_EventSizeEstimator* estimator,
00244                                                 const OTF2_AttributeList*      attributeList );
00245 
00246 
00255 size_t
00256 OTF2_EventSizeEstimator_GetSizeOfBufferFlushEvent( OTF2_EventSizeEstimator* estimator );
00257 
00258 
00267 size_t
00268 OTF2_EventSizeEstimator_GetSizeOfMeasurementOnOffEvent( OTF2_EventSizeEstimator* estimator );
00269 
00270 
00279 size_t
00280 OTF2_EventSizeEstimator_GetSizeOfEnterEvent( OTF2_EventSizeEstimator* estimator );
00281 
00282 
00291 size_t
00292 OTF2_EventSizeEstimator_GetSizeOfLeaveEvent( OTF2_EventSizeEstimator* estimator );
00293 
00294 
00303 size_t
00304 OTF2_EventSizeEstimator_GetSizeOfMpiSendEvent( OTF2_EventSizeEstimator* estimator );
00305 
00306 
00315 size_t
00316 OTF2_EventSizeEstimator_GetSizeOfMpiIsendEvent( OTF2_EventSizeEstimator* estimator );
00317 
00318 
00327 size_t
00328 OTF2_EventSizeEstimator_GetSizeOfMpiIsendCompleteEvent( OTF2_EventSizeEstimator* estimator );
00329 
00330 
00339 size_t
00340 OTF2_EventSizeEstimator_GetSizeOfMpiIrecvRequestEvent( OTF2_EventSizeEstimator* estimator );
00341 
00342 
00351 size_t
00352 OTF2_EventSizeEstimator_GetSizeOfMpiRecvEvent( OTF2_EventSizeEstimator* estimator );
00353 
00354 
00363 size_t
00364 OTF2_EventSizeEstimator_GetSizeOfMpiIrecvEvent( OTF2_EventSizeEstimator* estimator );
00365 
00366 
00375 size_t
00376 OTF2_EventSizeEstimator_GetSizeOfMpiRequestTestEvent( OTF2_EventSizeEstimator* estimator );
00377 
00378 
00387 size_t
00388 OTF2_EventSizeEstimator_GetSizeOfMpiRequestCancelledEvent( OTF2_EventSizeEstimator* estimator );
00389 
00390 
00399 size_t
00400 OTF2_EventSizeEstimator_GetSizeOfMpiCollectiveBeginEvent( OTF2_EventSizeEstimator* estimator );
00401 
00402 
00411 size_t
00412 OTF2_EventSizeEstimator_GetSizeOfMpiCollectiveEndEvent( OTF2_EventSizeEstimator* estimator );
00413 
00414 
00425 size_t
00426 OTF2_EventSizeEstimator_GetSizeOfOmpForkEvent( OTF2_EventSizeEstimator* estimator );
00427 
00428 
00439 size_t
00440 OTF2_EventSizeEstimator_GetSizeOfOmpJoinEvent( OTF2_EventSizeEstimator* estimator );
00441 
00442 
00453 size_t
00454 OTF2_EventSizeEstimator_GetSizeOfOmpAcquireLockEvent( OTF2_EventSizeEstimator* estimator );
00455 
00456 
00467 size_t
00468 OTF2_EventSizeEstimator_GetSizeOfOmpReleaseLockEvent( OTF2_EventSizeEstimator* estimator );
00469 
00470 
00481 size_t
00482 OTF2_EventSizeEstimator_GetSizeOfOmpTaskCreateEvent( OTF2_EventSizeEstimator* estimator );
00483 
00484 
00495 size_t
00496 OTF2_EventSizeEstimator_GetSizeOfOmpTaskSwitchEvent( OTF2_EventSizeEstimator* estimator );
00497 
00498 
00509 size_t
00510 OTF2_EventSizeEstimator_GetSizeOfOmpTaskCompleteEvent( OTF2_EventSizeEstimator* estimator );
00511 
00512 
00522 size_t
00523 OTF2_EventSizeEstimator_GetSizeOfMetricEvent( OTF2_EventSizeEstimator* estimator,
00524                                               uint8_t                  numberOfMetrics );
00525 
00526 
00535 size_t
00536 OTF2_EventSizeEstimator_GetSizeOfParameterStringEvent( OTF2_EventSizeEstimator* estimator );
00537 
00538 
00547 size_t
00548 OTF2_EventSizeEstimator_GetSizeOfParameterIntEvent( OTF2_EventSizeEstimator* estimator );
00549 
00550 
00559 size_t
00560 OTF2_EventSizeEstimator_GetSizeOfParameterUnsignedIntEvent( OTF2_EventSizeEstimator* estimator );
00561 
00562 
00571 size_t
00572 OTF2_EventSizeEstimator_GetSizeOfRmaWinCreateEvent( OTF2_EventSizeEstimator* estimator );
00573 
00574 
00583 size_t
00584 OTF2_EventSizeEstimator_GetSizeOfRmaWinDestroyEvent( OTF2_EventSizeEstimator* estimator );
00585 
00586 
00595 size_t
00596 OTF2_EventSizeEstimator_GetSizeOfRmaCollectiveBeginEvent( OTF2_EventSizeEstimator* estimator );
00597 
00598 
00607 size_t
00608 OTF2_EventSizeEstimator_GetSizeOfRmaCollectiveEndEvent( OTF2_EventSizeEstimator* estimator );
00609 
00610 
00619 size_t
00620 OTF2_EventSizeEstimator_GetSizeOfRmaGroupSyncEvent( OTF2_EventSizeEstimator* estimator );
00621 
00622 
00631 size_t
00632 OTF2_EventSizeEstimator_GetSizeOfRmaRequestLockEvent( OTF2_EventSizeEstimator* estimator );
00633 
00634 
00643 size_t
00644 OTF2_EventSizeEstimator_GetSizeOfRmaAcquireLockEvent( OTF2_EventSizeEstimator* estimator );
00645 
00646 
00655 size_t
00656 OTF2_EventSizeEstimator_GetSizeOfRmaTryLockEvent( OTF2_EventSizeEstimator* estimator );
00657 
00658 
00667 size_t
00668 OTF2_EventSizeEstimator_GetSizeOfRmaReleaseLockEvent( OTF2_EventSizeEstimator* estimator );
00669 
00670 
00679 size_t
00680 OTF2_EventSizeEstimator_GetSizeOfRmaSyncEvent( OTF2_EventSizeEstimator* estimator );
00681 
00682 
00691 size_t
00692 OTF2_EventSizeEstimator_GetSizeOfRmaWaitChangeEvent( OTF2_EventSizeEstimator* estimator );
00693 
00694 
00703 size_t
00704 OTF2_EventSizeEstimator_GetSizeOfRmaPutEvent( OTF2_EventSizeEstimator* estimator );
00705 
00706 
00715 size_t
00716 OTF2_EventSizeEstimator_GetSizeOfRmaGetEvent( OTF2_EventSizeEstimator* estimator );
00717 
00718 
00727 size_t
00728 OTF2_EventSizeEstimator_GetSizeOfRmaAtomicEvent( OTF2_EventSizeEstimator* estimator );
00729 
00730 
00739 size_t
00740 OTF2_EventSizeEstimator_GetSizeOfRmaOpCompleteBlockingEvent( OTF2_EventSizeEstimator* estimator );
00741 
00742 
00751 size_t
00752 OTF2_EventSizeEstimator_GetSizeOfRmaOpCompleteNonBlockingEvent( OTF2_EventSizeEstimator* estimator );
00753 
00754 
00763 size_t
00764 OTF2_EventSizeEstimator_GetSizeOfRmaOpTestEvent( OTF2_EventSizeEstimator* estimator );
00765 
00766 
00775 size_t
00776 OTF2_EventSizeEstimator_GetSizeOfRmaOpCompleteRemoteEvent( OTF2_EventSizeEstimator* estimator );
00777 
00778 
00787 size_t
00788 OTF2_EventSizeEstimator_GetSizeOfThreadForkEvent( OTF2_EventSizeEstimator* estimator );
00789 
00790 
00799 size_t
00800 OTF2_EventSizeEstimator_GetSizeOfThreadJoinEvent( OTF2_EventSizeEstimator* estimator );
00801 
00802 
00811 size_t
00812 OTF2_EventSizeEstimator_GetSizeOfThreadTeamBeginEvent( OTF2_EventSizeEstimator* estimator );
00813 
00814 
00823 size_t
00824 OTF2_EventSizeEstimator_GetSizeOfThreadTeamEndEvent( OTF2_EventSizeEstimator* estimator );
00825 
00826 
00835 size_t
00836 OTF2_EventSizeEstimator_GetSizeOfThreadAcquireLockEvent( OTF2_EventSizeEstimator* estimator );
00837 
00838 
00847 size_t
00848 OTF2_EventSizeEstimator_GetSizeOfThreadReleaseLockEvent( OTF2_EventSizeEstimator* estimator );
00849 
00850 
00859 size_t
00860 OTF2_EventSizeEstimator_GetSizeOfThreadTaskCreateEvent( OTF2_EventSizeEstimator* estimator );
00861 
00862 
00871 size_t
00872 OTF2_EventSizeEstimator_GetSizeOfThreadTaskSwitchEvent( OTF2_EventSizeEstimator* estimator );
00873 
00874 
00883 size_t
00884 OTF2_EventSizeEstimator_GetSizeOfThreadTaskCompleteEvent( OTF2_EventSizeEstimator* estimator );
00885 
00886 
00895 size_t
00896 OTF2_EventSizeEstimator_GetSizeOfThreadCreateEvent( OTF2_EventSizeEstimator* estimator );
00897 
00898 
00907 size_t
00908 OTF2_EventSizeEstimator_GetSizeOfThreadBeginEvent( OTF2_EventSizeEstimator* estimator );
00909 
00910 
00919 size_t
00920 OTF2_EventSizeEstimator_GetSizeOfThreadWaitEvent( OTF2_EventSizeEstimator* estimator );
00921 
00922 
00931 size_t
00932 OTF2_EventSizeEstimator_GetSizeOfThreadEndEvent( OTF2_EventSizeEstimator* estimator );
00933 
00934 
00935 #ifdef __cplusplus
00936 }
00937 #endif /* __cplusplus */
00938 
00939 
00940 #endif /* !OTF2_EVENT_SIZE_ESTIMATOR_H */