You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
addOptionalCommandLineArg(p, hbos_use_global_threshold, "Set true to use a global threshold in HBOS algorithm. Dafault is true.");
72
72
addOptionalCommandLineArg(p, program_idx, "Set the index associated with the instrumented program. Use to label components of a workflow. (default 0)");
73
73
addOptionalCommandLineArg(p, outlier_sigma, "Set the number of standard deviations that defines an anomalous event (default 6)");
74
+
addOptionalCommandLineArg(p, net_recv_timeout, "Timeout (in ms) for blocking receives on client from parameter server");
74
75
addOptionalCommandLineArg(p, pserver_addr, "Set the address of the parameter server. If empty (default) the pserver will not be used.");
75
76
addOptionalCommandLineArg(p, hpserver_nthr, "Set the number of threads used by the hierarchical PS. This parameter is used to compute a port offset for the particular endpoint that this AD rank connects to (default 1)");
76
77
addOptionalCommandLineArg(p, interval_msec, "Force the AD to pause for this number of ms at the end of each IO step (default 0)");
Copy file name to clipboardExpand all lines: include/chimbuko/ad/ADOutlier.hpp
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,8 @@ namespace chimbuko {
57
57
/**
58
58
* @brief Link the interface for communicating with the parameter server
59
59
*/
60
-
voidlinkNetworkClient(ADNetClient *client);
60
+
//void linkNetworkClient(ADNetClient *client);
61
+
voidlinkNetworkClient(ADThreadNetClient *client);
61
62
62
63
/**
63
64
* @brief abstract method to run the implemented anomaly detection algorithm
@@ -112,8 +113,9 @@ namespace chimbuko {
112
113
protected:
113
114
int m_rank; /**< this process rank */
114
115
bool m_use_ps; /**< true if the parameter server is in use */
115
-
ADNetClient* m_net_client; /**< interface for communicating to parameter server */
116
-
116
+
//ADNetClient* m_net_client; /**< interface for communicating to parameter server */
117
+
ADThreadNetClient* m_net_client; /**< interface for communicating to parameter server */
118
+
117
119
std::unordered_map< std::array<unsignedlong, 4>, size_t, ArrayHasher<unsignedlong,4> > m_local_func_exec_count; /**< Map(program id, rank id, thread id, func id) -> number of times encountered on this node*/
118
120
119
121
const ExecDataMap_t * m_execDataMap; /**< execution data map */
0 commit comments