AminetAminet
Search:
84479 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/c/measureconwos.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Example for measuring WOS context-switch
Author:racs at fs2.bdtf.hu (Almos Rajnai)
Uploader:racs fs2 bdtf hu (Almos Rajnai)
Type:dev/c
Requires:VBCC, WarpOS, PowerPC card
Architecture:ppc-warpup
Date:1999-11-22
Download:http://aminet.net/dev/c/measureconwos.lha - View contents
Readme:http://aminet.net/dev/c/measureconwos.readme
Downloads:671

---------------------------------------------------------------------

 This is an example for measuring the ellapsed time at the context-switch of
WarpOS. Both sources and executable included in this archive.
 Please do not take too serious this code, may contains lot of bugs, I can
create mistakes even in a simple printf...

 Using:
 ------
 Simply start measurecontextwos executable, then enter the number of the
context-switch cycles. The measuring may take a long time (several minutes),
but I see no reason of trying more than 10000 cycles. (It took about 7.5 sec
on my BPPC603e-175/040-25.) After starting the process can not be stopped
until it finished. (Because of more precise calculations.)

 Rebuild:
 --------
 You will need VBCC package for PowerPC, if you want to rebuild the project.
Makefile is included for AmigaE's build, it should work with other make-tools
too.

 Disclaimer:
 -----------
 This example is provided "as-is", no warranties are made.
All use is at your own risk. No liability or responsibility is assumed.

 The source and executable code of these examples may only be distributed in
free electronic form, via bulletin board or as part of a fully non-commercial
and freely redistributable diskette. Both the source and executable code
(including comments) must be included, without modification, in any copy.

 Author:
 -------
Álmos Rajnai
(Rachy of BiøHazard)
racs at fs2.bdtf.hu

Comments are welcome!


Contents of dev/c/measureconwos.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 6552   11836  55.4% -lh5- 164f Nov 21  1999 measureconwos/measurecontextwos
[generic]                  859    1632  52.6% -lh5- 252d Nov 21  1999 measureconwos/measureconwos.readme
[generic]                  302     613  49.3% -lh5- 8688 Nov 21  1999 measureconwos/src/.build
[generic]                 1119    2613  42.8% -lh5- 1885 Nov 21  1999 measureconwos/src/measurecontextwos.c
[generic]                  347     508  68.3% -lh5- fb16 Nov 21  1999 measureconwos/src/measurecontextwos68k.asm
[generic]                  230     328  70.1% -lh5- f71b Nov 21  1999 measureconwos/src/measurecontextwosppc.pasm
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         6 files    9409   17530  53.7%            Nov 22  1999

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>