print average duration for caffe2 benchmark
Summary: print average duration for caffe2 benchmark
Test Plan:
buck run //xplat/caffe2:caffe2_benchmarkAppleMac -- --init_net ~/track_init_net.pb --net ~/track_predict_net.pb --warmup 10 --input 'data' --input_dims '1,4,128,256' --input_type float --iter 20
Using additional configuration options from .buckconfig.local
Building: finished in 0.6 sec (100%) 247/2137 jobs, 0 updated
Total time: 0.6 sec
Average Duration: 18111 us
Reviewed By: larryliu0820
Differential Revision: D27745416
fbshipit-source-id: a5d20b8ef0ba4a9547d396738d5ddd1aca57684d