c++ - Qt Get the amount of up time for current application -


is there way in qt time of application time system?

thanks in advance.

you can use qelapsedtimer class qt 4.7 uptime app. class use monotonic clocks if can.

just create instance, , call start on @ start of program. on, can number of milliseconds program has been running (or more precisely, since call start) calling

myelapsedtimer.elapsed() 

Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -