Commit 3693456a authored by Mathieu Faverge's avatar Mathieu Faverge

Add schedopt parameter to RUNTIME_disable/enable

parent 8a285002
...@@ -58,21 +58,27 @@ RUNTIME_context_destroy( CHAM_context_t *ctxt ); ...@@ -58,21 +58,27 @@ RUNTIME_context_destroy( CHAM_context_t *ctxt );
* @brief Enable a global option of the runtime. * @brief Enable a global option of the runtime.
* @warning Should be called only by CHAMELEON_Enable() * @warning Should be called only by CHAMELEON_Enable()
* *
* @param[in] runtime_ctxt
* Pointer to the runtime data structure
*
* @param[in] option * @param[in] option
* @arg CHAMELEON_PROFILING_MODE: start the profiling mode of the runtime. * @arg CHAMELEON_PROFILING_MODE: start the profiling mode of the runtime.
*/ */
void void
RUNTIME_enable( int option ); RUNTIME_enable( void *runtime_ctxt, int option );
/** /**
* @brief Disable a global option of the runtime. * @brief Disable a global option of the runtime.
* @warning Should be called only by CHAMELEON_Disable() * @warning Should be called only by CHAMELEON_Disable()
* *
* @param[in] runtime_ctxt
* Pointer to the runtime data structure
*
* @param[in] option * @param[in] option
* @arg CHAMELEON_PROFILING_MODE: stop the profiling mode of the runtime. * @arg CHAMELEON_PROFILING_MODE: stop the profiling mode of the runtime.
*/ */
void void
RUNTIME_disable( int option ); RUNTIME_disable( void *runtime_ctxt, int option );
/** /**
* @} * @}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment