2 * Copyright (c) 2018 Samsung Electronics Co., Ltd.
4 * Licensed under the Flora License, Version 1.1 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 int procfs_read_system_load_average(struct procfs_load_average_info *avg)
24 int profcs_read_system_cpu_usage(struct procfs_system_cpu_usage_info *usage)
29 int profcs_read_system_percpu_usage(struct procfs_system_percpu_usage_info **usage)
34 int procfs_read_system_memory_usage(struct procfs_system_memory_usage_info *usage)
39 int procfs_read_process_memory_usage(int pid, struct procfs_process_memory_usage_info *usage)
44 int procfs_read_process_cpu_usage(int pid, struct procfs_process_cpu_usage_info *usage)
49 int procfs_read_uptime(int *uptime)
54 int procfs_read_cpu_count(int *cpu_count)