diff --git a/src/API.jl b/src/API.jl index 1e83f45..a790d3e 100644 --- a/src/API.jl +++ b/src/API.jl @@ -109,8 +109,9 @@ next_hwc_set() = FFI.Extrae_next_hwc_set() Select the range of tasks (not threads!) to store information from in the tracefile. """ -set_tracing_tasks(interval::UnitRange{UInt32}) = - FFI.Extrae_set_tracing_tasks(interval.start::UInt32, interval.stop::UInt32) +function set_tracing_tasks(interval::UnitRange{UInt32}) + return FFI.Extrae_set_tracing_tasks(interval.start, interval.stop) +end """ setoption(options)