Package org.platanios.tensorflow.proto
Interface AllocatorMemoryUsedOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AllocatorMemoryUsed
,AllocatorMemoryUsed.Builder
public interface AllocatorMemoryUsedOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AllocationRecord
getAllocationRecords(int index)
The allocation and deallocation timeline.int
getAllocationRecordsCount()
The allocation and deallocation timeline.java.util.List<AllocationRecord>
getAllocationRecordsList()
The allocation and deallocation timeline.AllocationRecordOrBuilder
getAllocationRecordsOrBuilder(int index)
The allocation and deallocation timeline.java.util.List<? extends AllocationRecordOrBuilder>
getAllocationRecordsOrBuilderList()
The allocation and deallocation timeline.long
getAllocatorBytesInUse()
These are snapshots of the overall allocator memory stats.java.lang.String
getAllocatorName()
string allocator_name = 1;
com.google.protobuf.ByteString
getAllocatorNameBytes()
string allocator_name = 1;
long
getLiveBytes()
The bytes that are not deallocated.long
getPeakBytes()
int64 peak_bytes = 3;
long
getTotalBytes()
These are per-node allocator memory stats.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAllocatorName
java.lang.String getAllocatorName()
string allocator_name = 1;
- Returns:
- The allocatorName.
-
getAllocatorNameBytes
com.google.protobuf.ByteString getAllocatorNameBytes()
string allocator_name = 1;
- Returns:
- The bytes for allocatorName.
-
getTotalBytes
long getTotalBytes()
These are per-node allocator memory stats.
int64 total_bytes = 2;
- Returns:
- The totalBytes.
-
getPeakBytes
long getPeakBytes()
int64 peak_bytes = 3;
- Returns:
- The peakBytes.
-
getLiveBytes
long getLiveBytes()
The bytes that are not deallocated.
int64 live_bytes = 4;
- Returns:
- The liveBytes.
-
getAllocationRecordsList
java.util.List<AllocationRecord> getAllocationRecordsList()
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
getAllocationRecords
AllocationRecord getAllocationRecords(int index)
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
getAllocationRecordsCount
int getAllocationRecordsCount()
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
getAllocationRecordsOrBuilderList
java.util.List<? extends AllocationRecordOrBuilder> getAllocationRecordsOrBuilderList()
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
getAllocationRecordsOrBuilder
AllocationRecordOrBuilder getAllocationRecordsOrBuilder(int index)
The allocation and deallocation timeline.
repeated .org.platanios.tensorflow.proto.AllocationRecord allocation_records = 6;
-
getAllocatorBytesInUse
long getAllocatorBytesInUse()
These are snapshots of the overall allocator memory stats. The number of live bytes currently allocated by the allocator.
int64 allocator_bytes_in_use = 5;
- Returns:
- The allocatorBytesInUse.
-
-