in reply to Re: My Program Stats
in thread My Program Stats

From what you said i can do:

  1. Launch MyWrapper (my_wrapper.pl)
  2. In MyWrapper: launch MyProgram (my_program.pl) using for instance Proc::Background.
  3. In MyWrapper: collect stats from Win32PerfCounters during or at the end of the execution of MyProgram

This seems to me a valid solution for Win32.

Replies are listed 'Best First'.
Re^3: My Program Stats
by BrowserUk (Patriarch) on Jun 16, 2011 at 17:53 UTC

    You might find Corion's DBD::WMI a suitable way of accessing the required information.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.