Fix the specification of resource_get_cpu_boosting_level API 40/277240/1
authorHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 4 Jul 2022 04:59:23 +0000 (13:59 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 4 Jul 2022 04:59:23 +0000 (13:59 +0900)
Change-Id: I69ca14147de264c6b86cfb984a1aaf8da8289fd8

include/cpu-boosting.h

index e48a5e81aa7a0ceaff763acb5f5b0ed18968c970..e705d76c0f7a7bc1670f76fc703ba854515b0335 100644 (file)
@@ -80,8 +80,8 @@ int resource_clear_cpu_boosting (resource_pid_t pid);
  *                If pid.pid is zero and pid.tid is NULL, the calling thread is checked. \n
  *                The caller must (de)allocate the buffer in the pid.tid pointer.
  * @param[out] level The boosting level for the target process (pid/tids) \n
- *                   The level->tid_level array will be filled with cpu_boosting_level_e for tids requested by the pid argument. \n
- *                   The caller must (de)allocate the buffer in the level->tid_level pointer.
+ *                   level->tid_level will be allocated and filled with cpu_boosting_level_e for tids requested by the pid argument. \n
+ *                   The caller must deallocate the buffer in the level->tid_level pointer after using it.
  *
  * @return 0 on success, otherwise a negative error value.
  */