版本

menu_open
警告:系统已根据您所用大版本 (2023.1.4.8496) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
Wwise SDK 2023.1.4
AkInstrument.h 文件参考

浏览源代码.

class  AK::Instrument::Scope
 

命名空间

namespace  AK
 Audiokinetic namespace
 
 AK::Instrument
 

宏定义

#define AK_INSTRUMENT_BEGIN(_plugin_id_, _zone_name_)   (AK::Instrument::g_fnPushTimer(_plugin_id_, _zone_name_))
 
#define AK_INSTRUMENT_END(__token__)   (AK::Instrument::g_fnPopTimer(__token__))
 
#define AK_INSTRUMENT_MARKER(_plugin_id_, _marker_name_)   (AK::Instrument::g_fnPostMarker(_plugin_id_, _marker_name_))
 
#define AK_INSTRUMENT_MARKER_PROFILINGID(_profilingid_)   (AK::Instrument::g_fnPostMarker(AKMAKECLASSID( AkPluginTypeNone, AKCOMPANYID_AUDIOKINETIC, _profilingid_ ), nullptr))
 
#define AK_INSTRUMENT_METAMARKER(_plugin_id_, _metadata_)   (AK::Instrument::g_fnPostMetaMarker(_plugin_id_, _metadata_))
 
#define AK_INSTRUMENT_CONCAT_INNER(_base_, _counter_)   _base_ ## _counter_
 
#define AK_INSTRUMENT_CONCAT(_base_, _counter_)   AK_INSTRUMENT_CONCAT_INNER(_base_, _counter_)
 
#define AK_INSTRUMENT_SCOPE(_zone_name_)    AK::Instrument::Scope AK_INSTRUMENT_CONCAT(_akInstrumentScope_, __LINE__)(0, _zone_name_)
 
#define AK_INSTRUMENT_SCOPE_ID(_plugin_id_, _zone_name_)    AK::Instrument::Scope AK_INSTRUMENT_CONCAT(_akInstrumentScope_, __LINE__)(_plugin_id_, _zone_name_)
 
#define AK_INSTRUMENT_SCOPE_PROFILINGID(_profilingid_)    AK::Instrument::Scope AK_INSTRUMENT_CONCAT(_akInstrumentScope_, __LINE__)(AKMAKECLASSID( AkPluginTypeNone, AKCOMPANYID_AUDIOKINETIC, _profilingid_ ), nullptr)
 
#define AK_INSTRUMENT_THREAD_START(_thread_name_)
 
#define AK_INSTRUMENT_BEGIN_C(_plugin_id_, _color_, _zone_name_)   AK_INSTRUMENT_BEGIN(_plugin_id_, _zone_name_)
 

类型定义

typedef void *(* AK::Instrument::PushTimerFunc) (AkPluginID in_uPluginID, const char *in_pszZoneName)
 
typedef void(* AK::Instrument::PopTimerFunc) (void *in_pToken)
 
typedef void(* AK::Instrument::PostMarkerFunc) (AkPluginID in_uPluginID, const char *in_pszMarkerName)
 
typedef void(* AK::Instrument::PostMetaMarkerFunc) (AkPluginID in_uPluginID, AkUInt32 in_uMetadata)
 

变量

PushTimerFunc AK::Instrument::g_fnPushTimer
 
PopTimerFunc AK::Instrument::g_fnPopTimer
 
PostMarkerFunc AK::Instrument::g_fnPostMarker
 
PostMetaMarkerFunc AK::Instrument::g_fnPostMetaMarker
 

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅