Interface ProfilerOptions.RemoteProfilerSessionManagerOptionsOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
ProfilerOptions.RemoteProfilerSessionManagerOptions, ProfilerOptions.RemoteProfilerSessionManagerOptions.Builder
- Enclosing class:
ProfilerOptions
public static interface ProfilerOptions.RemoteProfilerSessionManagerOptionsOrBuilder
extends MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongStart of profiling is delayed by this much (in milliseconds).longMaximum time (in milliseconds) a profiling session manager waits for all profilers to finish after issuing gRPC request.Options for each local profiler.Options for each local profiler.getServiceAddresses(int index) List of servers to profile.getServiceAddressesBytes(int index) List of servers to profile.intList of servers to profile.List of servers to profile.longUnix timestamp of when the session was started.booleanOptions for each local profiler.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
hasProfilerOptions
boolean hasProfilerOptions()Options for each local profiler.
.tensorflow.ProfileOptions profiler_options = 1;- Returns:
- Whether the profilerOptions field is set.
-
getProfilerOptions
ProfilerOptions.ProfileOptions getProfilerOptions()Options for each local profiler.
.tensorflow.ProfileOptions profiler_options = 1;- Returns:
- The profilerOptions.
-
getProfilerOptionsOrBuilder
ProfilerOptions.ProfileOptionsOrBuilder getProfilerOptionsOrBuilder()Options for each local profiler.
.tensorflow.ProfileOptions profiler_options = 1; -
getServiceAddressesList
-
getServiceAddressesCount
int getServiceAddressesCount()List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;- Returns:
- The count of serviceAddresses.
-
getServiceAddresses
List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;- Parameters:
index- The index of the element to return.- Returns:
- The serviceAddresses at the given index.
-
getServiceAddressesBytes
List of servers to profile. Supported formats: host:port.
repeated string service_addresses = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the serviceAddresses at the given index.
-
getSessionCreationTimestampNs
long getSessionCreationTimestampNs()Unix timestamp of when the session was started.
uint64 session_creation_timestamp_ns = 3;- Returns:
- The sessionCreationTimestampNs.
-
getMaxSessionDurationMs
long getMaxSessionDurationMs()Maximum time (in milliseconds) a profiling session manager waits for all profilers to finish after issuing gRPC request. If value is 0, session continues until interrupted. Otherwise, value must be greater than profiler_options.duration_ms.
uint64 max_session_duration_ms = 4;- Returns:
- The maxSessionDurationMs.
-
getDelayMs
long getDelayMs()Start of profiling is delayed by this much (in milliseconds).
uint64 delay_ms = 5;- Returns:
- The delayMs.
-