Version
menu_open
link
Wwise SDK 2022.1.12
AkProfilingID.h
Go to the documentation of this file.
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  {
69 
70  Num // Keep last!
71  };
72 
73  enum MetaID
74  {
75  PipelineID = Num // Avoid ID space clash
76  };
77 
78 #ifdef AK_IMPLEMENT_PROFILINGID_NAMES
79  const char* s_aszNames[] =
80  {
81  "AK INVALID PROFILEID", // should never be used; 0 means no relevant profile id was provided
82  "AK Audio Frame Boundary",
83  "AK Audio Voice Starvation",
84  "CAkLEngine::AnalyzeMixingGraph",
85  "CAkLEngine::PreprocessSources",
86  "CAkLEngine::VoiceTask",
87  "CAkLEngine::VoiceTaskParallelAsync",
88  "AkPerf::PostPipelineStats",
89  "AK::CommunicationCentral::Process",
90  "AkJobMgr::WorkerFunction",
91  "AK SwVoice",
92  "AK HwVoice",
93  "AK::SpatialAudio::Update",
94  "AK::SpatialAudio::Dispatch",
95  "AK::SpatialAudio::End",
96  "AK::SpatialAudio::EmitterToListener",
97  "AK::SpatialAudio::ListenerRayCasting",
98  "AK::SpatialAudio::ListenerToPortal",
99  "AK::SpatialAudio::EmitterToPortal",
100  "AK::SpatialAudio::PortalToPortal",
101  "AK::SpatialAudio::PortalRayCasting",
102  "CAkEdgePathSearch::Search",
103  "CAkStochasticReflectionEngine::ComputeRays",
104  "CAkStochasticReflectionEngine::TraceDiffractionRay",
105  "CAkStochasticReflectionEngine::TraceReflectionRay",
106  "CAkStochasticReflectionEngine::ValidateExistingPaths",
107  "CAkStochasticReflectionEngine::ValidatePaths",
108  "AkAcousticRoom::PropagateSound",
109  "AkSoundGeometry::SetGeometry",
110  "AkSoundGeometry::SetGeometryInstance",
111  "AK IODevice TaskUpdate",
112  "AK IODevice BatchRead",
113  "AK IODevice BatchWrite",
114  };
115 
116  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.");
117 #endif
118  }
119 }
120 
121 #define AKMAKECLASSIDFORPROFILING( _profilingid_ ) AKMAKECLASSID( AkPluginTypeNone, AKCOMPANYID_AUDIOKINETIC, _profilingid_ )
Audiokinetic namespace.
@ CommunicationCentral_Process
Definition: AkProfilingID.h:44
@ AkAcousticRoom_PropagateSound
Definition: AkProfilingID.h:63
@ SpatialAudio_EmitterToListener
Definition: AkProfilingID.h:51
@ SpatialAudio_ListenerRayCasting
Definition: AkProfilingID.h:52
@ CAkLEngine_AnalyzeMixingGraph
Definition: AkProfilingID.h:39
@ SpatialAudio_ListenerToPortal
Definition: AkProfilingID.h:53
@ AkSoundGeometry_SetGeometryInstance
Definition: AkProfilingID.h:65
@ SpatialAudio_PortalRayCasting
Definition: AkProfilingID.h:56
@ CAkStochasticReflectionEngine_TraceReflectionRay
Definition: AkProfilingID.h:60
@ CAkLEngine_PreprocessSources
Definition: AkProfilingID.h:40
@ CAkStochasticReflectionEngine_ValidateExistingPaths
Definition: AkProfilingID.h:61
@ CAkStochasticReflectionEngine_TraceDiffractionRay
Definition: AkProfilingID.h:59
@ CAkLEngine_VoiceTaskParallelAsync
Definition: AkProfilingID.h:42
@ CAkStochasticReflectionEngine_ComputeRays
Definition: AkProfilingID.h:58
@ SpatialAudio_EmitterToPortal
Definition: AkProfilingID.h:54
@ CAkStochasticReflectionEngine_ValidatePaths
Definition: AkProfilingID.h:62

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise