turbostat.c (2ee19bdea1bbc04a06606b5c9681a07d005ecbaf) turbostat.c (cc4816503f835c7cea184776fe8ae5bb3f505083)
1/*
2 * turbostat -- show CPU frequency and C-state residency
3 * on modern Intel turbo-capable processors.
4 *
5 * Copyright (c) 2013 Intel Corporation.
6 * Len Brown <len.brown@intel.com>
7 *
8 * This program is free software; you can redistribute it and/or modify it

--- 510 unchanged lines hidden (view full) ---

519{
520 fprintf(outf,
521 "Usage: turbostat [OPTIONS][(--interval seconds) | COMMAND ...]\n"
522 "\n"
523 "Turbostat forks the specified COMMAND and prints statistics\n"
524 "when COMMAND completes.\n"
525 "If no COMMAND is specified, turbostat wakes every 5-seconds\n"
526 "to print statistics, until interrupted.\n"
1/*
2 * turbostat -- show CPU frequency and C-state residency
3 * on modern Intel turbo-capable processors.
4 *
5 * Copyright (c) 2013 Intel Corporation.
6 * Len Brown <len.brown@intel.com>
7 *
8 * This program is free software; you can redistribute it and/or modify it

--- 510 unchanged lines hidden (view full) ---

519{
520 fprintf(outf,
521 "Usage: turbostat [OPTIONS][(--interval seconds) | COMMAND ...]\n"
522 "\n"
523 "Turbostat forks the specified COMMAND and prints statistics\n"
524 "when COMMAND completes.\n"
525 "If no COMMAND is specified, turbostat wakes every 5-seconds\n"
526 "to print statistics, until interrupted.\n"
527 "--add add a counter\n"
528 " eg. --add msr0x10,u64,cpu,delta,MY_TSC\n"
529 "--cpu cpu-set limit output to summary plus cpu-set:\n"
530 " {core | package | j,k,l..m,n-p }\n"
531 "--interval sec.subsec Override default 5-second measurement interval\n"
532 "--list list column headers only\n"
533 "--num_iterations num number of the measurement iterations\n"
534 "--out file create or truncate \"file\" for all output\n"
535 "--quiet skip decoding system configuration header\n"
536 "--help print this help message\n"
537 "--version print version information\n"
527 " -a, --add add a counter\n"
528 " eg. --add msr0x10,u64,cpu,delta,MY_TSC\n"
529 " -c, --cpu cpu-set limit output to summary plus cpu-set:\n"
530 " {core | package | j,k,l..m,n-p }\n"
531 " -i, --interval sec.subsec\n"
532 " Override default 5-second measurement interval\n"
533 " -l, --list list column headers only\n"
534 " -n, --num_iterations num\n"
535 " number of the measurement iterations\n"
536 " -o, --out file\n"
537 " create or truncate \"file\" for all output\n"
538 " -q, --quiet skip decoding system configuration header\n"
539 " -h, --help print this help message\n"
540 " -v, --version print version information\n"
538 "\n"
539 "For more help, run \"man turbostat\"\n");
540}
541
542/*
543 * bic_lookup
544 * for all the strings in comma separate name_list,
545 * set the approprate bit in return value.

--- 5028 unchanged lines hidden ---
541 "\n"
542 "For more help, run \"man turbostat\"\n");
543}
544
545/*
546 * bic_lookup
547 * for all the strings in comma separate name_list,
548 * set the approprate bit in return value.

--- 5028 unchanged lines hidden ---