Implement the rdc_lib API to support the job stats
Add the function to start and stop the job recording. Add the function to get the job stats for each GPU and summary of multiple GPUs Add the function to remove the jobs. Add a class RdcLogger which can control the log level using the environment variable RDC_LOG. This is similar to GRPC_VERBOSITY gRPC. When the customer has the issues, he can enable the verbose log to help us to troubleshoot the issues. Add the -u support in the rdci group, fieldgroup and dmon for connecting to rdcd without authentication. Change-Id: I22c591823c1ee6485db106b911bed8271d1b2769
Este cometimento está contido em:
cometido por
Chris Freehill
ascendente
16bce67835
cometimento
a547dc7efd
@@ -36,11 +36,12 @@ class RdcEmbeddedHandler: public RdcHandler {
|
||||
public:
|
||||
// Job API
|
||||
rdc_status_t rdc_job_start_stats(rdc_gpu_group_t groupId,
|
||||
char job_id[64], uint64_t update_freq, double max_keep_age,
|
||||
uint32_t max_keep_samples) override;
|
||||
rdc_status_t rdc_job_get_stats(char jobId[64],
|
||||
char job_id[64], uint64_t update_freq) override;
|
||||
rdc_status_t rdc_job_get_stats(char jobId[64],
|
||||
rdc_job_info_t* p_job_info) override;
|
||||
rdc_status_t rdc_job_stop_stats(char job_id[64]) override;
|
||||
rdc_status_t rdc_job_stop_stats(char job_id[64]) override;
|
||||
rdc_status_t rdc_job_remove(char job_id[64]) override;
|
||||
rdc_status_t rdc_job_remove_all() override;
|
||||
|
||||
// Discovery API
|
||||
rdc_status_t rdc_device_get_all(
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador