1.5.1 (revision 4026)
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 
00230 OTF2_ErrorCode
00231 OTF2_EventSizeEstimator_SetNumberOfSourceCodeLocationDefinitions( OTF2_EventSizeEstimator* estimator,
00232                                                                   uint32_t                 numberOfSourceCodeLocationDefinitions );
00233 
00234 
00247 OTF2_ErrorCode
00248 OTF2_EventSizeEstimator_SetNumberOfCallingContextDefinitions( OTF2_EventSizeEstimator* estimator,
00249                                                               uint32_t                 numberOfCallingContextDefinitions );
00250 
00251 
00264 OTF2_ErrorCode
00265 OTF2_EventSizeEstimator_SetNumberOfInterruptGeneratorDefinitions( OTF2_EventSizeEstimator* estimator,
00266                                                                   uint32_t                 numberOfInterruptGeneratorDefinitions );
00267 
00268 
00277 size_t
00278 OTF2_EventSizeEstimator_GetSizeOfTimestamp( OTF2_EventSizeEstimator* estimator );
00279 
00280 
00293 size_t
00294 OTF2_EventSizeEstimator_GetSizeOfAttributeList( const OTF2_EventSizeEstimator* estimator,
00295                                                 const OTF2_AttributeList*      attributeList );
00296 
00297 
00306 size_t
00307 OTF2_EventSizeEstimator_GetSizeOfBufferFlushEvent( OTF2_EventSizeEstimator* estimator );
00308 
00309 
00318 size_t
00319 OTF2_EventSizeEstimator_GetSizeOfMeasurementOnOffEvent( OTF2_EventSizeEstimator* estimator );
00320 
00321 
00330 size_t
00331 OTF2_EventSizeEstimator_GetSizeOfEnterEvent( OTF2_EventSizeEstimator* estimator );
00332 
00333 
00342 size_t
00343 OTF2_EventSizeEstimator_GetSizeOfLeaveEvent( OTF2_EventSizeEstimator* estimator );
00344 
00345 
00354 size_t
00355 OTF2_EventSizeEstimator_GetSizeOfMpiSendEvent( OTF2_EventSizeEstimator* estimator );
00356 
00357 
00366 size_t
00367 OTF2_EventSizeEstimator_GetSizeOfMpiIsendEvent( OTF2_EventSizeEstimator* estimator );
00368 
00369 
00378 size_t
00379 OTF2_EventSizeEstimator_GetSizeOfMpiIsendCompleteEvent( OTF2_EventSizeEstimator* estimator );
00380 
00381 
00390 size_t
00391 OTF2_EventSizeEstimator_GetSizeOfMpiIrecvRequestEvent( OTF2_EventSizeEstimator* estimator );
00392 
00393 
00402 size_t
00403 OTF2_EventSizeEstimator_GetSizeOfMpiRecvEvent( OTF2_EventSizeEstimator* estimator );
00404 
00405 
00414 size_t
00415 OTF2_EventSizeEstimator_GetSizeOfMpiIrecvEvent( OTF2_EventSizeEstimator* estimator );
00416 
00417 
00426 size_t
00427 OTF2_EventSizeEstimator_GetSizeOfMpiRequestTestEvent( OTF2_EventSizeEstimator* estimator );
00428 
00429 
00438 size_t
00439 OTF2_EventSizeEstimator_GetSizeOfMpiRequestCancelledEvent( OTF2_EventSizeEstimator* estimator );
00440 
00441 
00450 size_t
00451 OTF2_EventSizeEstimator_GetSizeOfMpiCollectiveBeginEvent( OTF2_EventSizeEstimator* estimator );
00452 
00453 
00462 size_t
00463 OTF2_EventSizeEstimator_GetSizeOfMpiCollectiveEndEvent( OTF2_EventSizeEstimator* estimator );
00464 
00465 
00476 size_t
00477 OTF2_EventSizeEstimator_GetSizeOfOmpForkEvent( OTF2_EventSizeEstimator* estimator );
00478 
00479 
00490 size_t
00491 OTF2_EventSizeEstimator_GetSizeOfOmpJoinEvent( OTF2_EventSizeEstimator* estimator );
00492 
00493 
00504 size_t
00505 OTF2_EventSizeEstimator_GetSizeOfOmpAcquireLockEvent( OTF2_EventSizeEstimator* estimator );
00506 
00507 
00518 size_t
00519 OTF2_EventSizeEstimator_GetSizeOfOmpReleaseLockEvent( OTF2_EventSizeEstimator* estimator );
00520 
00521 
00532 size_t
00533 OTF2_EventSizeEstimator_GetSizeOfOmpTaskCreateEvent( OTF2_EventSizeEstimator* estimator );
00534 
00535 
00546 size_t
00547 OTF2_EventSizeEstimator_GetSizeOfOmpTaskSwitchEvent( OTF2_EventSizeEstimator* estimator );
00548 
00549 
00560 size_t
00561 OTF2_EventSizeEstimator_GetSizeOfOmpTaskCompleteEvent( OTF2_EventSizeEstimator* estimator );
00562 
00563 
00573 size_t
00574 OTF2_EventSizeEstimator_GetSizeOfMetricEvent( OTF2_EventSizeEstimator* estimator,
00575                                               uint8_t                  numberOfMetrics );
00576 
00577 
00586 size_t
00587 OTF2_EventSizeEstimator_GetSizeOfParameterStringEvent( OTF2_EventSizeEstimator* estimator );
00588 
00589 
00598 size_t
00599 OTF2_EventSizeEstimator_GetSizeOfParameterIntEvent( OTF2_EventSizeEstimator* estimator );
00600 
00601 
00610 size_t
00611 OTF2_EventSizeEstimator_GetSizeOfParameterUnsignedIntEvent( OTF2_EventSizeEstimator* estimator );
00612 
00613 
00622 size_t
00623 OTF2_EventSizeEstimator_GetSizeOfRmaWinCreateEvent( OTF2_EventSizeEstimator* estimator );
00624 
00625 
00634 size_t
00635 OTF2_EventSizeEstimator_GetSizeOfRmaWinDestroyEvent( OTF2_EventSizeEstimator* estimator );
00636 
00637 
00646 size_t
00647 OTF2_EventSizeEstimator_GetSizeOfRmaCollectiveBeginEvent( OTF2_EventSizeEstimator* estimator );
00648 
00649 
00658 size_t
00659 OTF2_EventSizeEstimator_GetSizeOfRmaCollectiveEndEvent( OTF2_EventSizeEstimator* estimator );
00660 
00661 
00670 size_t
00671 OTF2_EventSizeEstimator_GetSizeOfRmaGroupSyncEvent( OTF2_EventSizeEstimator* estimator );
00672 
00673 
00682 size_t
00683 OTF2_EventSizeEstimator_GetSizeOfRmaRequestLockEvent( OTF2_EventSizeEstimator* estimator );
00684 
00685 
00694 size_t
00695 OTF2_EventSizeEstimator_GetSizeOfRmaAcquireLockEvent( OTF2_EventSizeEstimator* estimator );
00696 
00697 
00706 size_t
00707 OTF2_EventSizeEstimator_GetSizeOfRmaTryLockEvent( OTF2_EventSizeEstimator* estimator );
00708 
00709 
00718 size_t
00719 OTF2_EventSizeEstimator_GetSizeOfRmaReleaseLockEvent( OTF2_EventSizeEstimator* estimator );
00720 
00721 
00730 size_t
00731 OTF2_EventSizeEstimator_GetSizeOfRmaSyncEvent( OTF2_EventSizeEstimator* estimator );
00732 
00733 
00742 size_t
00743 OTF2_EventSizeEstimator_GetSizeOfRmaWaitChangeEvent( OTF2_EventSizeEstimator* estimator );
00744 
00745 
00754 size_t
00755 OTF2_EventSizeEstimator_GetSizeOfRmaPutEvent( OTF2_EventSizeEstimator* estimator );
00756 
00757 
00766 size_t
00767 OTF2_EventSizeEstimator_GetSizeOfRmaGetEvent( OTF2_EventSizeEstimator* estimator );
00768 
00769 
00778 size_t
00779 OTF2_EventSizeEstimator_GetSizeOfRmaAtomicEvent( OTF2_EventSizeEstimator* estimator );
00780 
00781 
00790 size_t
00791 OTF2_EventSizeEstimator_GetSizeOfRmaOpCompleteBlockingEvent( OTF2_EventSizeEstimator* estimator );
00792 
00793 
00802 size_t
00803 OTF2_EventSizeEstimator_GetSizeOfRmaOpCompleteNonBlockingEvent( OTF2_EventSizeEstimator* estimator );
00804 
00805 
00814 size_t
00815 OTF2_EventSizeEstimator_GetSizeOfRmaOpTestEvent( OTF2_EventSizeEstimator* estimator );
00816 
00817 
00826 size_t
00827 OTF2_EventSizeEstimator_GetSizeOfRmaOpCompleteRemoteEvent( OTF2_EventSizeEstimator* estimator );
00828 
00829 
00838 size_t
00839 OTF2_EventSizeEstimator_GetSizeOfThreadForkEvent( OTF2_EventSizeEstimator* estimator );
00840 
00841 
00850 size_t
00851 OTF2_EventSizeEstimator_GetSizeOfThreadJoinEvent( OTF2_EventSizeEstimator* estimator );
00852 
00853 
00862 size_t
00863 OTF2_EventSizeEstimator_GetSizeOfThreadTeamBeginEvent( OTF2_EventSizeEstimator* estimator );
00864 
00865 
00874 size_t
00875 OTF2_EventSizeEstimator_GetSizeOfThreadTeamEndEvent( OTF2_EventSizeEstimator* estimator );
00876 
00877 
00886 size_t
00887 OTF2_EventSizeEstimator_GetSizeOfThreadAcquireLockEvent( OTF2_EventSizeEstimator* estimator );
00888 
00889 
00898 size_t
00899 OTF2_EventSizeEstimator_GetSizeOfThreadReleaseLockEvent( OTF2_EventSizeEstimator* estimator );
00900 
00901 
00910 size_t
00911 OTF2_EventSizeEstimator_GetSizeOfThreadTaskCreateEvent( OTF2_EventSizeEstimator* estimator );
00912 
00913 
00922 size_t
00923 OTF2_EventSizeEstimator_GetSizeOfThreadTaskSwitchEvent( OTF2_EventSizeEstimator* estimator );
00924 
00925 
00934 size_t
00935 OTF2_EventSizeEstimator_GetSizeOfThreadTaskCompleteEvent( OTF2_EventSizeEstimator* estimator );
00936 
00937 
00946 size_t
00947 OTF2_EventSizeEstimator_GetSizeOfThreadCreateEvent( OTF2_EventSizeEstimator* estimator );
00948 
00949 
00958 size_t
00959 OTF2_EventSizeEstimator_GetSizeOfThreadBeginEvent( OTF2_EventSizeEstimator* estimator );
00960 
00961 
00970 size_t
00971 OTF2_EventSizeEstimator_GetSizeOfThreadWaitEvent( OTF2_EventSizeEstimator* estimator );
00972 
00973 
00982 size_t
00983 OTF2_EventSizeEstimator_GetSizeOfThreadEndEvent( OTF2_EventSizeEstimator* estimator );
00984 
00985 
00994 size_t
00995 OTF2_EventSizeEstimator_GetSizeOfCallingContextSampleEvent( OTF2_EventSizeEstimator* estimator );
00996 
00997 
00998 #ifdef __cplusplus
00999 }
01000 #endif /* __cplusplus */
01001 
01002 
01003 #endif /* !OTF2_EVENT_SIZE_ESTIMATOR_H */