turbostat.c (0588000eac9ba4178cebade437da3b28e8fad48f) | turbostat.c (39300ffb9b6666714c60735cf854e1280e4e75f4) |
---|---|
1/* 2 * turbostat -- show CPU frequency and C-state residency 3 * on modern Intel turbo-capable processors. 4 * 5 * Copyright (c) 2012 Intel Corporation. 6 * Len Brown <len.brown@intel.com> 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 1580 unchanged lines hidden (view full) --- 1589} 1590 1591void cmdline(int argc, char **argv) 1592{ 1593 int opt; 1594 1595 progname = argv[0]; 1596 | 1/* 2 * turbostat -- show CPU frequency and C-state residency 3 * on modern Intel turbo-capable processors. 4 * 5 * Copyright (c) 2012 Intel Corporation. 6 * Len Brown <len.brown@intel.com> 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 1580 unchanged lines hidden (view full) --- 1589} 1590 1591void cmdline(int argc, char **argv) 1592{ 1593 int opt; 1594 1595 progname = argv[0]; 1596 |
1597 while ((opt = getopt(argc, argv, "+pPSvisc:sC:m:M:")) != -1) { | 1597 while ((opt = getopt(argc, argv, "+pPSvi:sc:sC:m:M:")) != -1) { |
1598 switch (opt) { 1599 case 'p': 1600 show_core_only++; 1601 break; 1602 case 'P': 1603 show_pkg_only++; 1604 break; 1605 case 'S': --- 49 unchanged lines hidden --- | 1598 switch (opt) { 1599 case 'p': 1600 show_core_only++; 1601 break; 1602 case 'P': 1603 show_pkg_only++; 1604 break; 1605 case 'S': --- 49 unchanged lines hidden --- |