Re: [go-nuts] cgo1.7.1 arm: irregular execution time

2016-10-21 Thread tpoisonooo
在 2016年10月19日星期三 UTC+8下午9:19:01,Konstantin Khomoutov写道: > > On Tue, 18 Oct 2016 22:12:44 -0700 (PDT) > tpoisonooo > wrote: > > > My colleague gives me a `face_recognization.so`, > > `face_recognization.so` use `libcaffe.so`. > > I compiled it with cgo based on arm. > [...] > > 1. In his C++

Re: [go-nuts] cgo1.7.1 arm: irregular execution time

2016-10-19 Thread Konstantin Khomoutov
On Tue, 18 Oct 2016 22:12:44 -0700 (PDT) tpoisonooo wrote: > My colleague gives me a `face_recognization.so`, > `face_recognization.so` use `libcaffe.so`. > I compiled it with cgo based on arm. [...] > 1. In his C++ demo, `Face_Feature_Extract` function always cost 0.1 > second. > > 2. In my go

[go-nuts] cgo1.7.1 arm: irregular execution time

2016-10-19 Thread tpoisonooo
My colleague gives me a `face_recognization.so`, `face_recognization.so` use `libcaffe.so`. I compiled it with cgo based on arm. cgo code: package algo /* #include "load_so.h" #cgo CFLAGS: -std=gnu99 #cgo LDFLAGS: -ldl #cgo LDFLAGS: -L./ -L/usr/lib -L/usr/local/lib -L/us