mirror of
https://github.com/paboyle/Grid.git
synced 2026-11-05 03:33:20 +00:00
Tracing
This commit is contained in:
1 parent
63a30ae34f
commit
121c9e2ceb
1 file changed
+4
@@ -1,4 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
NAMESPACE_BEGIN(Grid);
|
||||
|
||||
#ifdef GRID_TRACING_NVTX
|
||||
#include <nvToolsExt.h>
|
||||
class GridTracer {
|
||||
@@ -64,3 +67,4 @@ inline void traceStop(int ID) { }
|
||||
#else
|
||||
#define GRID_TRACE(name) GridTracer uniq_name_using_macros##__COUNTER__(name);
|
||||
#endif
|
||||
NAMESPACE_END(Grid);
|
||||
Reference in new issue
Block a user