버전

menu_open
알림: 고객님의 주요 출시 버전( 2023.1.3.8471 )에 해당하는 최신 설명서로 이동했습니다. 특정 버전의 설명서를 보시려면 Audiokinetic 런처에서 오프라인 설명서를 다운로드하고 Wwise Authoring의 Offline Documentation을 확인하세요.
Wwise SDK 2023.1.3
ak.wwise.core.profiler.getCpuUsage

Retrieves CPU usage statistics at a specific profiler capture time. This data can also be found in the Advanced Profiler, under the CPU tab. To ensure the CPU data is received, refer to ak.wwise.core.profiler.enableProfilerData. The returned data includes "Inclusive" and "Exclusive" values, where "Inclusive" refers to the time spent in the element plus the time spent in any called elements, and "Exclusive" values pertain to execution only within the element itself.

Arguments

이름 타입 설명
time * one of: Time in milliseconds to query for cpu data, or a Time Cursor from which to acquire the time. User Time Cursor는 사용자가 조작할 수 있지만, Capture Time Cursor는 현재 캡처의 가장 최근 시간을 나타냅니다.
integer 범위: [0,*]
string 전역적 프로파일러 커서 중 하나를 식별합니다. 사용 가능한 값:
  • user
  • capture

(필수 *)

인자 스키마

Result

이름 타입 설명
return * array Array of CPU statistics for each element.
return [...] object Information about the amount of CPU percentage used by each element.
return[...].elementName string The name of the element on which we calculate CPU usage.
return[...].id integer Class ID of the element.
return[...].instances integer An estimation of the number of instances of the element.
return[...].type string The type of element. For example, Codec, Source, Effect, Mixer or Sink.
return[...].percentInclusive number The percentage of CPU time spent in the execution of the element and those that it uses (calls).
return[...].percentExclusive number The percentage of CPU time spent only in the execution of the element itself.
return[...].millisecondsInclusive number The milliseconds of CPU time spent in the execution of the element and those that it uses (calls).
return[...].millisecondsExclusive number The milliseconds of CPU time spent only in the execution of the element itself.

(필수 *)

결과 스키마

더 보기

예제

Wwise Authoring API에 대한 더 자세한 정보는 Wwise Authoring API (WAAPI, Wwise 저작 API) 사용하기 를 참고하세요.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요