turbostat.c (abdc75ab53b7fd2ef42c79e88cf0caf2d007c4f2) turbostat.c (ba58ecde5eec898f647bba7cb07e6ec6ea1b875c)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * turbostat -- show CPU frequency and C-state residency
4 * on modern Intel and AMD processors.
5 *
6 * Copyright (c) 2013 Intel Corporation.
7 * Len Brown <len.brown@intel.com>
8 */

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

5829 return status;
5830
5831 flush_output_stdout();
5832
5833 return status;
5834}
5835
5836void print_version() {
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * turbostat -- show CPU frequency and C-state residency
4 * on modern Intel and AMD processors.
5 *
6 * Copyright (c) 2013 Intel Corporation.
7 * Len Brown <len.brown@intel.com>
8 */

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

5829 return status;
5830
5831 flush_output_stdout();
5832
5833 return status;
5834}
5835
5836void print_version() {
5837 fprintf(outf, "turbostat version 20.09.30"
5837 fprintf(outf, "turbostat version 21.03.12"
5838 " - Len Brown <lenb@kernel.org>\n");
5839}
5840
5841int add_counter(unsigned int msr_num, char *path, char *name,
5842 unsigned int width, enum counter_scope scope,
5843 enum counter_type type, enum counter_format format, int flags)
5844{
5845 struct msr_counter *msrp;

--- 485 unchanged lines hidden ---
5838 " - Len Brown <lenb@kernel.org>\n");
5839}
5840
5841int add_counter(unsigned int msr_num, char *path, char *name,
5842 unsigned int width, enum counter_scope scope,
5843 enum counter_type type, enum counter_format format, int flags)
5844{
5845 struct msr_counter *msrp;

--- 485 unchanged lines hidden ---