
|
84799 packages online
|
|
 |
|
dev/c/measureconpup.lha |
|
No screenshot available
|
Short: | Example for measuring PUP context-switch |
Author: | racs fs2.bdtf.hu (Almos Rajnai) |
Uploader: | racs fs2 bdtf hu (Almos Rajnai) |
Type: | dev/c |
Architecture: | ppc-powerup |
Date: | 2000-01-04 |
Requires: | ppc.library, PowerPC card, VBCC |
Download: | dev/c/measureconpup.lha - View contents | Readme: | dev/c/measureconpup.readme |
Downloads: | 735 |
|
---------------------------------------------------------------------
This is an example for measuring the ellapsed time at the context-switch of
PowerUP system. Both sources and executables 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...
There is a similar example for WarpOS on the Aminet:
dev/c/measureconwos.lha
Using:
------
Simply start measurecontextpup 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 12 sec
on my BPPC603e-175/040-25 under PowerUP, and 27.5 sec under PPCLibEmu...)
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@fs2.bdtf.hu
Comments are welcome!
|
Contents of dev/c/measureconpup.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 303 598 50.7% -lh5- 8b85 Dec 29 1999 measureconpup/.build
[generic] 929 1771 52.5% -lh5- 66aa Jan 3 2000 measureconpup/measureconpup.readme
[generic] 7643 14012 54.5% -lh5- cea4 Jan 3 2000 measureconpup/measurecontextpup
[generic] 2101 6610 31.8% -lh5- ccb2 Dec 29 1999 measureconpup/measurecontextpup.c
[generic] 4065 10216 39.8% -lh5- 3252 Jan 3 2000 measureconpup/measurecontextpup.elf
[generic] 650 1330 48.9% -lh5- 2dac Jan 3 2000 measureconpup/measurecontextpup68k.asm
[generic] 601 1134 53.0% -lh5- e2cc Jan 3 2000 measureconpup/measurecontextpupppc.c
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 7 files 16292 35671 45.7% Jan 3 2000
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |