1# Copyright 2019 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5"""Command line tools.
6
7This module contains implementations for several performance related command
8line tools.
9
10Each submodule is a largely independent tool, which should expose a Main()
11function to be called by a thin executable script made available in the parent
12directory.
13
14For example, the code of `tools/perf/my_fancy_tool` should mostly be:
15
16    #!/usr/bin/env vpython
17    import sys
18    from command_line_tools import my_fancy_tool
19
20    if __name__ == '__main__':
21      sys.exit(my_fancy_tool.Main())
22
23Reusable code that could be shared by many of these tools should be placed
24under `tools/perf/core`.
25"""
26