#1 2015-05-04 17:25

pstein
Member
Registered: 2006-10-28
Posts: 43

Measure process load and runtime

Occasionally I want to stop the time a certain program runs WITH (heavy) load (NOT idle running).

Imagine I want to measure how much time a video encoding program runs for encoding a certain *.avi or *.mp4 video.

Therefore I want to perform the following steps:

1.) Start Shutter with start events

"processload for myencode.exe"

and action

"measuretime"

2.) Start myencoder.exe and import video foobar.avi, then set all encoding settings (keep in mide the process load
as shown in taskManager is still almost 0%

3.) Start encoding --> myencoder.exe load is something over 50%
startevent in Shutter should be triggered

4.) I go to bed/go to coffee shop/go to office

5.) encoding ends after some hours --> myencoder.exe load goes down to 0%,...,1%
stopevent in Shutter is tríggered

6.) Action in Shutter should calculate the runtime between startevent and stopevent

Could you implement these events/actions?

Thank you
Peter

Offline

#2 2015-05-06 13:59

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Measure process load and runtime

It seems a bit outside of the intended purpose for Shutter.

Maybe you could try some dedicated process performance tracking applications, like native Performance Monitor (perfmon.exe).

Example: Using PerfMon to Track Process Performance

Offline

Board footer

Powered by FluxBB