VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
vae_profiler.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  vae
 Contains Typedefinitions and basic structures use by the public API and internally.
 
namespace  vae::core
 
namespace  vae::core::profiler
 

Macros

#define VAE_PROFILER_FRAME_MARK()
 Marks a frame to calculate FPS, not really needed for audio. More...
 
#define VAE_PROFILER_FRAME_MARK_START(name)
 Starts a named frame, uses const defined above to maintain the same pointer. More...
 
#define VAE_PROFILER_FRAME_MARK_END(name)
 Stops a named frame. More...
 
#define VAE_PROFILER_SCOPE()
 Profiles a scope. More...
 
#define VAE_PROFILER_SCOPE_NAMED(name)
 Profiles a scope and names it. More...
 
#define VAE_PROFILER_PLOT(name, value)
 Records a value. More...
 
#define VEA_PROFILER_THREAD_NAME(name)
 Sets name for current thread. More...
 
#define VAE_PROFILER_MESSAGE_L(msg)
 Send literal message to profiler. More...
 
#define VAE_PROFILER_MESSAGE(msg, size)
 Send dynamic string message. More...
 
#define VAE_PROFILER_MALLOC(ptr, size)
 Track allocation. More...
 
#define VAE_PROFILER_FREE(ptr)
 Track free. More...
 
#define VAE_PROFILER_OVERLOAD_NEW()
 Overloads new and delete of class to be tracked. More...
 
#define VAE_PROFILER_MUTEX(type, name, desc)   type name;
 
#define VAE_PROFILER_FREE_L(ptr, name)
 Track named allocaions. More...
 
#define VAE_PROFILER_MALLOC_L(ptr, size, name)
 Track named allocaions. More...
 

Variables

const char *const vae::core::profiler::audioFrame = "Audio Frame"
 
const char *const vae::core::profiler::updateFrame = "Update Frame"
 
const char *const vae::core::profiler::voiceCount = "Voices"
 
const char *const vae::core::profiler::voiceFinishedCount = "Voices Finished Queue"
 
const char *const vae::core::profiler::voiceVirtualCount = "Virtual voices"
 
const char *const vae::core::profiler::starvedVoiceCount = "Starved voices"
 
const char *const vae::core::profiler::stoppedVoiceOverflow = "Stopped voice overflow"
 
const char *const vae::core::profiler::voiceHRTFCount = "HRTF voices"
 
const char *const vae::core::profiler::emitters = "Emitters"
 
const char *const vae::core::profiler::deviceUnderruns = "Device Underruns"
 
const char *const vae::core::profiler::deviceOverruns = "Device Overruns"
 
const char *const vae::core::profiler::engineUnderruns = "Engine Underruns"
 
const char *const vae::core::profiler::engineOverruns = "Engine Overruns"
 
const char *const vae::core::profiler::tklbAllocator = "tklb Allocator"
 Old tklb stuff, shouldn't be anything important in here. More...
 
const char *const vae::core::profiler::objAllocator = "new Allocator"
 Generic object heap like vae::core::Device. More...
 
const char *const vae::core::profiler::fsAllocator = "FS Allocator"
 Deals with everything deserialization. More...
 
const char *const vae::core::profiler::mainAllocator = "Main Allocator"
 Allocates all the bank, event emitter arrays. More...
 
const char *const vae::core::profiler::dspAllocator = "DSP allocator"
 Tracks DSP memory usage. More...
 

Macro Definition Documentation

◆ VAE_PROFILER_FRAME_MARK

#define VAE_PROFILER_FRAME_MARK ( )

Marks a frame to calculate FPS, not really needed for audio.

Definition at line 69 of file vae_profiler.hpp.

◆ VAE_PROFILER_FRAME_MARK_END

#define VAE_PROFILER_FRAME_MARK_END (   name)

Stops a named frame.

Definition at line 71 of file vae_profiler.hpp.

◆ VAE_PROFILER_FRAME_MARK_START

#define VAE_PROFILER_FRAME_MARK_START (   name)

Starts a named frame, uses const defined above to maintain the same pointer.

Definition at line 70 of file vae_profiler.hpp.

◆ VAE_PROFILER_FREE

#define VAE_PROFILER_FREE (   ptr)

Track free.

Definition at line 79 of file vae_profiler.hpp.

◆ VAE_PROFILER_FREE_L

#define VAE_PROFILER_FREE_L (   ptr,
  name 
)

Track named allocaions.

Definition at line 82 of file vae_profiler.hpp.

◆ VAE_PROFILER_MALLOC

#define VAE_PROFILER_MALLOC (   ptr,
  size 
)

Track allocation.

Definition at line 78 of file vae_profiler.hpp.

◆ VAE_PROFILER_MALLOC_L

#define VAE_PROFILER_MALLOC_L (   ptr,
  size,
  name 
)

Track named allocaions.

Definition at line 83 of file vae_profiler.hpp.

◆ VAE_PROFILER_MESSAGE

#define VAE_PROFILER_MESSAGE (   msg,
  size 
)

Send dynamic string message.

Definition at line 77 of file vae_profiler.hpp.

◆ VAE_PROFILER_MESSAGE_L

#define VAE_PROFILER_MESSAGE_L (   msg)

Send literal message to profiler.

Definition at line 76 of file vae_profiler.hpp.

◆ VAE_PROFILER_MUTEX

#define VAE_PROFILER_MUTEX (   type,
  name,
  desc 
)    type name;

Definition at line 81 of file vae_profiler.hpp.

◆ VAE_PROFILER_OVERLOAD_NEW

#define VAE_PROFILER_OVERLOAD_NEW ( )

Overloads new and delete of class to be tracked.

Definition at line 80 of file vae_profiler.hpp.

◆ VAE_PROFILER_PLOT

#define VAE_PROFILER_PLOT (   name,
  value 
)

Records a value.

Definition at line 74 of file vae_profiler.hpp.

◆ VAE_PROFILER_SCOPE

#define VAE_PROFILER_SCOPE ( )

Profiles a scope.

Definition at line 72 of file vae_profiler.hpp.

◆ VAE_PROFILER_SCOPE_NAMED

#define VAE_PROFILER_SCOPE_NAMED (   name)

Profiles a scope and names it.

Definition at line 73 of file vae_profiler.hpp.

◆ VEA_PROFILER_THREAD_NAME

#define VEA_PROFILER_THREAD_NAME (   name)

Sets name for current thread.

Definition at line 75 of file vae_profiler.hpp.