dded license and binary for cygwin/windows64
Showing
3 changed files
with
20 additions
and
1 deletions
1 | # PILOOP | 1 | # PILOOP |
2 | Linux/Unix command to calculate pi in a forever loop, thereby maxing out the CPU | 2 | CygWin/Linux/Unix command to calculate pi in a forever loop, thereby maxing out the CPU |
3 | cores of the machine. You need to specify the number of concurrent threads, and | 3 | cores of the machine. You need to specify the number of concurrent threads, and |
4 | optionally the priority of the process by specifying a nice value to add. | 4 | optionally the priority of the process by specifying a nice value to add. |
5 | 5 | ||
... | @@ -62,3 +62,10 @@ piloop: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, | ... | @@ -62,3 +62,10 @@ piloop: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, |
62 | interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, | 62 | interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, |
63 | BuildID[sha1]=5312cb7d4bc2fab8851badf5ef36ddd91ce2136a, not stripped | 63 | BuildID[sha1]=5312cb7d4bc2fab8851badf5ef36ddd91ce2136a, not stripped |
64 | ``` | 64 | ``` |
65 | |||
66 | The pre-compiled piloop.exe file in the repository is compiled for | ||
67 | ``` | ||
68 | piloop.exe: PE32+ executable (console) x86-64, for MS Windows | ||
69 | ``` | ||
70 | and requires a CygWin x64 installation. The provided cygwin1.dll can be used to run only piloop.exe. | ||
71 | Please note that CygWin is under a different license (https://cygwin.com/licensing.html). | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | /************************************************************************************************ | ||
2 | * All code in this file is under the MS-RL License (https://opensource.org/licenses/MS-RL) * | ||
3 | * By using the code in this file in any way, you agree to the above license terms. * | ||
4 | * Copyright (C) LIGHTS IN LINE AB (https://www.lightsinline.se) * | ||
5 | * Repository, Wiki, Issue tracker and more at https://git.lightsinline.se/lilchger/piloop * | ||
6 | * * | ||
7 | * Author: Christian Gerdes (christian.gerdes@lightsinline.se) * | ||
8 | * Contributors * | ||
9 | * LIGHTS IN LINE AB * | ||
10 | * SWEDBANK AB * * | ||
11 | ************************************************************************************************/ | ||
12 | |||
1 | #include <stdio.h> | 13 | #include <stdio.h> |
2 | #include <stdlib.h> | 14 | #include <stdlib.h> |
3 | #include <pthread.h> | 15 | #include <pthread.h> | ... | ... |
piloop.exe
0 → 100644
No preview for this file type
-
Please register or sign in to post a comment