Class instantiated in every registered thread.
More...
Class instantiated in every registered thread.
Definition at line 131 of file Profiler2.h.
CProfiler2::ThreadStorage::ThreadStorage |
( |
CProfiler2 & |
profiler, |
|
|
const std::string & |
name |
|
) |
| |
CProfiler2::ThreadStorage::~ThreadStorage |
( |
| ) |
|
std::string CProfiler2::ThreadStorage::GetBuffer |
( |
| ) |
|
Returns a copy of a subset of the thread's buffer.
Not guaranteed to start on an item boundary. May be called by any thread.
Definition at line 281 of file Profiler2.cpp.
const std::string& CProfiler2::ThreadStorage::GetName |
( |
| ) |
|
|
inline |
CProfiler2& CProfiler2::ThreadStorage::GetProfiler |
( |
| ) |
|
|
inline |
void CProfiler2::ThreadStorage::Record |
( |
EItem |
type, |
|
|
double |
t, |
|
|
const char * |
id |
|
) |
| |
|
inline |
void CProfiler2::ThreadStorage::RecordAttribute |
( |
const char * |
fmt, |
|
|
va_list |
argp |
|
) |
| |
void CProfiler2::ThreadStorage::RecordAttributePrintf |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
|
inline |
void CProfiler2::ThreadStorage::RecordFrameStart |
( |
double |
t | ) |
|
|
inline |
void CProfiler2::ThreadStorage::RecordSyncMarker |
( |
double |
t | ) |
|
|
inline |
void CProfiler2::ThreadStorage::Write |
( |
EItem |
type, |
|
|
const void * |
item, |
|
|
u32 |
itemSize |
|
) |
| |
|
inlineprivate |
Store an item into the buffer.
Definition at line 196 of file Profiler2.h.
u8* CProfiler2::ThreadStorage::m_Buffer |
|
private |
u32 CProfiler2::ThreadStorage::m_BufferPos0 |
|
private |
u32 CProfiler2::ThreadStorage::m_BufferPos1 |
|
private |
double CProfiler2::ThreadStorage::m_LastTime |
|
private |
std::string CProfiler2::ThreadStorage::m_Name |
|
private |
The documentation for this class was generated from the following files: