tree: f1ffe009047a8b5e9d0bdf925e3ed6d0abb7c7c4 [path history] [tgz]
  1. meta/
  2. args.cc
  3. args.h
  4. BUILD.gn
  5. main.cc
  6. README.md
  7. sched.cc
  8. sched.h
  9. sched_test.cc
garnet/bin/sched/README.md

sched

Simple tool for running a command with custom Zircon scheduler settings.

WARNING: The tool will only adjust the first thread in a new process: other threads will just use the system default settings.

Example usage:

sched -p 31 /bin/my/command --command --line --args

Full usage

sched [options] (-p <priority>) <cmd> [<args>...]

Apply scheduler parameters to the first thread of the given command.
Further spawned threads will run at the system default priority.

Options:
  -p <priority>       Run command at the given scheduler priority.
                      Valid priorities are 0 to 31, inclusive.

  -v                  Show verbose logging.
  --help              Show this help.