1*4798Stomee /* 2*4798Stomee * CDDL HEADER START 3*4798Stomee * 4*4798Stomee * The contents of this file are subject to the terms of the 5*4798Stomee * Common Development and Distribution License (the "License"). 6*4798Stomee * You may not use this file except in compliance with the License. 7*4798Stomee * 8*4798Stomee * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*4798Stomee * or http://www.opensolaris.org/os/licensing. 10*4798Stomee * See the License for the specific language governing permissions 11*4798Stomee * and limitations under the License. 12*4798Stomee * 13*4798Stomee * When distributing Covered Code, include this CDDL HEADER in each 14*4798Stomee * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*4798Stomee * If applicable, add the following below this CDDL HEADER, with the 16*4798Stomee * fields enclosed by brackets "[]" replaced with your own identifying 17*4798Stomee * information: Portions Copyright [yyyy] [name of copyright owner] 18*4798Stomee * 19*4798Stomee * CDDL HEADER END 20*4798Stomee */ 21*4798Stomee /* 22*4798Stomee * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23*4798Stomee * Use is subject to license terms. 24*4798Stomee */ 25*4798Stomee 26*4798Stomee #ifndef _DIST_H 27*4798Stomee #define _DIST_H 28*4798Stomee 29*4798Stomee #pragma ident "%Z%%M% %I% %E% SMI" 30*4798Stomee 31*4798Stomee #ifdef __cplusplus 32*4798Stomee extern "C" { 33*4798Stomee #endif 34*4798Stomee 35*4798Stomee extern const int *dist_linear(int, int, int); 36*4798Stomee extern const int *dist_geometric(int, int, int, int); 37*4798Stomee extern void dist_print_header(const char *, int, const char *); 38*4798Stomee extern void dist_print_bucket(const int *, int, const uint_t *, uint64_t, int); 39*4798Stomee 40*4798Stomee #ifdef __cplusplus 41*4798Stomee } 42*4798Stomee #endif 43*4798Stomee 44*4798Stomee #endif /* _DIST_H */ 45