MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3 / show_stats

Method show_stats

javacli/Client.java:83–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 }
82
83 public void show_stats() {
84 int n = client_thread.stats_n();
85 for (int i = 0; i < n; ++i)
86 {
87 String name = client_thread.stats_name(i);
88 long value = client_thread.stats_value(i);
89 if (value > 0)
90 System.out.format("STAT %s=%s%n", name, value);
91 }
92 }
93
94 @Override
95 public void event(ClientAPI_Event event) {

Callers 1

mainMethod · 0.95

Calls 3

stats_nMethod · 0.80
stats_nameMethod · 0.80
stats_valueMethod · 0.80

Tested by

no test coverage detected