mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
Change Python's ObjectID to ObjectRef (#9353)
This commit is contained in:
@@ -1892,7 +1892,7 @@ void CoreWorker::HandleGetCoreWorkerStats(const rpc::GetCoreWorkerStatsRequest &
|
||||
stats->set_num_pending_tasks(task_manager_->NumSubmissibleTasks());
|
||||
stats->set_task_queue_length(task_queue_length_);
|
||||
stats->set_num_executed_tasks(num_executed_tasks_);
|
||||
stats->set_num_object_ids_in_scope(reference_counter_->NumObjectIDsInScope());
|
||||
stats->set_num_object_refs_in_scope(reference_counter_->NumObjectIDsInScope());
|
||||
stats->set_current_task_func_desc(current_task_.FunctionDescriptor()->ToString());
|
||||
stats->set_ip_address(rpc_address_.ip_address());
|
||||
stats->set_port(rpc_address_.port());
|
||||
|
||||
@@ -303,8 +303,8 @@ message CoreWorkerStats {
|
||||
string current_task_desc = 1;
|
||||
// Number of pending normal and actor tasks.
|
||||
int32 num_pending_tasks = 2;
|
||||
// Number of object ids in local scope.
|
||||
int32 num_object_ids_in_scope = 3;
|
||||
// Number of object refs in local scope.
|
||||
int32 num_object_refs_in_scope = 3;
|
||||
// String representation of the function descriptor of the currently executing task.
|
||||
string current_task_func_desc = 4;
|
||||
// IP address of the core worker.
|
||||
|
||||
Reference in New Issue
Block a user