turbostat.c (95149369c1c28b10f7318dfde54018ab107277d0) turbostat.c (5f9bf02a58f0f62d111994805212d0a775499862)
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

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

4573 return status;
4574
4575 flush_output_stdout();
4576
4577 return status;
4578}
4579
4580void print_version() {
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

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

4573 return status;
4574
4575 flush_output_stdout();
4576
4577 return status;
4578}
4579
4580void print_version() {
4581 fprintf(outf, "turbostat version 17.02.24"
4581 fprintf(outf, "turbostat version 17.04.12"
4582 " - Len Brown <lenb@kernel.org>\n");
4583}
4584
4585int add_counter(unsigned int msr_num, char *path, char *name,
4586 unsigned int width, enum counter_scope scope,
4587 enum counter_type type, enum counter_format format, int flags)
4588{
4589 struct msr_counter *msrp;

--- 475 unchanged lines hidden ---
4582 " - Len Brown <lenb@kernel.org>\n");
4583}
4584
4585int add_counter(unsigned int msr_num, char *path, char *name,
4586 unsigned int width, enum counter_scope scope,
4587 enum counter_type type, enum counter_format format, int flags)
4588{
4589 struct msr_counter *msrp;

--- 475 unchanged lines hidden ---