Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1151055
  • 博文数量: 222
  • 博客积分: 5262
  • 博客等级: 大校
  • 技术积分: 3028
  • 用 户 组: 普通用户
  • 注册时间: 2009-11-22 19:10
文章分类

全部博文(222)

文章存档

2012年(2)

2011年(192)

2010年(28)

分类: LINUX

2011-03-04 15:56:10

   下面是ubuntu端的vncviewer打印出来的信息,通过打印信息我们大概熟悉vncviewer的数据处理流程。
 
 
CConn:over framebuffer update end-----1299144844 915  //结束帧缓存更新,历时328ms
CConn:start request new update-----1299144844 915   //开始发送更新请求
CConn:check encodeings-----34 4 915------pid==4412 
CConn:over request new update-----1299144844 915   //结束发送更新请求
vncviewer:start check-----1299144844 915    //开始处理下一个协议信息(从socket收到的数据)
FdInstream:start over run-----1299144844 915    //没有读到数据
FdInstream:start read with timeout or callback-----34 4 915 //等待数据到来再读取
CConn:start block Call back-----1299144844 915   //开始等待
CConn:end block Call back-----1299144844 991    //结束等待,耗时76ms
FdInstream:over read with timeout or callback-----34 4 991 //读取结束
FdInstream:end over run-----1299144844 991    //结束没有读到数据
vncviewer:start processMsg-----1299144844 991    //开始处理数据
CConnection:start process msg-----1299144844 991   //开始处理数据
CConnection:start rfb state normal-----1299144844 991  //是常规数据
CMsgReaderV3:start read msg-----1299144844 991   //开始读取数据(已经存放在buffer里面)
CMsgReaderV3:start msg type framebuffer update-----1299144844 991 //判断数据类型是帧缓存更新
CMsgReaderV3:start read framebuffer update-----1299144844 991 //开始读取帧缓存更新数据
CMsgReaderV3:杩欐槸绗?44甯?----1299144844 991    //我们开始计算帧的数量
vncviewer:start check-----1299144844 991    //开始读取下一个协议数据头
FdInstream:start over run-----1299144844 991    //没有读取到数据
FdInstream:start read with timeout or callback-----34 4 991 //开始等待读取
CConn:start block Call back-----1299144844 991   //开始等待
CConn:end block Call back-----1299144845 18    //结束等待,耗时27ms
FdInstream:over read with timeout or callback-----34 4 18 //结束读取
FdInstream:end over run-----1299144845 18    //结束没有读取到数据
vncviewer:start processMsg-----1299144845 18    //开始处理数据
CConnection:start process msg-----1299144845 18   //开始处理数据
CConnection:start rfb state normal-----1299144845 18  //判断是正常的rfb协议数据
CMsgReaderV3:start read msg-----1299144845 18   //开始读取消息
CConn:begin rect------------34 5 18    //开始处理矩形数据
HextileDecoder:start read Rect-----1299144845 18   //开始读取矩形
FdInstream:start over run-----1299144845 19    //没有读取到数据
FdInstream:start read with timeout or callback-----34 5 19 //等待读取
CConn:start block Call back-----1299144845 19   //开始等待
CConn:end block Call back-----1299144845 35    //结束等待,耗时16ms
FdInstream:newtimewaited==168 newkbits==327    //读取到327bits的数据
FdInstream:over read with timeout or callback-----34 5 36 //结束等待读取
FdInstream:end over run-----1299144845 36    //结束没有读取到数据
CConn:end Rect-----34 5 36------pid==4412   //结束矩形处理
vncviewer:start check-----1299144845 36    //开始处理下一个协议数据
vncviewer:start processMsg-----1299144845 36    //开始处理数据
CConnection:start process msg-----1299144845 36   //开始处理数据
CConnection:start rfb state normal-----1299144845 36  //判断是rfb协议常规数据
CMsgReaderV3:start read msg-----1299144845 36   //开始读取消息
CConn:begin rect------------34 5 36    //开始处理矩形
HextileDecoder:start read Rect-----1299144845 38   //开始读取矩形数据,耗时2ms
CConn:end Rect-----34 5 39------pid==4412   //结束处理矩形
vncviewer:start check-----1299144845 39    //开始读取下一个协议数据头
vncviewer:start processMsg-----1299144845 39    //开始处理消息
CConnection:start process msg-----1299144845 39   //开始处理消息
CConnection:start rfb state normal-----1299144845 39  //判断是rfb常规数据
CMsgReaderV3:start read msg-----1299144845 39   //开始读取消息
CConn:begin rect------------34 5 39    //开始处理矩形
HextileDecoder:start read Rect-----1299144845 39   //开始读取矩形
FdInstream:start over run-----1299144845 40    //没有读取到数据
FdInstream:start read with timeout or callback-----34 5 40 //等待一段时间读取
FdInstream:newtimewaited==1 newkbits==655     //读到了655bits数据
FdInstream:over read with timeout or callback-----34 5 40 //结束等待读取
FdInstream:end over run-----1299144845 40    //结束没有读取到数据
FdInstream:start over run-----1299144845 44    //没有读取到数据,耗时4ms
FdInstream:start read with timeout or callback-----34 5 44 //等待一段时间读取
FdInstream:newtimewaited==1 newkbits==655     //读到了655bits数据
FdInstream:over read with timeout or callback-----34 5 44 //结束等待读取
FdInstream:end over run-----1299144845 44    //结束没有读到数据
FdInstream:start over run-----1299144845 46    //又没有数据了,耗时2ms
FdInstream:start read with timeout or callback-----34 5 46 //开始等待读取数据
FdInstream:newtimewaited==1 newkbits==655     //读到了655bits数据
FdInstream:over read with timeout or callback-----34 5 47 //结束等待读取数据
FdInstream:end over run-----1299144845 47    //结束没有读取到数据
FdInstream:start over run-----1299144845 47    //又没有数据了,悲哀
FdInstream:start read with timeout or callback-----34 5 47
FdInstream:newtimewaited==0 newkbits==655
FdInstream:over read with timeout or callback-----34 5 48
FdInstream:end over run-----1299144845 48
FdInstream:start over run-----1299144845 48
FdInstream:start read with timeout or callback-----34 5 48
FdInstream:newtimewaited==0 newkbits==655
FdInstream:over read with timeout or callback-----34 5 48
FdInstream:end over run-----1299144845 48
FdInstream:start over run-----1299144845 50
FdInstream:start read with timeout or callback-----34 5 51
FdInstream:newtimewaited==1 newkbits==655
FdInstream:over read with timeout or callback-----34 5 51
FdInstream:end over run-----1299144845 51
FdInstream:start over run-----1299144845 51
FdInstream:start read with timeout or callback-----34 5 51
FdInstream:newtimewaited==0 newkbits==163
FdInstream:over read with timeout or callback-----34 5 51
FdInstream:end over run-----1299144845 52
FdInstream:start over run-----1299144845 52
FdInstream:start read with timeout or callback-----34 5 52
CConn:start block Call back-----1299144845 52   //开始阻塞读取
CConn:end block Call back-----1299144845 63    //借宿阻塞,耗时11ms
FdInstream:newtimewaited==117 newkbits==163
FdInstream:over read with timeout or callback-----34 5 64
FdInstream:end over run-----1299144845 64
FdInstream:start over run-----1299144845 64
FdInstream:start read with timeout or callback-----34 5 64
FdInstream:newtimewaited==1 newkbits==584
FdInstream:over read with timeout or callback-----34 5 64
FdInstream:end over run-----1299144845 64
FdInstream:start over run-----1299144845 65
FdInstream:start read with timeout or callback-----34 5 65
FdInstream:newtimewaited==1 newkbits==585
FdInstream:over read with timeout or callback-----34 5 65
FdInstream:end over run-----1299144845 65
FdInstream:start over run-----1299144845 66
FdInstream:start read with timeout or callback-----34 5 66
FdInstream:newtimewaited==0 newkbits==304
FdInstream:over read with timeout or callback-----34 5 66
FdInstream:end over run-----1299144845 66
FdInstream:start over run-----1299144845 66
FdInstream:start read with timeout or callback-----34 5 66
CConn:start block Call back-----1299144845 66
CConn:end block Call back-----1299144845 68
FdInstream:newtimewaited==14 newkbits==163
FdInstream:over read with timeout or callback-----34 5 68
FdInstream:end over run-----1299144845 68
CConn:end Rect-----34 5 68------pid==4412
vncviewer:start check-----1299144845 68
vncviewer:start processMsg-----1299144845 68
CConnection:start process msg-----1299144845 68
CConnection:start rfb state normal-----1299144845 68
CMsgReaderV3:start read msg-----1299144845 68
CConn:begin rect------------34 5 68
HextileDecoder:start read Rect-----1299144845 68
CConn:end Rect-----34 5 68------pid==4412
vncviewer:start check-----1299144845 68
vncviewer:start processMsg-----1299144845 68
CConnection:start process msg-----1299144845 68
CConnection:start rfb state normal-----1299144845 68
CMsgReaderV3:start read msg-----1299144845 68
CConn:begin rect------------34 5 68
HextileDecoder:start read Rect-----1299144845 68
FdInstream:start over run-----1299144845 68
FdInstream:start read with timeout or callback-----34 5 68
CConn:start block Call back-----1299144845 68
CConn:end block Call back-----1299144845 69
FdInstream:newtimewaited==7 newkbits==81
FdInstream:over read with timeout or callback-----34 5 69
FdInstream:end over run-----1299144845 69
CConn:end Rect-----34 5 69------pid==4412   //结束处理矩形
vncviewer:start check-----1299144845 69    //读取下一个协议数据头
vncviewer:start processMsg-----1299144845 69    //开始处理消息
CConnection:start process msg-----1299144845 69   //开始处理消息
CConnection:start rfb state normal-----1299144845 69  //判断是rfb常规数据
CMsgReaderV3:start read msg-----1299144845 69
CConn:begin rect------------34 5 69
HextileDecoder:start read Rect-----1299144845 69
CConn:end Rect-----34 5 69------pid==4412
CConn:start framebuffer update end-----34 5 69------pid==4412 
CConn:over framebuffer update end-----1299144845 70  //帧缓冲更新结束,历时155ms
CConn:start request new update-----1299144845 70   //请求下一个帧缓存更新
CConn:check encodeings-----34 5 70------pid==4412  //选择编码方式
阅读(1489) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~