Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.4
Creation-Date: 2017-03-20T14:31:45+08:00
Created 星期一 20 三月 2017
81ms
01-01 09:06:55.339: E/FuncManager(8553): mpa GetImage start ret :8
01-01 09:06:55.420: E/FuncManager(8553): mpa GetImage end ret :0
356ms
01-01 09:06:55.420: E/FuncManager(8553): mpa GetOneFrameFast start ret :0
01-01 09:06:55.776: E/FuncManager(8553): mpa GetOneFrameFast end ret :8
260ms
01-01 09:15:32.238: E/FuncManager(1178): mpa GetImage start ret :0
01-01 09:15:32.518: E/FuncManager(1178): mpa GetImage end ret :0
866ms
01-01 09:15:32.518: E/FuncManager(1178): mpa GetOneFrameFast start ret :0
01-01 09:15:33.384: E/FuncManager(1178): mpa GetOneFrameFast end ret :8
用示波器量spi的周期
320ns
1/320 × 10^9 # 3125000
由于device 板级spi速度为3M,jni速度位12M,三星的spi驱动作了判断,大于3M就把spi速度设置位3M,导致jni设置的12M无效
static struct spi_board_info spi_plat_board[] __initdata # {
[0] # {
.modalias # "spidev", /* fixup /
.max_speed_hz # 3125000, / max spi clock (SCK) speed in HZ /
.bus_num # 0, / Note> set bus num, must be smaller than ARRAY_SIZE(spi_plat_device) /
.chip_select # 0, / Note> set chip select num, must be smaller than spi cs_num */
.controller_data # &spi0_info,
.mode # SPI_MODE_0,
//.mode # SPI_MODE_3 | SPI_CPOL | SPI_CPHA,
},
};
32位不带O
log要去掉不然影响速度
校准数据生成时间
858ms
01-01 08:37:24.177: E/FuncManager(2512): A083StaticCalibrate start ret :0
01-01 08:37:25.034: D/TooanA083(2512): jni A083_Static_Calibrate ret # 0
01-01 08:37:25.035: E/FuncManager(2512): A083StaticCalibrate end ret :0
780ms
01-01 08:44:55.131: E/FuncManager(2638): A083StaticCalibrate start ret :0
01-01 08:44:55.920: D/TooanA083(2638): jni A083_Static_Calibrate ret # 0
01-01 08:44:55.921: E/FuncManager(2638): A083StaticCalibrate end ret :0
853ms
01-01 08:45:52.964: E/FuncManager(2722): A083StaticCalibrate start ret :0
01-01 08:45:53.816: D/TooanA083(2722): jni A083_Static_Calibrate ret # 0
01-01 08:45:53.817: E/FuncManager(2722): A083StaticCalibrate end ret :0
录入(看返回8的时间)
1856
01-01 09:49:48.662: E/FpRegisterActivity(3408): zsw XXXXXXXXXX getOneFrame start
01-01 09:49:50.518: E/FpRegisterActivity(3408): zsw XXXXXXXXXX getOneFrame end ret#8
1857
01-01 09:49:50.619: E/FpRegisterActivity(3408): zsw XXXXXXXXXX getOneFrame start
01-01 09:49:52.476: E/FpRegisterActivity(3408): zsw XXXXXXXXXX getOneFrame end ret#8
1857
01-01 09:49:52.577: E/FpRegisterActivity(3408): zsw XXXXXXXXXX getOneFrame start
01-01 09:49:54.434: E/FpRegisterActivity(3408): zsw XXXXXXXXXX getOneFrame end ret#8
1859
01-01 09:49:54.535: E/FpRegisterActivity(3408): zsw XXXXXXXXXX getOneFrame start
01-01 09:49:56.394: E/FpRegisterActivity(3408): zsw XXXXXXXXXX getOneFrame end ret#8
1858
01-01 09:49:56.494: E/FpRegisterActivity(3408): zsw XXXXXXXXXX getOneFrame start
01-01 09:49:58.352: E/FpRegisterActivity(3408): zsw XXXXXXXXXX getOneFrame end ret#8
1778
01-01 09:49:58.452: E/FpRegisterActivity(3408): zsw XXXXXXXXXX getOneFrame start
01-01 09:50:00.230: E/FpRegisterActivity(3408): zsw XXXXXXXXXX getOneFrame end ret#8
匹配(一个指纹)
399ms
01-01 08:58:26.529: E/FpMatchTestActivity(2818): MatchAll score start # 0
01-01 08:58:26.928: E/FpMatchTestActivity(2818): MatchAll score end # 0
302ms
01-01 08:58:27.494: E/FpMatchTestActivity(2818): MatchAll score start # 0
01-01 08:58:27.796: E/FpMatchTestActivity(2818): MatchAll score end # 801
248ms
01-01 08:59:40.601: E/FpMatchTestActivity(2818): MatchAll score start # 0
01-01 08:59:40.849: E/FpMatchTestActivity(2818): MatchAll score end # 801
240ms
01-01 09:00:06.809: E/FpMatchTestActivity(2818): MatchAll score start # 0
01-01 09:00:07.051: E/FpMatchTestActivity(2818): MatchAll score end # 801
246ms
01-01 09:00:38.572: E/FpMatchTestActivity(2818): MatchAll score start # 0
01-01 09:00:38.818: E/FpMatchTestActivity(2818): MatchAll score end # 801
32位带O
校准数据生成时间
799ms
01-01 09:40:33.318: E/FuncManager(3167): A083StaticCalibrate start ret :0
01-01 09:40:34.117: D/TooanA083(3167): jni A083_Static_Calibrate ret # 0
01-01 09:40:34.117: E/FuncManager(3167): A083StaticCalibrate end ret :0
743ms
01-01 09:41:46.591: E/FuncManager(3249): A083StaticCalibrate start ret :0
01-01 09:41:47.334: D/TooanA083(3249): jni A083_Static_Calibrate ret # 0
01-01 09:41:47.334: E/FuncManager(3249): A083StaticCalibrate end ret :0
856ms
01-01 09:42:46.591: E/FuncManager(3327): A083StaticCalibrate start ret :0
01-01 09:42:47.446: D/TooanA083(3327): jni A083_Static_Calibrate ret # 0
01-01 09:42:47.447: E/FuncManager(3327): A083StaticCalibrate end ret :0
录入(采集20帧数据)
1855ms
01-01 09:11:03.514: E/FpRegisterActivity(2923): zsw XXXXXXXXXX getOneFrame start
01-01 09:11:05.369: E/FpRegisterActivity(2923): zsw XXXXXXXXXX getOneFrame end ret#8
1846
01-01 09:11:05.470: E/FpRegisterActivity(2923): zsw XXXXXXXXXX getOneFrame start
01-01 09:11:07.316: E/FpRegisterActivity(2923): zsw XXXXXXXXXX getOneFrame end ret#8
1843
01-01 09:11:08.431: E/FpRegisterActivity(2923): zsw XXXXXXXXXX getOneFrame start
01-01 09:11:10.274: E/FpRegisterActivity(2923): zsw XXXXXXXXXX getOneFrame end ret#8
1843
01-01 09:11:10.375: E/FpRegisterActivity(2923): zsw XXXXXXXXXX getOneFrame start
01-01 09:11:12.218: E/FpRegisterActivity(2923): zsw XXXXXXXXXX getOneFrame end ret#8
1844
01-01 09:11:12.318: E/FpRegisterActivity(2923): zsw XXXXXXXXXX getOneFrame start
01-01 09:11:14.162: E/FpRegisterActivity(2923): zsw XXXXXXXXXX getOneFrame end ret#8
匹配(一个指纹)
71ms
01-01 09:04:11.863: E/FpMatchTestActivity(2923): MatchAll score start # 0
01-01 09:04:11.934: E/FpMatchTestActivity(2923): MatchAll score end # 801
67ms
01-01 09:05:01.310: E/FpMatchTestActivity(2923): MatchAll score start # 0
01-01 09:05:01.377: E/FpMatchTestActivity(2923): MatchAll score end # 801
55ms
01-01 09:05:35.170: E/FpMatchTestActivity(2923): MatchAll score start # 0
01-01 09:05:35.225: E/FpMatchTestActivity(2923): MatchAll score end # 801
65ms
01-01 09:05:59.375: E/FpMatchTestActivity(2923): MatchAll score start # 0
01-01 09:05:59.440: E/FpMatchTestActivity(2923): MatchAll score end # 801
67ms
01-01 09:08:01.314: E/FpMatchTestActivity(2923): MatchAll score start # 0
01-01 09:08:01.381: E/FpMatchTestActivity(2923): MatchAll score end # 802