バージョン

menu_open
Wwise SDK 2024.1.0
AkProfilingID.h
[詳解]
1 /*******************************************************************************
2 The content of this file includes portions of the AUDIOKINETIC Wwise Technology
3 released in source code form as part of the SDK installer package.
4 
5 Commercial License Usage
6 
7 Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
8 may use this file in accordance with the end user license agreement provided
9 with the software or, alternatively, in accordance with the terms contained in a
10 written agreement between you and Audiokinetic Inc.
11 
12 Apache License Usage
13 
14 Alternatively, this file may be used under the Apache License, Version 2.0 (the
15 "Apache License"); you may not use this file except in compliance with the
16 Apache License. You may obtain a copy of the Apache License at
17 http://www.apache.org/licenses/LICENSE-2.0.
18 
19 Unless required by applicable law or agreed to in writing, software distributed
20 under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
21 OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
22 the specific language governing permissions and limitations under the License.
23 
24  Copyright (c) 2024 Audiokinetic Inc.
25 *******************************************************************************/
26 
27 #pragma once
28 
30 
31 namespace AK
32 {
33  namespace ProfilingID
34  {
36  {
82 
83  Num // Keep last!
84  };
85 
86  enum MetaID
87  {
88  PipelineID = Num // Avoid ID space clash
89  };
90 
91 #ifdef AK_IMPLEMENT_PROFILINGID_NAMES
92  const char* s_aszNames[] =
93  {
94  "AK INVALID PROFILEID", // should never be used; 0 means no relevant profile id was provided
95  "AK Audio Frame Boundary",
96  "AK Audio Voice Starvation",
97  "CAkLEngine::AnalyzeMixingGraph",
98  "CAkLEngine::PreprocessSources",
99  "CAkLEngine::VoiceTask",
100  "CAkLEngine::VoiceTaskParallelAsync",
101  "AkPerf::PostPipelineStats",
102  "AK::CommunicationCentral::Process",
103  "AkJobMgr::WorkerFunction",
104  "AK SwVoice",
105  "AK HwVoice",
106  "AK BusTask",
107  "AK CheckValidSamples",
108  "AK::SpatialAudio::Update",
109  "AK::SpatialAudio::Dispatch",
110  "AK::SpatialAudio::End",
111  "AK::SpatialAudio::EndRender",
112  "AK::SpatialAudio::EmitterToListener",
113  "AK::SpatialAudio::EmitterToListenerPathFiltering",
114  "AK::SpatialAudio::EmitterToListenerDiffraction",
115  "AK::SpatialAudio::EmitterToListenerReflection",
116  "AK::SpatialAudio::ListenerRayCasting",
117  "AK::SpatialAudio::ListenerToPortal",
118  "AK::SpatialAudio::EmitterToPortal",
119  "AK::SpatialAudio::PortalToPortal",
120  "AK::SpatialAudio::PortalRayCasting",
121  "CAkEdgePathSearch::Search",
122  "CAkStochasticReflectionEngine::ComputeRays",
123  "CAkStochasticReflectionEngine::TraceDiffractionRay",
124  "CAkStochasticReflectionEngine::TraceReflectionRay",
125  "CAkStochasticReflectionEngine::ValidateExistingPaths",
126  "CAkStochasticReflectionEngine::ValidatePaths",
127  "CAkStochasticReflectionEngine::ValidateReflectionPaths",
128  "CAkStochasticReflectionEngine::ValidateDiffractionPaths",
129  "CAkStochasticReflectionEngine::ClearRays",
130  "CAkStochasticReflectionEngine::SortPaths",
131  "AkAcousticRoom::PropagateSound",
132  "AkAcousticRoom::Update",
133  "AkSoundGeometry::SetGeometry",
134  "AkSoundGeometry::SetGeometryInstance",
135  "AK IODevice TaskUpdate",
136  "AK IODevice BatchOpen",
137  "AK IODevice BatchRead",
138  "AK IODevice BatchWrite",
139  "CAkLEngine::DispatchBusGraphAsync",
140 
141  };
142 
143  static_assert((sizeof(s_aszNames) / sizeof(s_aszNames[0])) == AK::ProfilingID::Num, "ARRAYSIZE(AK::ProfilingID::s_aszNames) is not matching AK::ProfilingID::Num, make sure they are maintained at the same time.");
144 #endif
145  }
146 }
147 
148 #define AKMAKECLASSIDFORPROFILING( _profilingid_ ) AKMAKECLASSID( AkPluginTypeNone, AKCOMPANYID_AUDIOKINETIC, _profilingid_ )
Definition of data structures for AkAudioObject
@ CommunicationCentral_Process
Definition: AkProfilingID.h:44
@ AkAcousticRoom_PropagateSound
Definition: AkProfilingID.h:73
@ SpatialAudio_EmitterToListener
Definition: AkProfilingID.h:54
@ AkStochasticReflectionEngine_SortPaths
Definition: AkProfilingID.h:72
@ SpatialAudio_ListenerRayCasting
Definition: AkProfilingID.h:58
@ CAkLEngine_AnalyzeMixingGraph
Definition: AkProfilingID.h:39
@ SpatialAudio_ListenerToPortal
Definition: AkProfilingID.h:59
@ CAkLEngine_DispatchBusGraphAsync
Definition: AkProfilingID.h:81
@ AkSoundGeometry_SetGeometryInstance
Definition: AkProfilingID.h:76
@ SpatialAudio_PortalRayCasting
Definition: AkProfilingID.h:62
@ SpatialAudio_EmitterToListenerReflection
Definition: AkProfilingID.h:57
@ CAkStochasticReflectionEngine_TraceReflectionRay
Definition: AkProfilingID.h:66
@ SpatialAudio_EmitterToListenerPathFiltering
Definition: AkProfilingID.h:55
@ CAkStochasticReflectionEngine_ValidateDiffractionPaths
Definition: AkProfilingID.h:70
@ CAkLEngine_PreprocessSources
Definition: AkProfilingID.h:40
@ CAkStochasticReflectionEngine_ValidateExistingPaths
Definition: AkProfilingID.h:67
@ CAkStochasticReflectionEngine_TraceDiffractionRay
Definition: AkProfilingID.h:65
@ CAkStochasticReflectionEngine_ClearRays
Definition: AkProfilingID.h:71
@ CAkLEngine_VoiceTaskParallelAsync
Definition: AkProfilingID.h:42
@ CAkStochasticReflectionEngine_ComputeRays
Definition: AkProfilingID.h:64
@ CAkStochasticReflectionEngine_ValidateReflectionPaths
Definition: AkProfilingID.h:69
@ SpatialAudio_EmitterToListenerDiffraction
Definition: AkProfilingID.h:56
@ SpatialAudio_EmitterToPortal
Definition: AkProfilingID.h:60
@ CAkStochasticReflectionEngine_ValidatePaths
Definition: AkProfilingID.h:68

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう