|
|
Function Timings
The following times are given for the 307-Module running the Crossware C Development Pack.
Times quoted are the number of operations that can be done in 1 second.
| Double Precision Floating Point Procedures |
| Assignment operations |
= |
55496 per second |
| Multiply operations |
* |
3906 per second |
| Divide operations |
/ |
859 per second |
| Addition operations |
+ |
7427 per second |
| Subtract operations |
- |
6643 per second |
| Calculate the sine |
sin() |
1236 per second |
| Calculate the cosine |
cos() |
1258 per second |
| Calculate the square root |
sqrt() |
258 per second |
| Calculate a power |
pow() |
269 per second |
| Integer Procedures |
| Assignment operations |
= |
111269 per second |
| Multiply operations |
* |
4725 per second |
| Divide operations |
/ |
20420 per second |
| Divide operations |
% |
20262 per second |
| Addition operations |
+ |
90718 per second |
| Subtract operations |
- |
90776 per second |
|
Procedure Calls
|
| void procedure(void) |
81393 per second |
| void procedure(int a) |
65793 per second |
| int procedure(int a) |
59976 per second |
Although Cambridge Microprocessor Systems Ltd is committed to supplying its customers with a standard well tested product, errors and bugs can always be found in even the most widely used software packages. If you find any errors or bugs please let us know by sending an email to support@cms.uk.com. All reported errors will receive a response from one of our engineers.
|
|