3a285e4df74aefc87fd6b7eafb19168f86dada17
[apps/native/ttsd-worker-task.git] / src / procfs.c
1 /*
2  * Copyright (c) 2018 Samsung Electronics Co., Ltd.
3  *
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
7  *
8  * http://floralicense.org/license/
9  *
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.
15  */
16
17 #include "procfs.h"
18
19 int procfs_read_system_load_average(struct procfs_load_average_info *avg)
20 {
21         return -1;
22 }
23
24 int profcs_read_system_cpu_usage(struct procfs_system_cpu_usage_info *usage)
25 {
26         return -1;
27 }
28
29 int profcs_read_system_percpu_usage(struct procfs_system_percpu_usage_info **usage)
30 {
31         return -1;
32 }
33
34 int procfs_read_system_memory_usage(struct procfs_system_memory_usage_info *usage)
35 {
36         return -1;
37 }
38
39 int procfs_read_process_memory_usage(int pid, struct procfs_process_memory_usage_info *usage)
40 {
41         return -1;
42 }
43
44 int procfs_read_process_cpu_usage(int pid, struct procfs_process_cpu_usage_info *usage)
45 {
46         return -1;
47 }
48
49 int procfs_read_uptime(int *uptime)
50 {
51         return -1;
52 }
53
54 int procfs_read_cpu_count(int *cpu_count)
55 {
56         return -1;
57 }