mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Add line counts to data model
This commit is contained in:
@@ -23,6 +23,7 @@ struct CallTreeStat {
|
||||
1: required i32 count,
|
||||
2: required string name,
|
||||
3: required list<CallTreeStat> children,
|
||||
4: required map<i32, i32> line_count, // number of times a line inside the frame was executed
|
||||
}
|
||||
|
||||
struct TreeStats {
|
||||
|
||||
@@ -88,6 +88,7 @@ def tree_stats_to_response(filename, response):
|
||||
tstats.name = node.name
|
||||
tstats.count = node.count
|
||||
tstats.children = []
|
||||
tstats.line_count = {}
|
||||
|
||||
if parent is not None:
|
||||
if parent.children is None:
|
||||
|
||||
Reference in New Issue
Block a user