Tag Archives: Unix

time measurement for function call

Episode usage of ‘gettimeofday()’ and ‘times()‘ On Unix/Linux machine to measure the time consumption for certain function call, ‘gettimeofday’/’times’ would be 2 major ways. Better than ‘gettimeofday’, ‘times’ could provide detailed time info for user, system, child… 1. gettimeofday() #include … Continue reading

Posted in Programming | Tagged , , , , , | Leave a comment