Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter support #5

Open
carstenbauer opened this issue Jan 27, 2023 · 1 comment
Open

Parameter support #5

carstenbauer opened this issue Jan 27, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@carstenbauer
Copy link
Member

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.

@carstenbauer carstenbauer added the enhancement New feature or request label Jan 27, 2023
@carstenbauer
Copy link
Member Author

TODO:

  • Testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant