Author Topic: Benchmark with minimum overhead  (Read 13872 times)

guga

  • Member
  • *****
  • Posts: 1289
  • Assembly is a state of art.
    • RosAsm
Re: Benchmark with minimum overhead
« Reply #45 on: December 29, 2015, 05:55:49 AM »
Btw, many tks for the tips.

Now the main function to be used by teh user is simply this:

call TimeProfiler D$SamplesToCollect, D$Iterations, D$AlgoMethod, MyPointer, Algoritm1

SamplestoCollect: Input the amunt of samples
Iterations: Input the iterations he wants to be performed
AlgoMethod: A value (equate) corresponding to the chosen algo method
MyPointer: A callback function to teh user uses the generated results as he want inside or outside a thread
Algoritm1: The user´s target callback function to be tested.

At eax If the fucntion suceed it returns a structure containing the Standard Deviation results to he uses
Or if the function fails, it returns 0 and places the error messages on the dwStatusCode (The parameter for the callback function "MyPointer") as you suggested.
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com

guga

  • Member
  • *****
  • Posts: 1289
  • Assembly is a state of art.
    • RosAsm
Re: Benchmark with minimum overhead
« Reply #46 on: December 29, 2015, 11:27:39 AM »
Started the 1st tests on the dll. So, far, the porting to a library was ok. I´ll make some minor modifications on the main app that is calling it to see if the library is running ok.
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com

guga

  • Member
  • *****
  • Posts: 1289
  • Assembly is a state of art.
    • RosAsm
Re: Benchmark with minimum overhead
« Reply #47 on: January 03, 2016, 04:00:31 AM »
Library finished.

Released a beta version including masm inc and lib files ready to be used and a complete guide for the Api usage.

http://masm32.com/board/index.php?topic=4962.msg53374#msg53374

I hope i succeeded to make the porting to masm. I tried to make it on a way that you guys can use invoke token on it.

New version enhances the accuracy and now it is no more necessary to use RosMem.dll :) I chosen to eliminate the needs of virtual allocating memory with external apis.
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com