First pass at ray memory command for memory debugging (#7589)

This commit is contained in:
Eric Liang
2020-03-17 20:45:07 -07:00
committed by GitHub
parent e6a045df48
commit 745b9d643d
32 changed files with 794 additions and 89 deletions
+2 -1
View File
@@ -98,6 +98,7 @@ cdef extern from "ray/core_worker/core_worker.h" nogil:
const CWorkerID &worker_id) nogil,
CRayStatus() nogil,
void() nogil,
void(c_string *stack_out) nogil,
c_bool ref_counting_enabled)
CWorkerType &GetWorkerType()
CLanguage &GetLanguage()
@@ -188,7 +189,7 @@ cdef extern from "ray/core_worker/core_worker.h" nogil:
unordered_map[CObjectID, pair[size_t, size_t]] GetAllReferenceCounts()
void GetAsync(const CObjectID &object_id,
ray_callback_function successs_callback,
ray_callback_function success_callback,
ray_callback_function fallback_callback,
void* python_future)