11.07.2015 Views

CUPTI User's Guide

CUPTI User's Guide

CUPTI User's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>CUPTI</strong> Metric APIData Structures◮ union CUpti_MetricValueA metric value.Typedefs◮ typedef uint32_t CUpti_MetricIDID for a metric.Enumerations◮ enum CUpti_MetricAttribute {<strong>CUPTI</strong>_METRIC_ATTR_NAME = 0,<strong>CUPTI</strong>_METRIC_ATTR_SHORT_DESCRIPTION = 1,<strong>CUPTI</strong>_METRIC_ATTR_LONG_DESCRIPTION = 2,<strong>CUPTI</strong>_METRIC_ATTR_CATEGORY = 3,<strong>CUPTI</strong>_METRIC_ATTR_VALUE_KIND = 4 }Metric attributes.◮ enum CUpti_MetricCategory {<strong>CUPTI</strong>_METRIC_CATEGORY_MEMORY = 0,<strong>CUPTI</strong>_METRIC_CATEGORY_INSTRUCTION = 1,<strong>CUPTI</strong>_METRIC_CATEGORY_MULTIPROCESSOR = 2,<strong>CUPTI</strong>_METRIC_CATEGORY_CACHE = 3,<strong>CUPTI</strong>_METRIC_CATEGORY_TEXTURE = 4 }A metric category.◮ enum CUpti_MetricValueKind {<strong>CUPTI</strong>_METRIC_VALUE_KIND_DOUBLE = 0,<strong>CUPTI</strong>_METRIC_VALUE_KIND_UINT64 = 1,CUDA Tools SDK <strong>CUPTI</strong> User’s <strong>Guide</strong> DA-05679-001_v01 | 99

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!