Wwise SDK 2023.1.8
|
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.
이름 | 타입 | 설명 |
---|---|---|
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 | 전역적 프로파일러 커서 중 하나를 식별합니다. 사용 가능한 값:
|
(필수 *)
이름 | 타입 | 설명 |
---|---|---|
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를 시작해 보세요