AllocationRecord

public final class AllocationRecord

 An allocation/de-allocation operation performed by the allocator.
 
Protobuf type tensorflow.AllocationRecord

Nested Classes

class AllocationRecord.Builder
 An allocation/de-allocation operation performed by the allocator. 

Constants

int ALLOC_BYTES_FIELD_NUMBER
int ALLOC_MICROS_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
long
getAllocBytes()
 Number of bytes allocated, or de-allocated if negative.
long
getAllocMicros()
 The timestamp of the operation.
static AllocationRecord
AllocationRecord
final static com.google.protobuf.Descriptors.Descriptor
int
final com.google.protobuf.UnknownFieldSet
int
final boolean
static AllocationRecord.Builder
static AllocationRecord.Builder
AllocationRecord.Builder
static AllocationRecord
parseDelimitedFrom(InputStream input)
static AllocationRecord
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationRecord
parseFrom(ByteBuffer data)
static AllocationRecord
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationRecord
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationRecord
parseFrom(com.google.protobuf.CodedInputStream input)
static AllocationRecord
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationRecord
parseFrom(com.google.protobuf.ByteString data)
static AllocationRecord
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AllocationRecord
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
AllocationRecord.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int ALLOC_BYTES_FIELD_NUMBER

Constant Value: 2

public static final int ALLOC_MICROS_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

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 AllocationRecord getDefaultInstance ()

public AllocationRecord getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static AllocationRecord.Builder newBuilder (AllocationRecord prototype)

public static AllocationRecord.Builder newBuilder ()

public AllocationRecord.Builder newBuilderForType ()

public static AllocationRecord parseDelimitedFrom (InputStream input)

Throws
IOException

public static AllocationRecord parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static AllocationRecord parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static AllocationRecord parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static AllocationRecord parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static AllocationRecord parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static AllocationRecord parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static AllocationRecord parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static AllocationRecord parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static AllocationRecord parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public AllocationRecord.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException