PAPI  5.0.1.0
papi_vector.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cmp_struct_sizes_t
struct  papi_vector_t
struct  papi_os_vector_t

Functions

int _papi_hwi_innoculate_vector (papi_vector_t *v)
int _papi_hwi_innoculate_os_vector (papi_os_vector_t *v)

Variables

papi_vector_t_papi_hwd []
papi_os_vector_t _papi_os_vector

Detailed Description

Definition in file papi_vector.h.


Function Documentation

< Invalid argument

< No error

Definition at line 200 of file papi_vector.c.

Here is the call graph for this function:

Here is the caller graph for this function:

< Invalid argument

< No error

Definition at line 109 of file papi_vector.c.

{
    if ( !v )
        return ( PAPI_EINVAL );

    /* component function pointers */
    if ( !v->dispatch_timer )
        v->dispatch_timer =
            ( void ( * )( int, hwd_siginfo_t *, void * ) ) vec_void_dummy;
    if ( !v->get_overflow_address )
        v->get_overflow_address =
            ( void *( * )( int, char *, int ) ) vec_void_star_dummy;
    if ( !v->start )
        v->start = ( int ( * )( hwd_context_t *, hwd_control_state_t * ) )
            vec_int_dummy;
    if ( !v->stop )
        v->stop = ( int ( * )( hwd_context_t *, hwd_control_state_t * ) )
            vec_int_dummy;
    if ( !v->read )
        v->read = ( int ( * )
                    ( hwd_context_t *, hwd_control_state_t *, long long **,
                      int ) ) vec_int_dummy;
    if ( !v->reset )
        v->reset = ( int ( * )( hwd_context_t *, hwd_control_state_t * ) )
            vec_int_dummy;
    if ( !v->write )
        v->write =
            ( int ( * )( hwd_context_t *, hwd_control_state_t *, long long[] ) )
            vec_int_dummy;
    if ( !v->cleanup_eventset ) 
        v->cleanup_eventset = ( int ( * )( hwd_control_state_t * ) ) vec_int_ok_dummy;
    if ( !v->stop_profiling )
        v->stop_profiling =
            ( int ( * )( ThreadInfo_t *, EventSetInfo_t * ) ) vec_int_dummy;
    if ( !v->init_component )
        v->init_component = ( int ( * )( int ) ) vec_int_ok_dummy;
    if ( !v->init_thread )
        v->init_thread = ( int ( * )( hwd_context_t * ) ) vec_int_ok_dummy;
    if ( !v->init_control_state )
        v->init_control_state =
            ( int ( * )( hwd_control_state_t * ptr ) ) vec_void_dummy;
    if ( !v->update_control_state )
        v->update_control_state = ( int ( * )
                                    ( hwd_control_state_t *, NativeInfo_t *,
                                      int, hwd_context_t * ) ) vec_int_dummy;
    if ( !v->ctl )
        v->ctl = ( int ( * )( hwd_context_t *, int, _papi_int_option_t * ) )
            vec_int_dummy;
    if ( !v->set_overflow )
        v->set_overflow =
            ( int ( * )( EventSetInfo_t *, int, int ) ) vec_int_dummy;
    if ( !v->set_profile )
        v->set_profile =
            ( int ( * )( EventSetInfo_t *, int, int ) ) vec_int_dummy;

    if ( !v->set_domain )
        v->set_domain =
            ( int ( * )( hwd_control_state_t *, int ) ) vec_int_dummy;
    if ( !v->ntv_enum_events )
        v->ntv_enum_events = ( int ( * )( unsigned int *, int ) ) vec_int_dummy;
    if ( !v->ntv_name_to_code )
        v->ntv_name_to_code =
            ( int ( * )( char *, unsigned int * ) ) vec_int_dummy;
    if ( !v->ntv_code_to_name )
        v->ntv_code_to_name =
            ( int ( * )( unsigned int, char *, int ) ) vec_int_dummy;
    if ( !v->ntv_code_to_descr )
        v->ntv_code_to_descr =
            ( int ( * )( unsigned int, char *, int ) ) vec_int_ok_dummy;
    if ( !v->ntv_code_to_bits )
        v->ntv_code_to_bits =
            ( int ( * )( unsigned int, hwd_register_t * ) ) vec_int_dummy;
    if ( !v->ntv_code_to_info )
        v->ntv_code_to_info =
            ( int ( * )( unsigned int, PAPI_event_info_t * ) ) vec_int_dummy;

    if ( !v->allocate_registers )
        v->allocate_registers =
            ( int ( * )( EventSetInfo_t * ) ) vec_int_ok_dummy;

    if ( !v->shutdown_thread )
        v->shutdown_thread = ( int ( * )( hwd_context_t * ) ) vec_int_dummy;
    if ( !v->shutdown_component )
        v->shutdown_component = ( int ( * )( void ) ) vec_int_ok_dummy;
    if ( !v->user )
        v->user = ( int ( * )( int, void *, void * ) ) vec_int_dummy;
    return PAPI_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 14 of file components_config.h.

Definition at line 1288 of file aix.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines