LeviLamina
Loading...
Searching...
No Matches
ProfilerLite Class Reference

Classes

struct  RealtimeFrameData
struct  ScopedData

Public Types

enum class  ScopeTag : int {
  None = 0 , Root = 1 , PreFrame = 2 , BeginFrame = 3 ,
  ClientInstance = 4 , EndFrame = 5 , Present = 6 , Input = 7 ,
  ClientSimTick = 8 , ClientRealTick = 9 , ServerInstance = 10 , ServerSimTick = 11 ,
  ServerRealTick = 12 , Render = 13 , RenderLevel = 14 , TickAndRenderUI = 15 ,
  UpdateFrame = 16 , UpdateGame = 17 , Last = 17 , SimTickFirst = 8 ,
  SimTickLast = 12 , RenderTickFirst = 13 , RenderTickLast = 15
}
using EventSource
using EventVisitor = ::brstd::function_ref<void(::std::string const&, double)>

Public Member Functions

MCAPI::_ProfilerLiteTimer * getActiveScope (::std::thread::id threadId)
MCAPI void setActiveScope (::std::thread::id threadId, ::_ProfilerLiteTimer *newScope)

Static Public Member Functions

static MCAPI ::ProfilerLite & gProfilerLiteInstance ()

Public Attributes

::ll::TypedStorage< 8, 144, ::std::array<::ProfilerLite::ScopedData *, 18 > > mCustomScopeDatas
::ll::TypedStorage< 8, 96, ::ProfilerLite::ScopedData > mUninitializedScopedData
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mLogFileName
::ll::TypedStorage< 8, 296, ::Core::OutputFileStream > mLogFile
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mScreenLoadLogFileName
::ll::TypedStorage< 8, 296, ::Core::OutputFileStream > mScreenLoadLogFile
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mEventLogFileName
::ll::TypedStorage< 8, 296, ::Core::OutputFileStream > mEventLogFile
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mSecondaryLogFileName
::ll::TypedStorage< 8, 296, ::Core::OutputFileStream > mSecondaryLogFile
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mSecondaryScreenLoadLogFileName
::ll::TypedStorage< 8, 296, ::Core::OutputFileStream > mSecondaryScreenLoadLogFile
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mSecondaryEventLogFileName
::ll::TypedStorage< 8, 296, ::Core::OutputFileStream > mSecondaryEventLogFile
::ll::TypedStorage< 4, 4, float > mSecondsPerUpdate
::ll::TypedStorage< 8, 8, double > mTime
::ll::TypedStorage< 8, 8, double > mStartTime
::ll::TypedStorage< 8, 8, double > mNextUpdateTime
::ll::TypedStorage< 8, 8, double > mLastUpdateTime
::ll::TypedStorage< 8, 8, double > mBenchmarkModeTime
::ll::TypedStorage< 4, 4, int > mTicksToNextMemoryUpdate
::ll::TypedStorage< 1, 1, bool > mBenchmarkModeDone
::ll::TypedStorage< 1, 1, bool > mBenchmarkModeIsSetup
::ll::TypedStorage< 1, 1, bool > mDefaultEnabled
::ll::TypedStorage< 1, 1, bool > mForceEnabled
::ll::TypedStorage< 1, 1, bool > mShouldCheckTreatments
::ll::TypedStorage< 1, 1, bool > mCanLogToSecondaryFile
::ll::TypedStorage< 8, 8, ::_ProfilerLiteTimer * > mActiveScope
::ll::TypedStorage< 8, 16, ::std::map<::std::thread::id, ::_ProfilerLiteTimer * > > mThreadedActiveScopes
::ll::TypedStorage< 8, 32, ::std::string > mCurrentGamestate
::ll::TypedStorage< 8, 8, ::std::chrono::nanoseconds > mDebugServerTickTime
::ll::TypedStorage< 8, 8, ::std::chrono::nanoseconds > mDebugServerNetworkTime
::ll::TypedStorage< 4, 4, float > mDebugRemoteServerTickTime
::ll::TypedStorage< 8, 72, ::ProfilerLiteTelemetry > mTelemetry
::ll::TypedStorage< 8, 32, ::std::string > mCachedProfileString
::ll::TypedStorage< 4, 16, ::std::array< uint, 4 > > mLastNetworkStatSampleNum
::ll::TypedStorage< 8, 8, uint64 > mPrevTotalBytesWritten
::ll::TypedStorage< 8, 8, uint64 > mPrevTotalBytesRead
::ll::TypedStorage< 8, 40, ::ProfilerLite::RealtimeFrameData > mFrameData

Member Typedef Documentation

◆ EventSource

using ProfilerLite::EventSource
Initial value:
void(::brstd::function_ref<void(::std::string const&, double), void(::std::string const&, double)>)>
Definition function_ref.h:60

The documentation for this class was generated from the following file: