8#ifndef PXR_BASE_TRACE_KEY_H
9#define PXR_BASE_TRACE_KEY_H
12#include "pxr/base/trace/staticKeyData.h"
15PXR_NAMESPACE_OPEN_SCOPE
30 if (_ptr == other._ptr) {
33 return *_ptr == *other._ptr;
44 size_t operator()(
const TraceKey& key)
const {
56PXR_NAMESPACE_CLOSE_SCOPE
This class owns lists of TraceEvent instances per thread, and allows read access to them.
A wrapper around a TraceStaticKeyData pointer that is stored in TraceEvent instances.
constexpr TraceKey(const TraceStaticKeyData &data)
Constructor.
bool operator==(const TraceKey &other) const
Equality comparison.
size_t Hash() const
Hash function.
This class holds data necessary to create keys for TraceEvent instances.
A Hash functor which may be used to store keys in a TfHashMap.