curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Why does libcurl call “gettimeofday” during curl_easy_perform?

From: 柯图 <curl-library_at_cool.haxx.se>
Date: Wed, 17 Jun 2020 09:49:10 +0800

Hello,
I'm using libcurl to pull a big file. While doing the vtune profiling, I found that libcurl called gettimeofday() inside "curl_easy_perform" and it cost notable time. Is this necessary? Can I set some option to avoid this function call?

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html

  • application/octet-stream attachment: 6A.png
Received on 2020-06-17