diff options
author | Ewan Mellor <ewan@xensource.com> | 2007-04-11 21:55:05 +0100 |
---|---|---|
committer | Ewan Mellor <ewan@xensource.com> | 2007-04-11 21:55:05 +0100 |
commit | 3e1494d7748aa644ad3fd4e9098fe22339dc1ebe (patch) | |
tree | 83d65eea71934f013b557c6b43a297c2044bcccf /tools/libxen/include | |
parent | f6fe1a09917542899f949f03ee91e2b7e34c384f (diff) | |
download | xen-3e1494d7748aa644ad3fd4e9098fe22339dc1ebe.tar.gz xen-3e1494d7748aa644ad3fd4e9098fe22339dc1ebe.tar.bz2 xen-3e1494d7748aa644ad3fd4e9098fe22339dc1ebe.zip |
Added documentation and bindings for host_cpu.features.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxen/include')
-rw-r--r-- | tools/libxen/include/xen_host_cpu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/libxen/include/xen_host_cpu.h b/tools/libxen/include/xen_host_cpu.h index 8b6d37f5e3..b484793782 100644 --- a/tools/libxen/include/xen_host_cpu.h +++ b/tools/libxen/include/xen_host_cpu.h @@ -70,6 +70,7 @@ typedef struct xen_host_cpu_record char *modelname; char *stepping; char *flags; + char *features; double utilisation; } xen_host_cpu_record; @@ -223,6 +224,13 @@ xen_host_cpu_get_flags(xen_session *session, char **result, xen_host_cpu host_cp /** + * Get the features field of the given host_cpu. + */ +extern bool +xen_host_cpu_get_features(xen_session *session, char **result, xen_host_cpu host_cpu); + + +/** * Get the utilisation field of the given host_cpu. */ extern bool |