public static final class
AllocationRecord.Builder
An allocation/de-allocation operation performed by the allocator.
tensorflow.AllocationRecord
Public Methods
AllocationRecord.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
AllocationRecord |
build()
|
AllocationRecord | |
AllocationRecord.Builder |
clear()
|
AllocationRecord.Builder |
clearAllocBytes()
Number of bytes allocated, or de-allocated if negative. |
AllocationRecord.Builder |
clearAllocMicros()
The timestamp of the operation. |
AllocationRecord.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
AllocationRecord.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
AllocationRecord.Builder |
clone()
|
long |
getAllocBytes()
Number of bytes allocated, or de-allocated if negative. |
long |
getAllocMicros()
The timestamp of the operation. |
AllocationRecord | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
final boolean | |
AllocationRecord.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
AllocationRecord.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final AllocationRecord.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
AllocationRecord.Builder |
setAllocBytes(long value)
Number of bytes allocated, or de-allocated if negative. |
AllocationRecord.Builder |
setAllocMicros(long value)
The timestamp of the operation. |
AllocationRecord.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
AllocationRecord.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final AllocationRecord.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public AllocationRecord.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public AllocationRecord.Builder clearAllocBytes ()
Number of bytes allocated, or de-allocated if negative.
int64 alloc_bytes = 2;
public AllocationRecord.Builder clearAllocMicros ()
The timestamp of the operation.
int64 alloc_micros = 1;
public long getAllocBytes ()
Number of bytes allocated, or de-allocated if negative.
int64 alloc_bytes = 2;
public long getAllocMicros ()
The timestamp of the operation.
int64 alloc_micros = 1;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public final boolean isInitialized ()
public AllocationRecord.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final AllocationRecord.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public AllocationRecord.Builder setAllocBytes (long value)
Number of bytes allocated, or de-allocated if negative.
int64 alloc_bytes = 2;
public AllocationRecord.Builder setAllocMicros (long value)
The timestamp of the operation.
int64 alloc_micros = 1;