Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
c843478e
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c843478e
编写于
9月 05, 2011
作者:
O
Osier Yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
latency: Define new public API and structure
上级
d38897a5
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
85 addition
and
0 deletion
+85
-0
include/libvirt/libvirt.h.in
include/libvirt/libvirt.h.in
+84
-0
src/libvirt_public.syms
src/libvirt_public.syms
+1
-0
未找到文件。
include/libvirt/libvirt.h.in
浏览文件 @
c843478e
...
@@ -581,6 +581,85 @@ struct _virDomainBlockStats {
...
@@ -581,6 +581,85 @@ struct _virDomainBlockStats {
*/
*/
typedef
virDomainBlockStatsStruct
*
virDomainBlockStatsPtr
;
typedef
virDomainBlockStatsStruct
*
virDomainBlockStatsPtr
;
/**
* VIR_DOMAIN_BLOCK_STATS_FIELD_LENGTH:
*
* Macro providing the field length of virDomainBlockStatsFlagsStruct
*/
#define VIR_DOMAIN_BLOCK_STATS_FIELD_LENGTH 80
/**
* VIR_DOMAIN_BLOCK_STATS_READ_BYTES:
*
* Macro represents the total number of read bytes of the
* block device.
*/
#define VIR_DOMAIN_BLOCK_STATS_READ_BYTES "rd_bytes"
/**
* VIR_DOMAIN_BLOCK_STATS_READ_REQ:
*
* Macro represents the total read requests of the
* block device.
*/
#define VIR_DOMAIN_BLOCK_STATS_READ_REQ "rd_operations"
/**
* VIR_DOMAIN_BLOCK_STATS_READ_TOTAL_TIMES:
*
* Macro represents the total time spend on cache reads in
* nano-seconds of the block device.
*/
#define VIR_DOMAIN_BLOCK_STATS_READ_TOTAL_TIMES "rd_total_times"
/**
* VIR_DOMAIN_BLOCK_STATS_WRITE_BYTES:
*
* Macro represents the total number of write bytes of the
* block device.
*/
#define VIR_DOMAIN_BLOCK_STATS_WRITE_BYTES "wr_bytes"
/**
* VIR_DOMAIN_BLOCK_STATS_WRITE_REQ:
*
* Macro represents the total write requests of the
* block device.
*/
#define VIR_DOMAIN_BLOCK_STATS_WRITE_REQ "wr_operations"
/**
* VIR_DOMAIN_BLOCK_STATS_WRITE_TOTAL_TIMES:
*
* Macro represents the total time spend on cache writes in
* nano-seconds of the block device.
*/
#define VIR_DOMAIN_BLOCK_STATS_WRITE_TOTAL_TIMES "wr_total_times"
/**
* VIR_DOMAIN_BLOCK_STATS_FLUSH_REQ:
*
* Macro represents the total flush requests of the
* block device.
*/
#define VIR_DOMAIN_BLOCK_STATS_FLUSH_REQ "flush_operations"
/**
* VIR_DOMAIN_BLOCK_STATS_FLUSH_TOTAL_TIMES:
*
* Macro represents the total time spend on cache flushing in
* nano-seconds of the block device.
*/
#define VIR_DOMAIN_BLOCK_STATS_FLUSH_TOTAL_TIMES "flush_total_times"
/**
* VIR_DOMAIN_BLOCK_STATS_ERRS:
*
* In Xen this returns the mysterious 'oo_req'
*/
#define VIR_DOMAIN_BLOCK_STATS_ERRS "errs"
/**
/**
* virDomainInterfaceStats:
* virDomainInterfaceStats:
*
*
...
@@ -1185,6 +1264,11 @@ int virDomainBlockStats (virDomainPtr dom,
...
@@ -1185,6 +1264,11 @@ int virDomainBlockStats (virDomainPtr dom,
const
char
*
path
,
const
char
*
path
,
virDomainBlockStatsPtr
stats
,
virDomainBlockStatsPtr
stats
,
size_t
size
);
size_t
size
);
int
virDomainBlockStatsFlags
(
virDomainPtr
dom
,
const
char
*
path
,
virTypedParameterPtr
params
,
int
*
nparams
,
unsigned
int
flags
);
int
virDomainInterfaceStats
(
virDomainPtr
dom
,
int
virDomainInterfaceStats
(
virDomainPtr
dom
,
const
char
*
path
,
const
char
*
path
,
virDomainInterfaceStatsPtr
stats
,
virDomainInterfaceStatsPtr
stats
,
...
...
src/libvirt_public.syms
浏览文件 @
c843478e
...
@@ -483,6 +483,7 @@ LIBVIRT_0.9.4 {
...
@@ -483,6 +483,7 @@ LIBVIRT_0.9.4 {
LIBVIRT_0.9.5 {
LIBVIRT_0.9.5 {
global:
global:
virDomainMigrateGetMaxSpeed;
virDomainMigrateGetMaxSpeed;
virDomainBlockStatsFlags;
} LIBVIRT_0.9.4;
} LIBVIRT_0.9.4;
# .... define new API here using predicted next version number ....
# .... define new API here using predicted next version number ....
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录