turbostat.c (3d7772ea5602b88c7c7f0a50d512171a2eed6659) turbostat.c (3e9fa9983b9297407c2448114d6d27782d5e2ef2)
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 */

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

5707 return status;
5708
5709 flush_output_stdout();
5710
5711 return status;
5712}
5713
5714void 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 */

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

5707 return status;
5708
5709 flush_output_stdout();
5710
5711 return status;
5712}
5713
5714void print_version() {
5715 fprintf(outf, "turbostat version 20.03.20"
5715 fprintf(outf, "turbostat version 20.09.30"
5716 " - Len Brown <lenb@kernel.org>\n");
5717}
5718
5719int add_counter(unsigned int msr_num, char *path, char *name,
5720 unsigned int width, enum counter_scope scope,
5721 enum counter_type type, enum counter_format format, int flags)
5722{
5723 struct msr_counter *msrp;

--- 484 unchanged lines hidden ---
5716 " - Len Brown <lenb@kernel.org>\n");
5717}
5718
5719int add_counter(unsigned int msr_num, char *path, char *name,
5720 unsigned int width, enum counter_scope scope,
5721 enum counter_type type, enum counter_format format, int flags)
5722{
5723 struct msr_counter *msrp;

--- 484 unchanged lines hidden ---