CPU 타임

프로그램 P1의 CPU 쿨러 타임

CPU 타임(CPU time) 또는 CPU 사용률(CPU usage)은 한 컴퓨터 프로그램이 CPU를 차지하여 일을 한 시간의 양을 뜻한다. 보통 클럭 틱 단위로 측정된다. 프로그램들 사이의 CPU 사용률을 비교하기 위해 사용된다.
하위 구분
CPU 시간 또는 CPU 사용률은 전체 시스템을 기준으로 각 스레드별로나 각 프로세스별로 보고할 수 있다. 게다가 CPU가 무엇을 하고 있는지에 따라 보고되는 값은 다음과 같이 분류할 수 있다:
- 사용자 시간(user time): CPU가 사용자 공간에서 코드를 실행할 때 바쁜 시간의 양.
- 시스템 시간(system time): CPU가 커널 공간에서 코드를 실행할 때 바쁜 시간의 양.
- 유휴 시간(idle time, 전체 시스템에만 적용): CPU가 바쁘지 않은 시간의 양. 시스템 유휴 프로세스의 시간.
- 스틸 타임(steal time, 전체 시스템에만 적용): 가상화 하드웨어에서 운영 체제가 실행을 원하지만 하이퍼바이저에 의해 허용되지 않은 시간의 양.[1]
같이 보기
참고 자료
- Thimmannagari, Chandra (2005년 1월 1일). 《CPU Design: Answers to Frequently Asked Questions》. Springer. 68쪽. ISBN 0-387-23799-2.
각주
- ↑ Ehrhardt, Christian (July 2010). “CPU time accounting”. IBM. 2014년 8월 5일에 확인함.
외부 링크
| 이 글은 컴퓨터 과학에 관한 토막글입니다. 여러분의 지식으로 알차게 문서를 완성해 갑시다. |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.