![]() |
VR-Vantage 2.8 API Documentation
|
Classes | |
| struct | FrameImageQueueItem |
Public Member Functions | |
| Profiler () | |
| ~Profiler () | |
| void | SpawnWorkerThreads () |
| tracy_force_inline uint32_t | GetNextZoneId () |
| void | SendCallstack (int depth, const char *skipBefore) |
| tracy_force_inline bool | IsConnected () const |
| void | RequestShutdown () |
| bool | HasShutdownFinished () const |
| void | SendString (uint64_t str, const char *ptr, QueueType type) |
| void | SendString (uint64_t str, const char *ptr, size_t len, QueueType type) |
| void | SendSingleString (const char *ptr) |
| void | SendSingleString (const char *ptr, size_t len) |
| void | SendSecondString (const char *ptr) |
| void | SendSecondString (const char *ptr, size_t len) |
Private Types | |
| enum | DequeueStatus |
Static Private Member Functions | |
| static void | LaunchWorker (void *ptr) |
| static void | LaunchCompressWorker (void *ptr) |
| static tracy_force_inline void | SendCallstackMemory (void *ptr) |
| static tracy_force_inline void | SendMemAlloc (QueueType type, const uint64_t thread, const void *ptr, size_t size) |
| static tracy_force_inline void | SendMemFree (QueueType type, const uint64_t thread, const void *ptr) |
Private Attributes | |
| double | m_timerMul |
| uint64_t | m_resolution |
| uint64_t | m_delay |
| std::atomic< int64_t > | m_timeBegin |
| uint64_t | m_mainThread |
| uint64_t | m_epoch |
| std::atomic< bool > | m_shutdown |
| std::atomic< bool > | m_shutdownManual |
| std::atomic< bool > | m_shutdownFinished |
| Socket * | m_sock |
| UdpBroadcast * | m_broadcast |
| bool | m_noExit |
| uint32_t | m_userPort |
| std::atomic< uint32_t > | m_zoneId |
| int64_t | m_samplingPeriod |
| uint64_t | m_threadCtx |
| int64_t | m_refTimeThread |
| int64_t | m_refTimeSerial |
| int64_t | m_refTimeCtx |
| int64_t | m_refTimeGpu |
| void * | m_stream |
| char * | m_buffer |
| int | m_bufferOffset |
| int | m_bufferStart |
| char * | m_lz4Buf |
| FastVector< QueueItem > | m_serialQueue |
| FastVector< QueueItem > | m_serialDequeue |
| TracyMutex | m_serialLock |
| FastVector< FrameImageQueueItem > | m_fiQueue |
| FastVector< FrameImageQueueItem > | m_fiDequeue |
| TracyMutex | m_fiLock |
| std::atomic< uint64_t > | m_frameCount |
| std::atomic< bool > | m_isConnected |
| ParameterCallback | m_paramCallback |
|
private |
| tracy::Profiler::Profiler | ( | ) |
| tracy::Profiler::~Profiler | ( | ) |
| void tracy::Profiler::SpawnWorkerThreads | ( | ) |
|
inlinestatic |
Referenced by tracy::LockableCtx::AfterLock(), tracy::SharedLockableCtx::AfterLock(), tracy::SharedLockableCtx::AfterLockShared(), tracy::LockableCtx::AfterTryLock(), tracy::SharedLockableCtx::AfterTryLock(), tracy::SharedLockableCtx::AfterTryLockShared(), tracy::LockableCtx::AfterUnlock(), tracy::SharedLockableCtx::AfterUnlock(), tracy::SharedLockableCtx::AfterUnlockShared(), tracy::LockableCtx::BeforeLock(), tracy::SharedLockableCtx::BeforeLock(), tracy::SharedLockableCtx::BeforeLockShared(), tracy::LockableCtx::LockableCtx(), Message(), MessageAppInfo(), MessageColor(), PlotData(), tracy::ScopedZone::ScopedZone(), SendFrameMark(), SendMemAlloc(), SendMemFree(), tracy::SharedLockableCtx::SharedLockableCtx(), tracy::LockableCtx::~LockableCtx(), tracy::ScopedZone::~ScopedZone(), and tracy::SharedLockableCtx::~SharedLockableCtx().
|
inline |
References m_zoneId.
|
inlinestatic |
References tracy::GetProfiler().
Referenced by tracy::LockableCtx::AfterLock(), tracy::SharedLockableCtx::AfterLock(), tracy::SharedLockableCtx::AfterLockShared(), tracy::LockableCtx::AfterTryLock(), tracy::SharedLockableCtx::AfterTryLock(), tracy::SharedLockableCtx::AfterTryLockShared(), tracy::LockableCtx::AfterUnlock(), tracy::SharedLockableCtx::AfterUnlock(), tracy::SharedLockableCtx::AfterUnlockShared(), tracy::LockableCtx::BeforeLock(), tracy::SharedLockableCtx::BeforeLock(), tracy::SharedLockableCtx::BeforeLockShared(), tracy::LockableCtx::CustomName(), tracy::SharedLockableCtx::CustomName(), tracy::LockableCtx::LockableCtx(), tracy::LockableCtx::Mark(), tracy::SharedLockableCtx::Mark(), SendFrameMark(), tracy::SharedLockableCtx::SharedLockableCtx(), tracy::LockableCtx::~LockableCtx(), and tracy::SharedLockableCtx::~SharedLockableCtx().
|
inlinestatic |
References tracy::GetProfiler().
Referenced by tracy::LockableCtx::AfterLock(), tracy::SharedLockableCtx::AfterLock(), tracy::SharedLockableCtx::AfterLockShared(), tracy::LockableCtx::AfterTryLock(), tracy::SharedLockableCtx::AfterTryLock(), tracy::SharedLockableCtx::AfterTryLockShared(), tracy::LockableCtx::AfterUnlock(), tracy::SharedLockableCtx::AfterUnlock(), tracy::SharedLockableCtx::AfterUnlockShared(), tracy::LockableCtx::BeforeLock(), tracy::SharedLockableCtx::BeforeLock(), tracy::SharedLockableCtx::BeforeLockShared(), tracy::LockableCtx::CustomName(), tracy::SharedLockableCtx::CustomName(), tracy::LockableCtx::LockableCtx(), tracy::LockableCtx::Mark(), tracy::SharedLockableCtx::Mark(), SendFrameMark(), tracy::SharedLockableCtx::SharedLockableCtx(), tracy::LockableCtx::~LockableCtx(), and tracy::SharedLockableCtx::~SharedLockableCtx().
|
inlinestatic |
References tracy::GetProfiler(), GetTime(), IsConnected(), m_frameCount, tracy::MemWrite(), TracyLfqCommit, and TracyLfqPrepare.
|
inlinestatic |
References tracy::GetProfiler(), GetTime(), IsConnected(), tracy::MemWrite(), QueueSerial(), and QueueSerialFinish().
|
inlinestatic |
References tracy::GetProfiler(), exprtk::details::numeric::max(), and tracy::tracy_malloc().
|
inlinestatic |
References tracy::GetProfiler(), GetTime(), IsConnected(), tracy::MemWrite(), TracyLfqCommit, and TracyLfqPrepare.
|
inlinestatic |
References tracy::GetProfiler(), GetTime(), IsConnected(), tracy::MemWrite(), TracyLfqCommit, and TracyLfqPrepare.
|
inlinestatic |
References tracy::GetProfiler(), GetTime(), IsConnected(), tracy::MemWrite(), TracyLfqCommit, and TracyLfqPrepare.
|
inlinestatic |
References tracy::GetProfiler(), tracy::MemWrite(), TracyLfqCommit, and TracyLfqPrepare.
|
inlinestatic |
|
inlinestatic |
References tracy::GetProfiler(), GetTime(), IsConnected(), tracy::MemWrite(), SendCallstack(), TracyLfqCommit, and TracyLfqPrepare.
|
inlinestatic |
|
inlinestatic |
References tracy::GetProfiler(), GetTime(), IsConnected(), tracy::MemWrite(), SendCallstack(), TracyLfqCommit, and TracyLfqPrepare.
|
inlinestatic |
|
inlinestatic |
References tracy::GetProfiler(), tracy::GetThreadHandle(), IsConnected(), m_serialLock, ImGui::MemAlloc(), tracy::ProfilerAvailable(), and SendMemAlloc().
Referenced by MemAllocCallstack().
|
inlinestatic |
References tracy::GetProfiler(), tracy::GetThreadHandle(), IsConnected(), m_serialLock, ImGui::MemFree(), tracy::ProfilerAvailable(), and SendMemFree().
Referenced by MemFreeCallstack().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
References tracy::MemWrite(), TracyLfqCommit, and TracyLfqPrepare.
Referenced by Message(), MessageColor(), and tracy::ScopedZone::ScopedZone().
|
inlinestatic |
References tracy::GetProfiler(), and m_paramCallback.
|
inlinestatic |
References tracy::GetProfiler(), tracy::MemWrite(), TracyLfqCommit, and TracyLfqPrepare.
|
static |
|
inline |
References m_isConnected.
Referenced by tracy::LockableCtx::AfterTryLock(), tracy::SharedLockableCtx::AfterTryLock(), tracy::SharedLockableCtx::AfterTryLockShared(), tracy::LockableCtx::AfterUnlock(), tracy::SharedLockableCtx::AfterUnlock(), tracy::SharedLockableCtx::AfterUnlockShared(), tracy::LockableCtx::BeforeLock(), tracy::SharedLockableCtx::BeforeLock(), tracy::SharedLockableCtx::BeforeLockShared(), tracy::LockableCtx::Mark(), tracy::SharedLockableCtx::Mark(), MemAlloc(), MemFree(), Message(), MessageColor(), PlotData(), and SendFrameMark().
|
inline |
References m_shutdown, and m_shutdownManual.
|
inline |
References m_shutdownFinished.
References SendString().
Referenced by SendString().
|
inline |
References SendSingleString().
Referenced by SendSingleString().
| void tracy::Profiler::SendSingleString | ( | const char * | ptr, |
| size_t | len | ||
| ) |
|
inline |
References SendSecondString().
Referenced by SendSecondString().
| void tracy::Profiler::SendSecondString | ( | const char * | ptr, |
| size_t | len | ||
| ) |
|
inlinestatic |
Referenced by AllocSourceLocation(), and tracy::ScopedZone::ScopedZone().
|
inlinestatic |
References AllocSourceLocation().
|
inlinestatic |
References AllocSourceLocation().
|
inlinestatic |
References exprtk::details::numeric::max(), and tracy::tracy_malloc().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by NeedDataSize().
|
inlineprivate |
References AppendDataUnsafe(), and NeedDataSize().
|
inlineprivate |
References CommitData(), m_bufferOffset, m_bufferStart, and tracy::TargetFrameSize.
Referenced by AppendData().
|
inlineprivate |
References int(), m_buffer, and m_bufferOffset.
Referenced by AppendData().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlinestaticprivate |
References tracy::FastVector< T >::commit_next(), tracy::GetProfiler(), m_serialQueue, tracy::MemWrite(), and tracy::FastVector< T >::prepare_next().
Referenced by MemAllocCallstack(), and MemFreeCallstack().
|
inlinestaticprivate |
References tracy::FastVector< T >::commit_next(), tracy::GetProfiler(), GetTime(), m_serialQueue, ImGui::MemAlloc(), tracy::MemWrite(), and tracy::FastVector< T >::prepare_next().
Referenced by MemAlloc(), and MemAllocCallstack().
|
inlinestaticprivate |
References tracy::FastVector< T >::commit_next(), tracy::GetProfiler(), GetTime(), m_serialQueue, ImGui::MemFree(), tracy::MemWrite(), and tracy::FastVector< T >::prepare_next().
Referenced by MemFree(), and MemFreeCallstack().
|
inlineprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by RequestShutdown().
|
private |
Referenced by RequestShutdown().
|
private |
Referenced by HasShutdownFinished().
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by GetNextZoneId().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by AppendDataUnsafe().
|
private |
Referenced by AppendDataUnsafe(), and NeedDataSize().
|
private |
Referenced by NeedDataSize().
|
private |
|
private |
Referenced by SendCallstackMemory(), SendMemAlloc(), and SendMemFree().
|
private |
|
private |
Referenced by MemAlloc(), and MemFree().
|
private |
|
private |
|
private |
|
private |
Referenced by SendFrameMark().
|
private |
Referenced by IsConnected().
|
private |
Referenced by ParameterRegister().