mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 18:29:08 +08:00
Move profile data flushing to background thread on workers. (#2415)
* Move profile data flushing to background thread on workers. * Remove outdated comment.
This commit is contained in:
committed by
Philipp Moritz
parent
4c82ac72df
commit
991d0911d1
@@ -108,8 +108,6 @@ class Profiler(object):
|
||||
# This is to suppress errors that occur at shutdown.
|
||||
pass
|
||||
|
||||
# TODO(rkn): Support calling this function in the middle of a task, and
|
||||
# also call this periodically in the background from the driver.
|
||||
def flush_profile_data(self):
|
||||
"""Push the logged profiling data to the global control store.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user