Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4973352
  • 博文数量: 1696
  • 博客积分: 10870
  • 博客等级: 上将
  • 技术积分: 18357
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-30 15:16
文章分类
文章存档

2017年(1)

2016年(1)

2015年(1)

2013年(1)

2012年(43)

2011年(17)

2010年(828)

2009年(568)

2008年(185)

2007年(51)

分类: 嵌入式

2010-12-03 10:28:45

Certainly non trivial... 650Mhz device (from-to; expressed in ss.mmm format)

 

Connected to PC

IsNetworkAvailable(): 26.598-26.705

NetworkInterfaceType: 26.709-27.265

 

Wireless

IsNetworkAvailable(): 15.574-15.610

NetworkInterfaceType: 16.611-16.470

 

None

IsNetworkAvailable(): 2.305-2.341

NetworkInterfaceType: 2.342-3.633, 47.313-50.641, 22.608-23.964, 44.610-46.051

 

So with connection NetworkInterfaceType appeared to swing between 550ms and 900ms .

Without connection between 1.3s and 3.3s .

 

It does seem worth the trouble to hide the detail of calling IsNetworkAvailable on device and NetworkInterfaceType on emulator via an abstraction of your choosing.

阅读(1543) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~