class PlatformThreadLocalObject

Defined at line 48 of file ../../third_party/perfetto/include/perfetto/tracing/platform.h

Base class for thread-local objects. This is to get a basic object vtable and

delegate destruction to the embedder. See Platform::CreateThreadLocalObject.

Public Methods

std::unique_ptr<PlatformThreadLocalObject> CreateInstance ()

Implemented by perfetto internal code. The embedder must call this when

implementing GetOrCreateThreadLocalObject() to create an instance for the

first time on each thread.

void ~PlatformThreadLocalObject ()