CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Tools/CPUInfo/output-pixracer.txt
Views: 1798
1
SYSCLK 168MHz
2
Type sizes:
3
char : 1
4
short : 2
5
int : 4
6
long : 4
7
long long : 8
8
bool : 1
9
void* : 4
10
printing NaN: nan
11
printing +Inf: inf
12
printing -Inf: -inf
13
14
Operation timings:
15
Note: timings for some operations are very data dependent
16
nop 0.01 usec/call
17
micros() 1.22 usec/call
18
millis() 1.30 usec/call
19
fadd 0.04 usec/call
20
fsub 0.04 usec/call
21
fmul 0.04 usec/call
22
fdiv /= 0.12 usec/call
23
fdiv 2/x 0.11 usec/call
24
dadd 0.57 usec/call
25
dsub 0.56 usec/call
26
dmul 0.29 usec/call
27
ddiv 0.38 usec/call
28
sinf() 1.09 usec/call
29
cosf() 1.04 usec/call
30
tanf() 1.91 usec/call
31
acosf() 0.50 usec/call
32
asinf() 0.57 usec/call
33
atan2f() 1.42 usec/call
34
sqrtf() 0.29 usec/call
35
sin() 16.24 usec/call
36
cos() 16.20 usec/call
37
tan() 32.15 usec/call
38
acos() 1.38 usec/call
39
asin() 3.13 usec/call
40
atan2() 26.06 usec/call
41
sqrt() 6.91 usec/call
42
iadd8 0.04 usec/call
43
isub8 0.04 usec/call
44
imul8 0.04 usec/call
45
idiv8 0.04 usec/call
46
iadd16 0.04 usec/call
47
isub16 0.04 usec/call
48
imul16 0.04 usec/call
49
idiv16 0.08 usec/call
50
iadd32 0.03 usec/call
51
isub32 0.03 usec/call
52
imul32 0.03 usec/call
53
idiv32 0.04 usec/call
54
iadd64 0.07 usec/call
55
isub64 0.07 usec/call
56
imul64 0.08 usec/call
57
idiv64 0.67 usec/call
58
memcpy128 5.63 usec/call
59
memset128 5.57 usec/call
60
delay(1) 1013.43 usec/call
61
62