File: ProfilerResultsCommon.proto

package info (click to toggle)
nvidia-cuda-toolkit 12.5.0-1
  • links: PTS, VCS
  • area: non-free
  • in suites: experimental
  • size: 13,247,276 kB
  • sloc: ansic: 214,716; cpp: 65,455; javascript: 24,274; python: 22,339; xml: 11,484; makefile: 3,079; sh: 2,288; perl: 356
file content (31 lines) | stat: -rw-r--r-- 890 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
         
syntax = "proto2";
package NV.Profiler.Messages;
// enable arenas for better allocation performance
option cc_enable_arenas = true;
message ProfileMetricValue
{
    optional string StringValue = 1;
    optional float FloatValue = 2;
    optional double DoubleValue = 3;
    optional uint32 Uint32Value = 4;
    optional uint64 Uint64Value = 5;
}
message ProfileMetricListElement
{
    optional ProfileMetricValue CorrelationId = 1;
    required ProfileMetricValue ElementValue = 2;
}
enum ProfileMetricCategory
{
    MetricCategoryPm = 0;
    MetricCategorySampler = 1;
    // ONLY ADD AT THE END OF THIS LIST. DO NOT RE-ORDER.
}
message ProfileMetricResult
{
    required uint32 NameId = 1;
    optional ProfileMetricValue MetricValue = 2;
    repeated ProfileMetricListElement MetricValueList = 3;
    optional ProfileMetricCategory Category = 4 [default = MetricCategoryPm];
}