The MASM Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
MASM32 Downloads
Home
Help
Search
Login
Register
The MASM Forum
»
General
»
The Colosseum
»
x86 Machine Code Statistics
« previous
next »
Print
Pages: [
1
]
Author
Topic: x86 Machine Code Statistics (Read 8256 times)
Vortex
Member
Posts: 2742
x86 Machine Code Statistics
«
on:
May 26, 2012, 04:15:11 AM »
An interesting article by Peter Kankowski :
x86 Machine Code Statistics
Logged
jj2007
Member
Posts: 13644
Assembly is fun ;-)
Re: x86 Machine Code Statistics
«
Reply #1 on:
May 26, 2012, 07:07:41 AM »
6% call, 1% ret?? ::)
Logged
Masm32 Tips, Tricks and Traps
KeepingRealBusy
Member
Posts: 426
Re: x86 Machine Code Statistics
«
Reply #2 on:
May 26, 2012, 08:21:57 AM »
JJ,
Yes, I believe that. You have many calls to a procedure, but that procedure only has 1 ret (maybe more than 1 with conditional early exits). Note the stats are for the code itself, not a profile of the execution of the code.
Dave.
Logged
jj2007
Member
Posts: 13644
Assembly is fun ;-)
Re: x86 Machine Code Statistics
«
Reply #3 on:
May 26, 2012, 04:23:17 PM »
Dave,
I overlooked the obvious. Thanks for putting me back on track
Logged
Masm32 Tips, Tricks and Traps
dedndave
Member
Posts: 8828
Still using Abacus 2.0
Re: x86 Machine Code Statistics
«
Reply #4 on:
May 26, 2012, 10:39:20 PM »
API functions are probably used ~5:1 over local PROC's
Logged
K_F
Member
Posts: 1728
Anybody out there?
Re: x86 Machine Code Statistics
«
Reply #5 on:
May 27, 2012, 06:29:15 AM »
The way software is done now days.. there are many proc calls with just as many crashes, without rets...
Not surprising :P
Logged
'Sire, Sire!... the peasants are
Revolting
!!!'
'
Yes, they are.. aren't they....
'
Print
Pages: [
1
]
« previous
next »
The MASM Forum
»
General
»
The Colosseum
»
x86 Machine Code Statistics