From 3693456a83373b1d4feaa25ebabc8ce979a7ab25 Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Mon, 4 Mar 2019 17:30:25 +0100
Subject: [PATCH] Add schedopt parameter to RUNTIME_disable/enable

---
 include/chameleon/runtime.h | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/include/chameleon/runtime.h b/include/chameleon/runtime.h
index bbd7e80c6..2c844b421 100644
--- a/include/chameleon/runtime.h
+++ b/include/chameleon/runtime.h
@@ -58,21 +58,27 @@ RUNTIME_context_destroy( CHAM_context_t *ctxt );
  * @brief Enable a global option of the runtime.
  * @warning Should be called only by CHAMELEON_Enable()
  *
+ * @param[in] runtime_ctxt
+ *            Pointer to the runtime data structure
+ *
  * @param[in] option
  *            @arg CHAMELEON_PROFILING_MODE: start the profiling mode of the runtime.
  */
 void
-RUNTIME_enable( int option );
+RUNTIME_enable( void *runtime_ctxt, int option );
 
 /**
  * @brief Disable a global option of the runtime.
  * @warning Should be called only by CHAMELEON_Disable()
  *
+ * @param[in] runtime_ctxt
+ *            Pointer to the runtime data structure
+ *
  * @param[in] option
  *            @arg CHAMELEON_PROFILING_MODE: stop the profiling mode of the runtime.
  */
 void
-RUNTIME_disable( int option );
+RUNTIME_disable( void *runtime_ctxt, int option );
 
 /**
  * @}
-- 
GitLab