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

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