MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / SetParams

Method SetParams

serving/processor/serving/tracer.h:60–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 void SetParams(const int64_t start_step,
61 const int64_t interval_step,
62 const int64_t tracing_count,
63 const std::string& oss_endpoint,
64 const std::string& oss_access_id,
65 const std::string& oss_access_secret,
66 const std::string& path) {
67 location_type_ = TimelineLocation::OSS;
68 tracing_ = true;
69 next_tracing_step_ = start_step;
70 interval_step_ = interval_step;
71 tracing_count_ = tracing_count;
72 limit_step_ = start_step +
73 interval_step * tracing_count;
74 oss_endpoint_ = oss_endpoint;
75 access_key_id_ = oss_access_id;
76 access_key_secret_ = oss_access_secret;
77 ParseFilePath(path);
78 PrintDebugString();
79
80 InitOss();
81 }
82
83 void SetParams(const int64_t start_step,
84 const int64_t interval_step,

Callers 1

CreateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected