Home
last modified time | relevance | path

Searched refs:MemprofThreadContext (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp27 void MemprofThreadContext::OnCreated(void *arg) { in OnCreated()
32 void MemprofThreadContext::OnFinished() { in OnFinished()
45 return new (allocator_for_thread_context) MemprofThreadContext(tid); in GetMemprofThreadContext()
64 MemprofThreadContext *GetThreadContextByTidLocked(u32 tid) { in GetThreadContextByTidLocked()
65 return static_cast<MemprofThreadContext *>( in GetThreadContextByTidLocked()
86 MemprofThreadContext *context = (MemprofThreadContext *)tsd; in TSDDtor()
184 MemprofThreadContext *context = in GetCurrentThread()
185 reinterpret_cast<MemprofThreadContext *>(TSDGet()); in GetCurrentThread()
207 MemprofThreadContext *context = in EnsureMainThreadIDIsCorrect()
208 reinterpret_cast<MemprofThreadContext *>(TSDGet()); in EnsureMainThreadIDIsCorrect()
H A Dmemprof_thread.h34 struct MemprofThreadContext final : public ThreadContextBase {
35 explicit MemprofThreadContext(int tid) in MemprofThreadContext() function
48 COMPILER_CHECK(sizeof(MemprofThreadContext) <= 256);
72 MemprofThreadContext *context() { return context_; } in context()
73 void set_context(MemprofThreadContext *context) { context_ = context; } in set_context()
98 MemprofThreadContext *context_;
118 MemprofThreadContext *GetThreadContextByTidLocked(u32 tid);
H A Dmemprof_descriptions.cpp22 MemprofThreadIdAndName::MemprofThreadIdAndName(MemprofThreadContext *t) { in MemprofThreadIdAndName()
31 MemprofThreadContext *t = GetThreadContextByTidLocked(tid); in MemprofThreadIdAndName()
43 void DescribeThread(MemprofThreadContext *context) { in DescribeThread()
64 MemprofThreadContext *parent_context = in DescribeThread()
H A Dmemprof_descriptions.h23 void DescribeThread(MemprofThreadContext *context);
31 explicit MemprofThreadIdAndName(MemprofThreadContext *t);
H A Dmemprof_posix.cpp47 MemprofThreadContext *context = (MemprofThreadContext *)tsd; in PlatformTSDDtor()
H A Dmemprof_stats.cpp76 MemprofThreadContext *tctx = static_cast<MemprofThreadContext *>(tctx_base); in MergeThreadStats()