mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 18:11:38 +08:00
Split profile table among many keys in the GCS. (#3676)
* Divide profile table among many keys in GCS. * Fix, and remove --collect-profiling-data arg. * Remove reference in doc.
This commit is contained in:
committed by
Philipp Moritz
parent
93e9d2b82c
commit
b6bcd18d65
@@ -128,19 +128,6 @@ class Profiler(object):
|
||||
self.events.append(event)
|
||||
|
||||
|
||||
class NoopProfiler(object):
|
||||
"""A no-op profile used when collect_profile_data=False."""
|
||||
|
||||
def start_flush_thread(self):
|
||||
pass
|
||||
|
||||
def flush_profile_data(self):
|
||||
pass
|
||||
|
||||
def add_event(self, event):
|
||||
pass
|
||||
|
||||
|
||||
class RayLogSpanRaylet(object):
|
||||
"""An object used to enable logging a span of events with a with statement.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user