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 "pxr/base/tf/hashmap.h"
#include <memory>
#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);
 

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 63 of file perfLog.h.

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

Definition at line 65 of file perfLog.h.

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

Definition at line 70 of file perfLog.h.

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

Definition at line 72 of file perfLog.h.

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

Definition at line 83 of file perfLog.h.

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

Definition at line 79 of file perfLog.h.

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

Definition at line 77 of file perfLog.h.

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

Definition at line 81 of file perfLog.h.

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

Definition at line 85 of file perfLog.h.

#define HD_TRACE_FUNCTION ( )    TRACE_FUNCTION()

Definition at line 57 of file perfLog.h.

#define HD_TRACE_SCOPE (   tag)    TRACE_SCOPE(tag)

Definition at line 59 of file perfLog.h.

Function Documentation

HD_API_TEMPLATE_CLASS ( TfSingleton< HdPerfLog )