ia64/xen-unstable

diff tools/libxen/include/xen_vbd_metrics_decl.h @ 14045:7819d9332fba

Split the VBD I/O statistics out into a VBD_metrics class. Document the
VBD.type field, and add it to the C bindings (this was already in Xend).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Tue Feb 20 21:28:19 2007 +0000 (2007-02-20)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tools/libxen/include/xen_vbd_metrics_decl.h	Tue Feb 20 21:28:19 2007 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +/*
     1.5 + * Copyright (c) 2006-2007, XenSource Inc.
     1.6 + *
     1.7 + * This library is free software; you can redistribute it and/or
     1.8 + * modify it under the terms of the GNU Lesser General Public
     1.9 + * License as published by the Free Software Foundation; either
    1.10 + * version 2.1 of the License, or (at your option) any later version.
    1.11 + *
    1.12 + * This library is distributed in the hope that it will be useful,
    1.13 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.14 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    1.15 + * Lesser General Public License for more details.
    1.16 + *
    1.17 + * You should have received a copy of the GNU Lesser General Public
    1.18 + * License along with this library; if not, write to the Free Software
    1.19 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
    1.20 + */
    1.21 +
    1.22 +#ifndef XEN_VBD_METRICS_DECL_H
    1.23 +#define XEN_VBD_METRICS_DECL_H
    1.24 +
    1.25 +typedef void *xen_vbd_metrics;
    1.26 +
    1.27 +struct xen_vbd_metrics_set;
    1.28 +struct xen_vbd_metrics_record;
    1.29 +struct xen_vbd_metrics_record_set;
    1.30 +struct xen_vbd_metrics_record_opt;
    1.31 +struct xen_vbd_metrics_record_opt_set;
    1.32 +
    1.33 +#endif