4 * Copyright (c) 2012 - 2015 Samsung Electronics Co., Ltd.
6 * Licensed under the Apache License, Version 2.0 (the License);
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 #ifndef __PASS_PLUGIN__
21 #define __PASS_PLUGIN__
25 int get_pass_cpu_stats(struct pass_policy *policy);
27 int get_pass_table(struct pass_policy *policy, char *pass_conf_path);
28 void put_pass_table(struct pass_policy *policy);
30 int get_cpufreq_scaling_max_freq(void);
31 int set_cpufreq_scaling_max_freq(int);
33 int get_cpufreq_scaling_min_freq(void);
34 int set_cpufreq_scaling_min_freq(int);
36 int get_cpufreq_sampling_rate(void);
37 int set_cpufreq_sampling_rate(int);
39 int get_cpufreq_up_threshold(void);
40 int set_cpufreq_up_threshold(int);
42 int get_cpu_online(int);
43 int set_cpu_online(int, int);
45 int64_t get_time_ms(void);
47 #endif /* __PASS_PLUGIN__ */