Author Topic: Re: Timer code for running external synchronous code.  (Read 79 times)

jcfuller

  • Member
  • **
  • Posts: 191
Re: Timer code for running external synchronous code.
« on: October 17, 2020, 10:06:55 PM »
Steve,
  Handy utility but most of the apps I want to test need command line arguments.
Any chance of adding that or is it there and I missed it?
James

jcfuller

  • Member
  • **
  • Posts: 191
Re: Re: Timer code for running external synchronous code.
« Reply #1 on: October 17, 2020, 10:10:39 PM »
Never mind.
I just used a batch file.
pTimer batchfile.bat
Thanks for a very useful utility
James

jcfuller

  • Member
  • **
  • Posts: 191
Re: Re: Timer code for running external synchronous code.
« Reply #2 on: October 18, 2020, 12:00:06 AM »
I recant. Batch file does not work.
My first  request  stands.
Thanks
James

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 7618
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Re: Timer code for running external synchronous code.
« Reply #3 on: October 18, 2020, 12:41:14 AM »
James,

You are welcome to modify the code to do what you need but the current design is what I wanted for timing processed video. The library has a decent parser for command lines and it has a module to get the command tail. It currently passes the command tail directly to the thread and that is where you would have to modify it.

May be simpler to modify the batch file.

I have split these posts because the forum is not a code ordering facility. The posted code is available to anyone who wants to modify the code to suit their own requirements.
« Last Edit: October 18, 2020, 11:32:07 AM by hutch-- »
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy: