Version
menu_open
link
Wwise SDK 2022.1.4
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) 2023 Audiokinetic Inc.
25 *******************************************************************************/
26 
27 #pragma once
28 
30 
31 namespace AK
32 {
33  namespace ProfilingID
34  {
36  {
66 
67  Num // Keep last!
68  };
69 
70  enum MetaID
71  {
72  PipelineID = Num // Avoid ID space clash
73  };
74 
75 #ifdef AK_IMPLEMENT_PROFILINGID_NAMES
76  const char* s_aszNames[] =
77  {
78  "AK INVALID PROFILEID", // should never be used; 0 means no relevant profile id was provided
79  "AK Audio Frame Boundary",
80  "AK Audio Voice Starvation",
81  "CAkLEngine::AnalyzeMixingGraph",
82  "CAkLEngine::PreprocessSources",
83  "CAkLEngine::VoiceTask",
84  "CAkLEngine::VoiceTaskParallelAsync",
85  "AkPerf::PostPipelineStats",
86  "AK::CommunicationCentral::Process",
87  "AkJobMgr::WorkerFunction",
88  "AK SwVoice",
89  "AK HwVoice",
90  "AK::SpatialAudio::Update",
91  "AK::SpatialAudio::Dispatch",
92  "AK::SpatialAudio::End",
93  "AK::SpatialAudio::EmitterToListener",
94  "AK::SpatialAudio::ListenerRayCasting",
95  "AK::SpatialAudio::ListenerToPortal",
96  "AK::SpatialAudio::EmitterToPortal",
97  "AK::SpatialAudio::PortalToPortal",
98  "AK::SpatialAudio::PortalRayCasting",
99  "CAkEdgePathSearch::Search",
100  "CAkStochasticReflectionEngine::ComputeRays",
101  "CAkStochasticReflectionEngine::TraceDiffractionRay",
102  "CAkStochasticReflectionEngine::TraceReflectionRay",
103  "CAkStochasticReflectionEngine::ValidateExistingPaths",
104  "CAkStochasticReflectionEngine::ValidatePaths",
105  "AkAcousticRoom::PropagateSound",
106  "AkSoundGeometry::SetGeometry",
107  "AkSoundGeometry::SetGeometryInstance"
108  };
109 
110  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.");
111 #endif
112  }
113 }
114 
115 #define AKMAKECLASSIDFORPROFILING( _profilingid_ ) AKMAKECLASSID( AkPluginTypeNone, AKCOMPANYID_AUDIOKINETIC, _profilingid_ )
Audiokinetic namespace.
@ SpatialAudio_PortalToPortal
Definition: AkProfilingID.h:55
@ CommunicationCentral_Process
Definition: AkProfilingID.h:44
@ AkAcousticRoom_PropagateSound
Definition: AkProfilingID.h:63
@ AudioFrameBoundary
Definition: AkProfilingID.h:37
@ SpatialAudio_EmitterToListener
Definition: AkProfilingID.h:51
@ JobMgr_WorkerFunction
Definition: AkProfilingID.h:45
@ AkPerf_PostPipelineStats
Definition: AkProfilingID.h:43
@ 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
@ CAkEdgePathSearch_Search
Definition: AkProfilingID.h:57
@ CAkStochasticReflectionEngine_TraceReflectionRay
Definition: AkProfilingID.h:60
@ CAkLEngine_PreprocessSources
Definition: AkProfilingID.h:40
@ CAkStochasticReflectionEngine_ValidateExistingPaths
Definition: AkProfilingID.h:61
@ SpatialAudio_End
Definition: AkProfilingID.h:50
@ CAkStochasticReflectionEngine_TraceDiffractionRay
Definition: AkProfilingID.h:59
@ AkSoundGeometry_SetGeometry
Definition: AkProfilingID.h:64
@ SpatialAudio_Update
Definition: AkProfilingID.h:48
@ CAkLEngine_VoiceTaskParallelAsync
Definition: AkProfilingID.h:42
@ CAkStochasticReflectionEngine_ComputeRays
Definition: AkProfilingID.h:58
@ AudioVoiceStarvation
Definition: AkProfilingID.h:38
@ SpatialAudio_Dispatch
Definition: AkProfilingID.h:49
@ CAkLEngine_VoiceTask
Definition: AkProfilingID.h:41
@ 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