Skip to content

Parameter support #5

@carstenbauer

Description

@carstenbauer

Something like (this doesn't work as is)

function parameter_int(name, value::Int)
    param_ref = Ref(LibScoreP.SCOREP_USER_INVALID_PARAMETER)
    LibScoreP.SCOREP_User_ParameterInt64(param_ref, name, value)
    return nothing
end

function parameter_uint(name, value::UInt)
    param_ref = Ref(LibScoreP.SCOREP_USER_INVALID_PARAMETER)
    LibScoreP.SCOREP_User_ParameterUint64(param_ref, name, value)
    return nothing
end

function parameter_string(name, value::AbstractString)
    param_ref = Ref(LibScoreP.SCOREP_USER_INVALID_PARAMETER)
    LibScoreP.SCOREP_User_ParameterString(param_ref, name, value)
    return nothing
end

Be wary of of score-p/scorep_binding_python#146.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions