CPU 타임

싱글 CPU 멀티 태스킹 시스템의 CPU 타임
  프로그램 P1의 CPU 쿨러 타임
유닉스 계통 시스템(GNU/리눅스)에서 top 프로그램을 이용하여 CPU 타임을 보고 있다. (TIME+ 컬럼.)

CPU 타임(CPU time) 또는 CPU 사용률(CPU usage)은 한 컴퓨터 프로그램CPU를 차지하여 일을 한 시간의 양을 뜻한다. 보통 클럭 틱 단위로 측정된다. 프로그램들 사이의 CPU 사용률을 비교하기 위해 사용된다.

하위 구분

CPU 시간 또는 CPU 사용률은 전체 시스템을 기준으로 각 스레드별로나 각 프로세스별로 보고할 수 있다. 게다가 CPU가 무엇을 하고 있는지에 따라 보고되는 값은 다음과 같이 분류할 수 있다:

  • 사용자 시간(user time): CPU가 사용자 공간에서 코드를 실행할 때 바쁜 시간의 양.
  • 시스템 시간(system time): CPU가 커널 공간에서 코드를 실행할 때 바쁜 시간의 양.
  • 유휴 시간(idle time, 전체 시스템에만 적용): CPU가 바쁘지 않은 시간의 양. 시스템 유휴 프로세스의 시간.
  • 스틸 타임(steal time, 전체 시스템에만 적용): 가상화 하드웨어에서 운영 체제가 실행을 원하지만 하이퍼바이저에 의해 허용되지 않은 시간의 양.[1]

같이 보기

참고 자료

각주

  1. 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.

  1. 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:
  2. 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.
  3. 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.
  4. 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.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.