Loading...
Searching...
No Matches
perfLog.h
1
//
2
// Copyright 2016 Pixar
3
//
4
// Licensed under the terms set forth in the LICENSE.txt file available at
5
// https://openusd.org/license.
6
//
7
#ifndef PXR_IMAGING_HF_PERF_LOG_H
8
#define PXR_IMAGING_HF_PERF_LOG_H
9
10
#include "
pxr/pxr.h
"
11
#include "
pxr/base/tf/mallocTag.h
"
12
#include "pxr/base/tf/preprocessorUtilsLite.h"
13
14
PXR_NAMESPACE_OPEN_SCOPE
15
16
20
#define HF_MALLOC_TAG_FUNCTION() \
21
TfAutoMallocTag2 tagFunc(TF_PP_STRINGIZE(MFB_PACKAGE_NAME), \
22
__ARCH_PRETTY_FUNCTION__);
23
27
#define HF_MALLOC_TAG(x) \
28
TfAutoMallocTag2 tag2(TF_PP_STRINGIZE(MFB_PACKAGE_NAME), x);
29
33
#define HF_MALLOC_TAG_NEW(x) \
34
TF_MALLOC_TAG_NEW(TF_PP_STRINGIZE(MFB_PACKAGE_NAME), x);
35
36
37
#define HF_TRACE_FUNCTION_SCOPE(tag) \
38
TRACE_FUNCTION_SCOPE(tag)
39
40
PXR_NAMESPACE_CLOSE_SCOPE
41
42
#endif
// PXR_IMAGING_HF_PERF_LOG_H
mallocTag.h
pxr.h
pxr
imaging
hf
perfLog.h
© Copyright 2025, Pixar Animation Studios. |
Terms of Use
| Generated on Tue Nov 18 2025 10:36:08 by
1.9.6