mirror of
https://github.com/wassname/ray.git
synced 2026-07-05 01:08:31 +08:00
Option to disable profiling and task timeline (#10414)
This commit is contained in:
@@ -64,3 +64,5 @@ cdef extern from "ray/common/ray_config.h" nogil:
|
||||
uint32_t max_tasks_in_flight_per_worker() const
|
||||
|
||||
uint64_t metrics_report_interval_ms() const
|
||||
|
||||
c_bool enable_timeline() const
|
||||
|
||||
@@ -111,3 +111,7 @@ cdef class Config:
|
||||
@staticmethod
|
||||
def metrics_report_interval_ms():
|
||||
return RayConfig.instance().metrics_report_interval_ms()
|
||||
|
||||
@staticmethod
|
||||
def enable_timeline():
|
||||
return RayConfig.instance().enable_timeline()
|
||||
|
||||
Reference in New Issue
Block a user