pmc.h (206089) | pmc.h (208861) |
---|---|
1/*- 2 * Copyright (c) 2003-2008, Joseph Koshy 3 * Copyright (c) 2007 The FreeBSD Foundation 4 * All rights reserved. 5 * 6 * Portions of this software were developed by A. Joseph Koshy under 7 * sponsorship from the FreeBSD Foundation and Google, Inc. 8 * --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * | 1/*- 2 * Copyright (c) 2003-2008, Joseph Koshy 3 * Copyright (c) 2007 The FreeBSD Foundation 4 * All rights reserved. 5 * 6 * Portions of this software were developed by A. Joseph Koshy under 7 * sponsorship from the FreeBSD Foundation and Google, Inc. 8 * --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * |
30 * $FreeBSD: head/sys/sys/pmc.h 206089 2010-04-02 13:23:49Z fabient $ | 30 * $FreeBSD: head/sys/sys/pmc.h 208861 2010-06-05 23:05:08Z fabient $ |
31 */ 32 33#ifndef _SYS_PMC_H_ 34#define _SYS_PMC_H_ 35 36#include <dev/hwpmc/pmc_events.h> 37 38#include <machine/pmc_mdep.h> --- 636 unchanged lines hidden (view full) --- 675 pmc_value_t pm_initial; /* counting PMC modes */ 676 } pm_sc; 677 678 uint32_t pm_stalled; /* marks stalled sampling PMCs */ 679 uint32_t pm_caps; /* PMC capabilities */ 680 enum pmc_event pm_event; /* event being measured */ 681 uint32_t pm_flags; /* additional flags PMC_F_... */ 682 struct pmc_owner *pm_owner; /* owner thread state */ | 31 */ 32 33#ifndef _SYS_PMC_H_ 34#define _SYS_PMC_H_ 35 36#include <dev/hwpmc/pmc_events.h> 37 38#include <machine/pmc_mdep.h> --- 636 unchanged lines hidden (view full) --- 675 pmc_value_t pm_initial; /* counting PMC modes */ 676 } pm_sc; 677 678 uint32_t pm_stalled; /* marks stalled sampling PMCs */ 679 uint32_t pm_caps; /* PMC capabilities */ 680 enum pmc_event pm_event; /* event being measured */ 681 uint32_t pm_flags; /* additional flags PMC_F_... */ 682 struct pmc_owner *pm_owner; /* owner thread state */ |
683 uint32_t pm_runcount; /* #cpus currently on */ | 683 int pm_runcount; /* #cpus currently on */ |
684 enum pmc_state pm_state; /* current PMC state */ 685 686 /* 687 * The PMC ID field encodes the row-index for the PMC, its 688 * mode, class and the CPU# associated with the PMC. 689 */ 690 691 pmc_id_t pm_id; /* allocated PMC id */ --- 373 unchanged lines hidden --- | 684 enum pmc_state pm_state; /* current PMC state */ 685 686 /* 687 * The PMC ID field encodes the row-index for the PMC, its 688 * mode, class and the CPU# associated with the PMC. 689 */ 690 691 pmc_id_t pm_id; /* allocated PMC id */ --- 373 unchanged lines hidden --- |