/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2013 Gary Mills
*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* Portions Copyright 2009 Chad Mynhier
*/
#ifndef _PRSTAT_H
#define _PRSTAT_H
#include <sys/sysmacros.h>
#include <procfs.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* FRC2PCT macro is used to convert 16-bit binary fractions in the range
* 0.0 to 1.0 with binary point to the right of the high order bit
* (i.e. 1.0 == 0x8000) to percentage value.
*/
/*
* List of available output modes
*/
/*
* Flags to keep track of process or lwp status
*/
/*
* Possible list types
*/
/*
* Linked list of per-process or per-lwp statistics
*/
typedef struct lwp_info {
} lwp_info_t;
/*
* Linked list of collective per-uid, per-taskid, per-projid or per-lgroup
* statistics
*/
typedef struct id_info {
} id_info_t;
/*
* Per-list structure
*/
typedef struct list {
} list_t;
/*
* Command line options
*/
typedef struct optdesc {
} optdesc_t;
#ifdef __cplusplus
}
#endif
#endif /* _PRSTAT_H */