| .. | .. |
|---|
| 54 | 54 | What: /sys/class/devfreq/.../trans_stat |
|---|
| 55 | 55 | Date: October 2012 |
|---|
| 56 | 56 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> |
|---|
| 57 | | -Descrtiption: |
|---|
| 58 | | - This ABI shows the statistics of devfreq behavior on a |
|---|
| 59 | | - specific device. It shows the time spent in each state and |
|---|
| 60 | | - the number of transitions between states. |
|---|
| 57 | +Description: |
|---|
| 58 | + This ABI shows or clears the statistics of devfreq behavior |
|---|
| 59 | + on a specific device. It shows the time spent in each state |
|---|
| 60 | + and the number of transitions between states. |
|---|
| 61 | 61 | In order to activate this ABI, the devfreq target device |
|---|
| 62 | 62 | driver should provide the list of available frequencies |
|---|
| 63 | | - with its profile. |
|---|
| 63 | + with its profile. If need to reset the statistics of devfreq |
|---|
| 64 | + behavior on a specific device, enter 0(zero) to 'trans_stat' |
|---|
| 65 | + as following:: |
|---|
| 66 | + |
|---|
| 67 | + echo 0 > /sys/class/devfreq/.../trans_stat |
|---|
| 64 | 68 | |
|---|
| 65 | 69 | What: /sys/class/devfreq/.../userspace/set_freq |
|---|
| 66 | 70 | Date: September 2011 |
|---|
| .. | .. |
|---|
| 105 | 109 | frequency requested by governors and min_freq. |
|---|
| 106 | 110 | The max_freq overrides min_freq because max_freq may be |
|---|
| 107 | 111 | used to throttle devices to avoid overheating. |
|---|
| 112 | + |
|---|
| 113 | +What: /sys/class/devfreq/.../timer |
|---|
| 114 | +Date: July 2020 |
|---|
| 115 | +Contact: Chanwoo Choi <cw00.choi@samsung.com> |
|---|
| 116 | +Description: |
|---|
| 117 | + This ABI shows and stores the kind of work timer by users. |
|---|
| 118 | + This work timer is used by devfreq workqueue in order to |
|---|
| 119 | + monitor the device status such as utilization. The user |
|---|
| 120 | + can change the work timer on runtime according to their demand |
|---|
| 121 | + as following:: |
|---|
| 122 | + |
|---|
| 123 | + echo deferrable > /sys/class/devfreq/.../timer |
|---|
| 124 | + echo delayed > /sys/class/devfreq/.../timer |
|---|