Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.20.37 Release
    For Test and Development only

    All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    GlobalTracer.hpp File Reference

    Go to the source code of this file.

    Namespaces

    namespace  dw
     
    namespace  dw::trace
     

    Macros

    #define DW_TRACE_CHANNEL   dw::trace::TraceChannel::DW
     Wrapper for DWTrace intended for internal use. More...
     
    #define DW_TRACE_LEVEL   dw::trace::Level::LEVEL_50
     
    #define DW_TRACE_TAG_CPU(name)   DW_TRACE_TAG(#name, "Host")
     
    #define DW_TRACE_TAG_GPU(name)   DW_TRACE_TAG(#name, "GPU")
     
    #define PROFILE_CPU_SECTION(name)
     
    #define PROFILE_SECTION(name, stream)
     
    #define TRACE_ASYNC_BEGIN(name)   DW_TRACE_ASYNC_BEGIN(dw::trace::TraceChannel::DW, DW_TRACE_TAG_CPU(name), dw::trace::Level::LEVEL_50);
     
    #define TRACE_ASYNC_END(name)   DW_TRACE_ASYNC_END(dw::trace::TraceChannel::DW, DW_TRACE_TAG_CPU(name), dw::trace::Level::LEVEL_50);
     
    #define TRACE_BEGIN(name)   DW_TRACE_BEGIN(dw::trace::TraceChannel::DW, DW_TRACE_TAG_CPU(name), dw::trace::Level::LEVEL_50);
     
    #define TRACE_CUDA_BEGIN(name, stream)   DW_TRACE_CUDA_BEGIN(dw::trace::TraceChannel::DW, DW_TRACE_TAG_GPU(name), stream, dw::trace::Level::LEVEL_50);
     
    #define TRACE_CUDA_BEGIN_ASYNC(name, stream)   DW_TRACE_CUDA_BEGIN_ASYNC(dw::trace::TraceChannel::DW, DW_TRACE_TAG_GPU(name), stream, dw::trace::Level::LEVEL_50);
     
    #define TRACE_CUDA_COLLECT_ALL()   DW_TRACE_CUDA_COLLECT_ALL()
     
    #define TRACE_CUDA_COLLECT_ASYNC(name)   DW_TRACE_CUDA_COLLECT_ASYNC(dw::trace::TraceChannel::DW, DW_TRACE_TAG_GPU(name), dw::trace::Level::LEVEL_50);
     
    #define TRACE_CUDA_END(name, stream)   DW_TRACE_CUDA_END(dw::trace::TraceChannel::DW, DW_TRACE_TAG_GPU(name), stream, dw::trace::Level::LEVEL_50);
     
    #define TRACE_CUDA_RECORD_ASYNC(name, stream)   DW_TRACE_CUDA_RECORD_ASYNC(dw::trace::TraceChannel::DW, DW_TRACE_TAG_GPU(name), stream, dw::trace::Level::LEVEL_50);
     
    #define TRACE_END(name)   DW_TRACE_END(dw::trace::TraceChannel::DW, DW_TRACE_TAG_CPU(name), dw::trace::Level::LEVEL_50);
     

    Macro Definition Documentation

    ◆ DW_TRACE_CHANNEL

    #define DW_TRACE_CHANNEL   dw::trace::TraceChannel::DW

    Wrapper for DWTrace intended for internal use.

    See dw/trace/Trace.hpp for function details.

    Definition at line 46 of file GlobalTracer.hpp.

    ◆ DW_TRACE_LEVEL

    #define DW_TRACE_LEVEL   dw::trace::Level::LEVEL_50

    Definition at line 49 of file GlobalTracer.hpp.

    ◆ DW_TRACE_TAG_CPU

    #define DW_TRACE_TAG_CPU (   name)    DW_TRACE_TAG(#name, "Host")

    Definition at line 47 of file GlobalTracer.hpp.

    ◆ DW_TRACE_TAG_GPU

    #define DW_TRACE_TAG_GPU (   name)    DW_TRACE_TAG(#name, "GPU")

    Definition at line 48 of file GlobalTracer.hpp.

    ◆ PROFILE_CPU_SECTION

    #define PROFILE_CPU_SECTION (   name)
    Value:
    #define DW_TRACE_TAG_CPU(name)
    #define DW_TRACE_SCOPE(...)
    This API is used to measure CPU execution time across scope.
    Definition: Trace.hpp:265

    Definition at line 56 of file GlobalTracer.hpp.

    ◆ PROFILE_SECTION

    #define PROFILE_SECTION (   name,
      stream 
    )
    Value:
    stream, \
    #define DW_TRACE_TAG_GPU(name)
    #define DW_TRACE_CUDA_SCOPE(...)
    This API is used to measure GPU execution time across scope.
    Definition: Trace.hpp:280

    Definition at line 51 of file GlobalTracer.hpp.

    ◆ TRACE_ASYNC_BEGIN

    Definition at line 62 of file GlobalTracer.hpp.

    ◆ TRACE_ASYNC_END

    Definition at line 63 of file GlobalTracer.hpp.

    ◆ TRACE_BEGIN

    Definition at line 60 of file GlobalTracer.hpp.

    ◆ TRACE_CUDA_BEGIN

    #define TRACE_CUDA_BEGIN (   name,
      stream 
    )    DW_TRACE_CUDA_BEGIN(dw::trace::TraceChannel::DW, DW_TRACE_TAG_GPU(name), stream, dw::trace::Level::LEVEL_50);

    Definition at line 64 of file GlobalTracer.hpp.

    ◆ TRACE_CUDA_BEGIN_ASYNC

    #define TRACE_CUDA_BEGIN_ASYNC (   name,
      stream 
    )    DW_TRACE_CUDA_BEGIN_ASYNC(dw::trace::TraceChannel::DW, DW_TRACE_TAG_GPU(name), stream, dw::trace::Level::LEVEL_50);

    Definition at line 66 of file GlobalTracer.hpp.

    ◆ TRACE_CUDA_COLLECT_ALL

    #define TRACE_CUDA_COLLECT_ALL ( )    DW_TRACE_CUDA_COLLECT_ALL()

    Definition at line 69 of file GlobalTracer.hpp.

    ◆ TRACE_CUDA_COLLECT_ASYNC

    #define TRACE_CUDA_COLLECT_ASYNC (   name)    DW_TRACE_CUDA_COLLECT_ASYNC(dw::trace::TraceChannel::DW, DW_TRACE_TAG_GPU(name), dw::trace::Level::LEVEL_50);

    Definition at line 68 of file GlobalTracer.hpp.

    ◆ TRACE_CUDA_END

    #define TRACE_CUDA_END (   name,
      stream 
    )    DW_TRACE_CUDA_END(dw::trace::TraceChannel::DW, DW_TRACE_TAG_GPU(name), stream, dw::trace::Level::LEVEL_50);

    Definition at line 65 of file GlobalTracer.hpp.

    ◆ TRACE_CUDA_RECORD_ASYNC

    #define TRACE_CUDA_RECORD_ASYNC (   name,
      stream 
    )    DW_TRACE_CUDA_RECORD_ASYNC(dw::trace::TraceChannel::DW, DW_TRACE_TAG_GPU(name), stream, dw::trace::Level::LEVEL_50);

    Definition at line 67 of file GlobalTracer.hpp.

    ◆ TRACE_END

    Definition at line 61 of file GlobalTracer.hpp.

    人人超碰97caoporen国产