函数x265_mdate();
比如
starttime_1 = x265_mdate();
。。。
starttime_2 = x265_mdate();
time=starttime_2-starttime_1;
输出时间:
sumtimemv += x265_mdate() - starttimemv;
if(m_poc==299)
{
printf("x265 %d frames: %.2f sum_1, %.2f sum_2,%.2f sum_3,%.2f sum_4, %.2f sum5 \n",\
m_poc,(double)sumtimemv_1/(double)sumtimemv,(double)sumtimemv_2/(double)sumtimemv,(double)sumtimemv_3/(double)sumtimemv,\
(double)sumtimemv_4/(double)sumtimemv,(double)sumtimemv_5/(double)sumtimemv);
}