turbostat.c (d15cf7c129fa4ec4b44c52521e49ffafb9749029) turbostat.c (650a37f32d2bc16fa802075be579802bc4ec4132)
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

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

928int is_snb(unsigned int family, unsigned int model)
929{
930 if (!genuine_intel)
931 return 0;
932
933 switch (model) {
934 case 0x2A:
935 case 0x2D:
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

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

928int is_snb(unsigned int family, unsigned int model)
929{
930 if (!genuine_intel)
931 return 0;
932
933 switch (model) {
934 case 0x2A:
935 case 0x2D:
936 case 0x3A: /* IVB */
937 case 0x3D: /* IVB Xeon */
936 return 1;
937 }
938 return 0;
939}
940
941double discover_bclk(unsigned int family, unsigned int model)
942{
943 if (is_snb(family, model))

--- 216 unchanged lines hidden ---
938 return 1;
939 }
940 return 0;
941}
942
943double discover_bclk(unsigned int family, unsigned int model)
944{
945 if (is_snb(family, model))

--- 216 unchanged lines hidden ---