25 #ifndef PXR_BASE_TRACE_THREADS_H 26 #define PXR_BASE_TRACE_THREADS_H 29 #include "pxr/base/trace/api.h" 33 PXR_NAMESPACE_OPEN_SCOPE
51 const std::string&
ToString()
const {
return _id; }
66 PXR_NAMESPACE_CLOSE_SCOPE
68 #endif // PXR_BASE_TRACE_THREADS_H This class represents an identifier for a thread.
TRACE_API bool operator<(const TraceThreadId &) const
Less than operator.
TRACE_API TraceThreadId()
Constructor which creates an identifier based on std::thread_id.
TRACE_API bool operator==(const TraceThreadId &) const
Equality operator.
const std::string & ToString() const
Returns the string representation of the id.