HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
perfLog.h File Reference
#include "pxr/pxr.h"
#include "pxr/imaging/hd/api.h"
#include "pxr/imaging/hd/version.h"
#include "pxr/imaging/hd/debugCodes.h"
#include "pxr/base/trace/trace.h"
#include "pxr/base/tf/mallocTag.h"
#include "pxr/base/tf/singleton.h"
#include "pxr/base/tf/token.h"
#include <hboost/noncopyable.hpp>
#include <hboost/shared_ptr.hpp>
#include "pxr/base/tf/hashmap.h"
#include <mutex>
+ Include dependency graph for perfLog.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HdPerfLog
 

Macros

#define HD_TRACE_FUNCTION()   TRACE_FUNCTION()
 
#define HD_TRACE_SCOPE(tag)   TRACE_SCOPE(tag)
 
#define HD_PERF_CACHE_HIT(name, id)   HdPerfLog::GetInstance().AddCacheHit(name, id);
 
#define HD_PERF_CACHE_HIT_TAG(name, id, tag)   HdPerfLog::GetInstance().AddCacheHit(name, id, tag);
 
#define HD_PERF_CACHE_MISS(name, id)   HdPerfLog::GetInstance().AddCacheMiss(name, id);
 
#define HD_PERF_CACHE_MISS_TAG(name, id, tag)   HdPerfLog::GetInstance().AddCacheMiss(name, id, tag);
 
#define HD_PERF_COUNTER_INCR(name)   HdPerfLog::GetInstance().IncrementCounter(name);
 
#define HD_PERF_COUNTER_DECR(name)   HdPerfLog::GetInstance().DecrementCounter(name);
 
#define HD_PERF_COUNTER_SET(name, value)   HdPerfLog::GetInstance().SetCounter(name, value);
 
#define HD_PERF_COUNTER_ADD(name, value)   HdPerfLog::GetInstance().AddCounter(name, value);
 
#define HD_PERF_COUNTER_SUBTRACT(name, value)   HdPerfLog::GetInstance().SubtractCounter(name, value);
 

Typedefs

typedef hboost::shared_ptr
< class HdResourceRegistry
HdResourceRegistrySharedPtr
 

Functions

 HD_API_TEMPLATE_CLASS (TfSingleton< HdPerfLog >)
 

Macro Definition Documentation

#define HD_PERF_CACHE_HIT (   name,
  id 
)    HdPerfLog::GetInstance().AddCacheHit(name, id);

Definition at line 64 of file perfLog.h.

#define HD_PERF_CACHE_HIT_TAG (   name,
  id,
  tag 
)    HdPerfLog::GetInstance().AddCacheHit(name, id, tag);

Definition at line 66 of file perfLog.h.

#define HD_PERF_CACHE_MISS (   name,
  id 
)    HdPerfLog::GetInstance().AddCacheMiss(name, id);

Definition at line 71 of file perfLog.h.

#define HD_PERF_CACHE_MISS_TAG (   name,
  id,
  tag 
)    HdPerfLog::GetInstance().AddCacheMiss(name, id, tag);

Definition at line 73 of file perfLog.h.

#define HD_PERF_COUNTER_ADD (   name,
  value 
)    HdPerfLog::GetInstance().AddCounter(name, value);

Definition at line 84 of file perfLog.h.

#define HD_PERF_COUNTER_DECR (   name)    HdPerfLog::GetInstance().DecrementCounter(name);

Definition at line 80 of file perfLog.h.

#define HD_PERF_COUNTER_INCR (   name)    HdPerfLog::GetInstance().IncrementCounter(name);

Definition at line 78 of file perfLog.h.

#define HD_PERF_COUNTER_SET (   name,
  value 
)    HdPerfLog::GetInstance().SetCounter(name, value);

Definition at line 82 of file perfLog.h.

#define HD_PERF_COUNTER_SUBTRACT (   name,
  value 
)    HdPerfLog::GetInstance().SubtractCounter(name, value);

Definition at line 86 of file perfLog.h.

#define HD_TRACE_FUNCTION ( )    TRACE_FUNCTION()

Definition at line 58 of file perfLog.h.

#define HD_TRACE_SCOPE (   tag)    TRACE_SCOPE(tag)

Definition at line 60 of file perfLog.h.

Typedef Documentation

Definition at line 47 of file perfLog.h.

Function Documentation

HD_API_TEMPLATE_CLASS ( TfSingleton< HdPerfLog )