MCPcopy Create free account
hub / github.com/F-Stack/f-stack / requestGlobalMetrics

Method requestGlobalMetrics

dpdk/usertools/dpdk-telemetry-client.py:100–104  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98 time.sleep(sleep_time)
99
100 def requestGlobalMetrics(self):
101 # Requests global metrics for given client
102 self.socket.client_fd.send(GLOBAL_METRICS_REQ.encode())
103 data = self.socket.client_fd.recv(BUFFER_SIZE).decode()
104 print("\nResponse: \n", data)
105
106 def interactiveMenu(self, sleep_time):
107 # Creates Interactive menu within the script

Callers 1

interactiveMenuMethod · 0.95

Calls 3

sendMethod · 0.80
recvMethod · 0.80
printFunction · 0.50

Tested by

no test coverage detected