Subversion Repositories Kolibri OS

Rev

Rev 4837 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4837 Rev 4840
Line 227... Line 227...
227
	jmp	.loop
227
	jmp	.loop
228
;--------------------------------------
228
;--------------------------------------
229
.end:	
229
.end:	
230
	mov	eax,[ebp+8]
230
	mov	eax,[ebp+8]
231
	xor	edx,edx
231
	xor	edx,edx
232
	imul	eax,ecx
232
	mul	ecx
233
	shr	eax,10+4 ;div 1024 ; div 16
233
	shr	eax,10+4 ;div 1024 ; div 16
234
	shl	edx,18
234
	shl	edx,18
235
	add	eax,edx
235
	add	eax,edx
236
	mov	[ebp+4],eax ; speed KB/s	
236
	mov	[ebp+4],eax ; speed KB/s	
237
        DEBUGF 1,'FSPEED: chunk size: %s iterations: %d speed: %d KB/s\n',[ebp],ecx,eax
237
        DEBUGF 1,'FSPEED: chunk size: %s iterations: %d speed: %d KB/s\n',[ebp],ecx,eax