CTC++ Coverage Report - Functions Summary (Directory)

Directory Summary | Functions Summary | Execution Profile

Directory: drivers/cpufreq

File: cpufreq.c
Instrumentation mode: function-decision-multicondition
TER: 28 % (192/684)
Previous | Next

TER % - covered/ all   Calls Line Function

52 % - 21/ 40  193 61 cpufreq_cpu_get()
100 %   1/ 1  175 101 cpufreq_cpu_put()
100 %   2/ 2  24 186 cpufreq_debug_enable_ratelimit()
100 %   2/ 2  18 187 cpufreq_debug_disable_ratelimit()
44 % - 12/ 27  24 208 adjust_jiffies()
48 % - 13/ 27  24 238 cpufreq_notify_transition()
32 % - 8/ 25  293 cpufreq_parse_governor()
0 % - 0/ 2  345 show_cpuinfo_min_freq()
0 % - 0/ 2  346 show_cpuinfo_max_freq()
0 % - 0/ 2  347 show_scaling_min_freq()
0 % - 0/ 2  348 show_scaling_max_freq()
0 % - 0/ 2  349 show_scaling_cur_freq()
0 % - 0/ 10  374 store_scaling_min_freq()
0 % - 0/ 10  375 store_scaling_max_freq()
0 % - 0/ 5  380 show_cpuinfo_cur_freq()
0 % - 0/ 11  392 show_scaling_governor()
46 % - 6/ 13  407 store_scaling_governor()
0 % - 0/ 2  432 show_scaling_driver()
0 % - 0/ 10  440 show_scaling_available_governors()
0 % - 0/ 9  463 show_affected_cpus()
0 % - 0/ 7  518 show()
57 % - 4/ 7  531 store()
0 % - 0/ 3  545 cpufreq_sysfs_release()
35 % - 28/ 80  569 cpufreq_add_dev()
0 % - 0/ 46  701 cpufreq_remove_dev()
0 % - 0/ 3  803 handle_update()
0 % - 0/ 3  819 cpufreq_out_of_sync()
75 % - 3/ 4  139 841 cpufreq_quick_get()
56 % - 9/ 16  12 864 cpufreq_get()
0 % - 0/ 35  901 cpufreq_suspend()
0 % - 0/ 34  983 cpufreq_resume()
86 % - 6/ 7  36 1083 cpufreq_register_notifier()
0 % - 0/ 7  1115 cpufreq_unregister_notifier()
54 % - 7/ 13  64 1142 __cpufreq_driver_target()
0 % - 0/ 5  1160 cpufreq_driver_target()
71 % - 12/ 17  30 1182 __cpufreq_governor()
0 % - 0/ 5  1202 cpufreq_governor()
60 % - 6/ 10  30 1220 cpufreq_register_governor()
0 % - 0/ 5  1243 cpufreq_unregister_governor()
50 % - 4/ 8  1267 cpufreq_get_policy()
42 % - 13/ 31  12 1287 __cpufreq_set_policy()
50 % - 4/ 8  12 1375 cpufreq_set_policy()
20 % - 3/ 15  12 1411 cpufreq_update_policy()
0 % - 0/ 12  1451 cpufreq_cpu_callback()
38 % - 28/ 73  12 1505 cpufreq_register_driver()
0 % - 0/ 26  1568 cpufreq_unregister_driver()

28 % - 192/ 684    cpufreq.c

File: cpufreq_conservative.c
Instrumentation mode: function-decision-multicondition
TER: 39 % ( 64/163)
Previous | Next

TER % - covered/ all   Calls Line Function

75 % - 3/ 4  895 92 get_cpu_idle_time()
0 % - 0/ 2  102 show_sampling_rate_max()
0 % - 0/ 2  107 show_sampling_rate_min()
0 % - 0/ 2  126 show_sampling_rate()
0 % - 0/ 2  127 show_sampling_down_factor()
0 % - 0/ 2  128 show_up_threshold()
0 % - 0/ 2  129 show_down_threshold()
0 % - 0/ 2  130 show_ignore_nice_load()
0 % - 0/ 2  131 show_freq_step()
0 % - 0/ 5  133 store_sampling_down_factor()
0 % - 0/ 9  149 store_sampling_rate()
0 % - 0/ 10  168 store_up_threshold()
0 % - 0/ 10  189 store_down_threshold()
0 % - 0/ 12  210 store_ignore_nice_load()
0 % - 0/ 7  244 store_freq_step()
82 % - 36/ 44  889 297 dbs_check_cpu()
100 %   3/ 3  889 444 do_dbs_timer()
67 % - 4/ 6  455 dbs_timer_init()
0 % - 0/ 2  463 dbs_timer_exit()
50 % - 16/ 32  12 469 cpufreq_governor_dbs()
100 %   2/ 2  565 cpufreq_gov_dbs_init()
0 % - 0/ 1  570 cpufreq_gov_dbs_exit()

39 % - 64/ 163    cpufreq_conservative.c

File: cpufreq_ondemand.c
Instrumentation mode: function-decision-multicondition
TER: 2 % ( 2/133)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 4  89 get_cpu_idle_time()
0 % - 0/ 2  99 show_sampling_rate_max()
0 % - 0/ 2  104 show_sampling_rate_min()
0 % - 0/ 2  123 show_sampling_rate()
0 % - 0/ 2  124 show_sampling_down_factor()
0 % - 0/ 2  125 show_up_threshold()
0 % - 0/ 2  126 show_ignore_nice_load()
0 % - 0/ 11  128 store_sampling_down_factor()
0 % - 0/ 9  147 store_sampling_rate()
0 % - 0/ 9  166 store_up_threshold()
0 % - 0/ 12  186 store_ignore_nice_load()
0 % - 0/ 28  246 dbs_check_cpu()
0 % - 0/ 3  357 do_dbs_timer()
0 % - 0/ 6  368 dbs_timer_init()
0 % - 0/ 2  376 dbs_timer_exit()
0 % - 0/ 34  382 cpufreq_governor_dbs()
100 %   2/ 2  480 cpufreq_gov_dbs_init()
0 % - 0/ 1  485 cpufreq_gov_dbs_exit()

2 % - 2/ 133    cpufreq_ondemand.c

File: cpufreq_performance.c
Instrumentation mode: function-decision-multicondition
TER: 17 % ( 2/ 12)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 9  21 cpufreq_governor_performance()
100 %   2/ 2  44 cpufreq_gov_performance_init()
0 % - 0/ 1  50 cpufreq_gov_performance_exit()

17 % - 2/ 12    cpufreq_performance.c

File: cpufreq_powersave.c
Instrumentation mode: function-decision-multicondition
TER: 17 % ( 2/ 12)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 9  20 cpufreq_governor_powersave()
100 %   2/ 2  42 cpufreq_gov_powersave_init()
0 % - 0/ 1  48 cpufreq_gov_powersave_exit()

17 % - 2/ 12    cpufreq_powersave.c

File: cpufreq_stats.c
Instrumentation mode: function-decision-multicondition
TER: 42 % ( 67/161)
Previous | Next

TER % - covered/ all   Calls Line Function

58 % - 7/ 12  12 56 cpufreq_stats_update()
0 % - 0/ 5  74 show_total_trans()
0 % - 0/ 7  84 show_time_in_state()
0 % - 0/ 23  101 show_trans_table()
100 %   7/ 7  48 160 freq_table_get_index()
0 % - 0/ 10  170 cpufreq_stats_free_table()
53 % - 20/ 38  12 186 cpufreq_stats_create_table()
82 % - 9/ 11  36 258 cpufreq_stat_notifier_policy()
58 % - 11/ 19  24 276 cpufreq_stat_notifier_trans()
67 % - 4/ 6  306 cpufreq_stat_cpu_callback()
56 % - 9/ 16  336 cpufreq_stats_init()
0 % - 0/ 7  363 cpufreq_stats_exit()

42 % - 67/ 161    cpufreq_stats.c

File: cpufreq_userspace.c
Instrumentation mode: function-decision-multicondition
TER: 42 % ( 21/ 50)
Previous | Next

TER % - covered/ all   Calls Line Function

75 % - 3/ 4  24 45 userspace_cpufreq_notifier()
0 % - 0/ 11  68 cpufreq_set()
0 % - 0/ 2  101 show_speed()
0 % - 0/ 5  107 store_speed()
64 % - 16/ 25  18 128 cpufreq_governor_userspace()
100 %   2/ 2  192 cpufreq_gov_userspace_init()
0 % - 0/ 1  199 cpufreq_gov_userspace_exit()

42 % - 21/ 50    cpufreq_userspace.c

File: freq_table.c
Instrumentation mode: function-decision-multicondition
TER: 50 % ( 54/107)
Previous | Next

TER % - covered/ all   Calls Line Function

56 % - 10/ 18  18 cpufreq_frequency_table_cpuinfo()
42 % - 11/ 26  24 50 cpufreq_frequency_table_verify()
64 % - 29/ 45  64 90 cpufreq_frequency_table_target()
0 % - 0/ 10  169 show_available_freqs()
67 % - 2/ 3  202 cpufreq_frequency_table_get_attr()
0 % - 0/ 3  210 cpufreq_frequency_table_put_attr()
100 %   2/ 2  12 217 cpufreq_frequency_get_table()

50 % - 54/ 107    freq_table.c

Number of monitored source files: 8
Number of measurement points: 1322
TER: 30% (multicondition)

Directory Summary | Functions Summary | Execution Profile