在当前的游戏引擎中,使用Light Probe来计算全局环境光对于动态物体的影响是一种很主流的方法。在预处理阶段生成完场景的Light Probe之后,传统的方法采用查找最近的8个相邻的Probe然后使用三线性的方式(Trilinear Interpolation)进行插值,但是这样的插值代价稍大,...
分类:
其他好文 时间:
2015-02-11 10:47:32
阅读次数:
185
近日在维护项目WEB服务时遇到一些问题,解决并记录如下:1、接口服务mamwebservice由于被频繁大量调用,易出现大量并发请求时,JNDI连接数满,导致此服务宕掉,停止服务;使用开源监控工具probe,监控此服务相关数据源实时连接数,这样可以第一时间知道服务是否正常(此probe可..
分类:
系统相关 时间:
2015-02-06 07:11:28
阅读次数:
701
sd.cstaticvoidsd_config_discard(structscsi_disk*,unsignedint);
staticvoidsd_config_write_same(structscsi_disk*);
staticintsd_revalidate_disk(structgendisk*);
staticvoidsd_unlock_native_capacity(structgendisk*disk);
staticintsd_probe(structdevice*);
staticin..
分类:
系统相关 时间:
2015-02-05 15:11:24
阅读次数:
266
eth0, eth1这些名称是怎么来的呢?
内核发现一个pci网卡设备,调用网卡驱动的probe函数。
probe函数在做完一定的初始化之后,会调用内核接口register_netdev向内核注册一个新的net_device设备。
这个设备的名字,网卡驱动程序往往只决定其中一部分。
就像下面这种方式,网卡驱动提供一个“eth%d”这样的名称,然后调用内核接口register_n...
分类:
系统相关 时间:
2015-01-23 14:45:15
阅读次数:
309
#1.获取安装包wgethttps://psi-probe.googlecode.com/files/probe-2.3.3.zip#2.解压安装包unzipprobe-2.3.3.zipmvprobe.war/webapps#3.设置tomcat用户信息vi /conf/tomcat-users....
分类:
编程语言 时间:
2015-01-22 15:15:25
阅读次数:
239
platform_driver中实际上有2套probe, remove ... 为什么会这样的?为什么电源管理的回调函数,有些使用platform_driver.suspend/resume定义,有些使用platform_driver.driver.pm.suspend/resume定义?
分类:
其他好文 时间:
2015-01-19 23:33:56
阅读次数:
432
EIT: where is it now and what lies ahead?Electrical impedance tomography (EIT) is an emerging clinical tool that uses electrical currents to probe the...
分类:
其他好文 时间:
2015-01-14 14:06:06
阅读次数:
158
1 tcpprobe模块的加载与卸载1) 用modprobe加载tcpprobe// 如果是通过修改.config来编译tcpprobe的,可以使用modprobe加载 # modprobe tcp_probe port=5001 // 监听所有本地端口是5001的TCP流,仅在cwnd变化时捕捉信...
分类:
其他好文 时间:
2014-12-25 12:49:24
阅读次数:
176
.Block块层入口函数为 genhd_device_init(),先对该函数开始分析: 函数实现源码: static int __init genhd_device_init(void) { bdev_map = kobj_map_init(base_probe, &block_subsys_lo...
分类:
系统相关 时间:
2014-12-17 23:51:46
阅读次数:
324
基于Linux的I2C驱动,采用probe方式。按照如下这个框架可以写出任何支持I2C总线的器件的Linux驱动。
I2C器件连接至cpu的特定的i2c的接口,也就是挂载在cpu的i2c适配器上,i2c器件要和cpu进行信息交换必须要通过cpu操作适配器来交互。cpu上有1个或多个适配器,每个适配器上可以挂载256个设备地址不一样的i2c器件,通过i2c驱动就可以让cpu和适配器上的多个不一样的...
分类:
其他好文 时间:
2014-12-17 22:40:18
阅读次数:
915