mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 07:53:50 +08:00
[GCS]profile info getting implementation based gcs service (#8536)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user