Difference between revisions of "NU32v2: Benchmark Test"
From Mech
Jump to navigationJump to searchNelson Rosa (talk | contribs) |
Nelson Rosa (talk | contribs) |
||
Line 6: | Line 6: | ||
== Details == |
== Details == |
||
The common arithmetic operators, multiplication (*), division(/), addition (+), and subtraction (-) were tested on the PIC32. Because timing results can vary depending on which C data type (char, short, int, long long, float, and double) is used, the final table includes the number of cycles a particular operator and data type pair took to compute. |
|||
A small subset of the built-in mathematical functions defined in <math.h> were also tested. |
|||
== Library Functions == |
== Library Functions == |
Revision as of 11:18, 21 February 2011
*** UNDER CONSTRUCTION ***
Benchmarking is a useful tool in testing how fast a processor can run. With the PIC32, we are primarily interested in seeing how fast its CPU can perform mathematical operations.
Overview
Details
The common arithmetic operators, multiplication (*), division(/), addition (+), and subtraction (-) were tested on the PIC32. Because timing results can vary depending on which C data type (char, short, int, long long, float, and double) is used, the final table includes the number of cycles a particular operator and data type pair took to compute.
A small subset of the built-in mathematical functions defined in <math.h> were also tested.