요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Activation and wakeup-event counters
sysfs-class-wakeup:14-40각 source는 activation 수, signaled event 수, suspend를 abort할 수 있었던 횟수와 timeout expiry 수를 누적합니다.
Active and suspend-prevention timing
sysfs-class-wakeup:42-76Millisecond timing attributes는 current continuous active time, total·maximum active time, last monotonic change와 autosleep prevention total을 제공합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
What: /sys/class/wakeup/
Date: June 2019
Contact: Tri Vo <trong@android.com>
Description:
The /sys/class/wakeup/ directory contains pointers to all
wakeup sources in the kernel at that moment in time.
What: /sys/class/wakeup/.../name
Date: June 2019
Contact: Tri Vo <trong@android.com>
Description:
This file contains the name of the wakeup source.
What: /sys/class/wakeup/.../active_count
Date: June 2019
Contact: Tri Vo <trong@android.com>
Description:
This file contains the number of times the wakeup source was
activated.
What: /sys/class/wakeup/.../event_count
Date: June 2019
Contact: Tri Vo <trong@android.com>
Description:
This file contains the number of signaled wakeup events
associated with the wakeup source.
What: /sys/class/wakeup/.../wakeup_count
Date: June 2019
Contact: Tri Vo <trong@android.com>
Description:
This file contains the number of times the wakeup source might
abort suspend.
What: /sys/class/wakeup/.../expire_count
Date: June 2019
Contact: Tri Vo <trong@android.com>
Description:
This file contains the number of times the wakeup source's
timeout has expired.
What: /sys/class/wakeup/.../active_time_ms
Date: June 2019
Contact: Tri Vo <trong@android.com>
Description:
This file contains the amount of time the wakeup source has
been continuously active, in milliseconds. If the wakeup
source is not active, this file contains '0'.
What: /sys/class/wakeup/.../total_time_ms
Date: June 2019
Contact: Tri Vo <trong@android.com>
Description:
This file contains the total amount of time this wakeup source
has been active, in milliseconds.
What: /sys/class/wakeup/.../max_time_ms
Date: June 2019
Contact: Tri Vo <trong@android.com>
Description:
This file contains the maximum amount of time this wakeup
source has been continuously active, in milliseconds.
What: /sys/class/wakeup/.../last_change_ms
Date: June 2019
Contact: Tri Vo <trong@android.com>
Description:
This file contains the monotonic clock time when the wakeup
source was touched last time, in milliseconds.
What: /sys/class/wakeup/.../prevent_suspend_time_ms
Date: June 2019
Contact: Tri Vo <trong@android.com>
Description:
The file contains the total amount of time this wakeup source
has been preventing autosleep, in milliseconds.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Current kernel wakeup sources
1-7| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/wakeup/ |
| Date | 2019년 6월 |
| Contact | Tri Vo <trong@android.com> |
| Description | /sys/class/wakeup/ directory는 그 시점에 kernel에 존재하는 모든 wakeup source를 가리키는 pointer를 담습니다. |
Wakeup-source name
8-13| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/wakeup/.../name |
| Date | 2019년 6월 |
| Contact | Tri Vo <trong@android.com> |
| Description | Wakeup source의 이름을 담습니다. |
Wakeup-source activation count
14-20| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/wakeup/.../active_count |
| Date | 2019년 6월 |
| Contact | Tri Vo <trong@android.com> |
| Description | Wakeup source가 activate된 횟수를 담습니다. |
Signaled wakeup-event count
21-27| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/wakeup/.../event_count |
| Date | 2019년 6월 |
| Contact | Tri Vo <trong@android.com> |
| Description | Wakeup source와 연결된 signaled wakeup event 수를 담습니다. |
Potential suspend-abort count
28-34| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/wakeup/.../wakeup_count |
| Date | 2019년 6월 |
| Contact | Tri Vo <trong@android.com> |
| Description | Wakeup source가 suspend를 abort할 수 있었던 횟수를 담습니다. |
Wakeup timeout-expiry count
35-40| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/wakeup/.../expire_count |
| Date | 2019년 6월 |
| Contact | Tri Vo <trong@android.com> |
| Description | Wakeup source의 timeout이 expire한 횟수를 담습니다. |
Activation부터 suspend 영향과 timeout expiry까지 서로 다른 event를 셉니다.
Current continuous active time
42-49| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/wakeup/.../active_time_ms |
| Date | 2019년 6월 |
| Contact | Tri Vo <trong@android.com> |
| Description | Wakeup source가 계속 active였던 time을 담습니다. Source가 active가 아니면 0입니다. |
| Unit | Milliseconds |
Total active time
50-56| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/wakeup/.../total_time_ms |
| Date | 2019년 6월 |
| Contact | Tri Vo <trong@android.com> |
| Description | 이 wakeup source가 active였던 total time을 담습니다. |
| Unit | Milliseconds |
Maximum continuous active time
57-63| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/wakeup/.../max_time_ms |
| Date | 2019년 6월 |
| Contact | Tri Vo <trong@android.com> |
| Description | 이 wakeup source가 계속 active였던 maximum time을 담습니다. |
| Unit | Milliseconds |
Last wakeup-source touch time
64-70| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/wakeup/.../last_change_ms |
| Date | 2019년 6월 |
| Contact | Tri Vo <trong@android.com> |
| Description | Wakeup source를 마지막으로 touch한 monotonic clock time을 담습니다. |
| Unit | Milliseconds |
Total autosleep-prevention time
71-76| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/wakeup/.../prevent_suspend_time_ms |
| Date | 2019년 6월 |
| Contact | Tri Vo <trong@android.com> |
| Description | 이 wakeup source가 autosleep을 prevent한 total time을 담습니다. |
| Unit | Milliseconds |
Current interval, lifetime aggregate, maximum interval과 monotonic timestamp를 구분합니다.
Wakeup-source class and identity
sysfs-class-wakeup:1-13wakeup class는 현재 kernel에 존재하는 모든 wakeup source를 가리키며 각 source의 이름을 제공합니다.