| 56 | } |
| 57 | |
| 58 | Options Default() { |
| 59 | Options opts(1000, /* max_depth */ |
| 60 | 0, /* min_bytes */ |
| 61 | 0, /* min_peak_bytes */ |
| 62 | 0, /* min_residual_bytes */ |
| 63 | 0, /* min_output_bytes */ |
| 64 | 0, /* min_micros */ |
| 65 | 0, /* min_accelerator_micros */ |
| 66 | 0, /* min_cpu_micros */ |
| 67 | 0, /* min_params */ |
| 68 | 0, /* min_float_ops */ |
| 69 | 0, /* min_occurrence */ |
| 70 | 0, /* step */ |
| 71 | "name", /* order_by */ |
| 72 | {".*"}, /* account_type_regexes */ |
| 73 | {".*"}, /* start_name_regexes */ |
| 74 | {}, /* trim_name_regexes */ |
| 75 | {".*"}, {}, /* hide_name_regexes */ |
| 76 | false, /* account_displayed_op_only */ |
| 77 | {"micros"}, /* select */ |
| 78 | {"none"}, /* output_type */ |
| 79 | {}); |
| 80 | return opts; |
| 81 | } |
| 82 | |
| 83 | template <typename T> |
| 84 | const T* ExtractNode(const T& pb, const string& name) { |
no outgoing calls
no test coverage detected