| 1623 | } |
| 1624 | |
| 1625 | void RuntimeProfileBase::ToThrift(TRuntimeProfileTree* tree) const { |
| 1626 | tree->nodes.clear(); |
| 1627 | ToThriftHelper(&tree->nodes); |
| 1628 | if (FLAGS_gen_experimental_profile) tree->__set_profile_version(2); |
| 1629 | } |
| 1630 | |
| 1631 | void RuntimeProfile::ToThrift(TRuntimeProfileTree* tree) const { |
| 1632 | RuntimeProfileBase::ToThrift(tree); |