| 51 | } |
| 52 | |
| 53 | IProfilingTool * |
| 54 | ProfileToolManager::FindToolByName(const char *name) |
| 55 | { |
| 56 | for (size_t i = 0; i < tools_.size(); i++) { |
| 57 | if (strcmp(tools_[i]->Name(), name) == 0) |
| 58 | return tools_[i]; |
| 59 | } |
| 60 | return nullptr; |
| 61 | } |
| 62 | |
| 63 | static void |
| 64 | render_help(const char *fmt, ...) |