Wwise SDK 2023.1.9
|
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.
Name | タイプ | 概要 |
---|---|---|
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 | グローバルのプロファイラカーソルの1つを特定します。可能な値:
|
(必須*)
Name | タイプ | 概要 |
---|---|---|
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)を使用する を参照してください。