1*6cb1ca52Saf /* 2*6cb1ca52Saf * CDDL HEADER START 3*6cb1ca52Saf * 4*6cb1ca52Saf * The contents of this file are subject to the terms of the 5*6cb1ca52Saf * Common Development and Distribution License (the "License"). 6*6cb1ca52Saf * You may not use this file except in compliance with the License. 7*6cb1ca52Saf * 8*6cb1ca52Saf * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*6cb1ca52Saf * or http://www.opensolaris.org/os/licensing. 10*6cb1ca52Saf * See the License for the specific language governing permissions 11*6cb1ca52Saf * and limitations under the License. 12*6cb1ca52Saf * 13*6cb1ca52Saf * When distributing Covered Code, include this CDDL HEADER in each 14*6cb1ca52Saf * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*6cb1ca52Saf * If applicable, add the following below this CDDL HEADER, with the 16*6cb1ca52Saf * fields enclosed by brackets "[]" replaced with your own identifying 17*6cb1ca52Saf * information: Portions Copyright [yyyy] [name of copyright owner] 18*6cb1ca52Saf * 19*6cb1ca52Saf * CDDL HEADER END 20*6cb1ca52Saf */ 21*6cb1ca52Saf /* 22*6cb1ca52Saf * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23*6cb1ca52Saf * Use is subject to license terms. 24*6cb1ca52Saf */ 25*6cb1ca52Saf 26*6cb1ca52Saf #ifndef _EFT_STATS_IMPL_H 27*6cb1ca52Saf #define _EFT_STATS_IMPL_H 28*6cb1ca52Saf 29*6cb1ca52Saf #ifdef __cplusplus 30*6cb1ca52Saf extern "C" { 31*6cb1ca52Saf #endif 32*6cb1ca52Saf 33*6cb1ca52Saf #include "fme.h" 34*6cb1ca52Saf 35*6cb1ca52Saf struct stats { 36*6cb1ca52Saf fmd_stat_t fmd_stats; 37*6cb1ca52Saf enum stats_type { 38*6cb1ca52Saf STATS_COUNTER = 3000, 39*6cb1ca52Saf STATS_ELAPSE, 40*6cb1ca52Saf STATS_STRING 41*6cb1ca52Saf } t; 42*6cb1ca52Saf 43*6cb1ca52Saf /* used for STATS_ELAPSE */ 44*6cb1ca52Saf hrtime_t start; 45*6cb1ca52Saf hrtime_t stop; 46*6cb1ca52Saf }; 47*6cb1ca52Saf 48*6cb1ca52Saf #ifdef __cplusplus 49*6cb1ca52Saf } 50*6cb1ca52Saf #endif 51*6cb1ca52Saf 52*6cb1ca52Saf #endif /* _EFT_STATS_IMPL_H */ 53