News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Benchmark with minimum overhead

Started by guga, December 16, 2015, 01:56:19 AM

Previous topic - Next topic

guga

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

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

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