[GCS]profile info getting implementation based gcs service (#8536)

This commit is contained in:
Tao Wang
2020-05-24 22:23:01 +08:00
committed by GitHub
parent 822de1b7f7
commit 92c2e41dfd
16 changed files with 134 additions and 58 deletions
@@ -10,4 +10,4 @@ cdef extern from "ray/gcs/gcs_client/global_state_accessor.h" nogil:
c_bool Connect()
void Disconnect()
c_vector[c_string] GetAllJobInfo()
c_vector[c_string] GetAllProfileInfo()
@@ -22,3 +22,6 @@ cdef class GlobalStateAccessor:
def get_job_table(self):
return self.inner.get().GetAllJobInfo()
def get_profile_table(self):
return self.inner.get().GetAllProfileInfo()