未验证 提交 6104df8f 编写于 作者: 静夜思朝颜's avatar 静夜思朝颜 提交者: GitHub

change ProfileStackElement to single level (#32)

上级 f4e314de
......@@ -84,8 +84,11 @@ type ProfileTask {
logs: [ProfileTaskLog!]!
}
# Profile thread stack anayze tree
# Profile thread stack anayze tree element
type ProfileStackElement {
# work for tree building, id matches multiple parentId
id: ID!
parentId: ID!
# stack code signature
codeSignature: String!
# Include the execution time of children(millisecond)
......@@ -94,14 +97,20 @@ type ProfileStackElement {
durationChildExcluded: Int!
# continuous dump count
count: Int!
# children of this stack code sign
children: [ProfileStackElement!]
}
# Profile thread stack anayze tree
type ProfileStackTree {
elements: [ProfileStackElement!]!
}
# Profile analyze result
type ProfileAnalyzation {
# thread stack dump analyze tree
stack: [ProfileStackElement!]!
# if not empty means backend has information gave to the user
# such as: a large number of snapshots, only analyze part of the data
tip: String
# thread stack dump analyze trees
trees: [ProfileStackTree!]!
}
extend type Mutation {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册