forked from platformio/platformio-core
Implement read_report RPC
This commit is contained in:
1 parent
c4126ea5b3
commit
451a3fc87b
1 file changed
+4
@@ -36,6 +36,10 @@ class MemUsageRPC(BaseRPCHandler):
|
||||
)
|
||||
return memusage.list_reports(report_dir)[-1]
|
||||
|
||||
@staticmethod
|
||||
def read_report(path):
|
||||
return memusage.read_report(path)
|
||||
|
||||
def summary(self, report_path):
|
||||
max_top_items = 10
|
||||
report_dir = os.path.dirname(report_path)
|
||||
|
||||
Reference in new issue
Block a user