Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Christian Gerdes
/
piloop
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
8a3d2931
...
8a3d2931aae8c17ef99bff867dabfcd863b93a9f
authored
2018-12-10 15:52:45 +0000
by
Christian Gerdes
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
dded license and binary for cygwin/windows64
1 parent
8b6d841f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletions
README.md
piloop.c
piloop.exe
README.md
View file @
8a3d293
# PILOOP
Linux/Unix command to calculate pi in a forever loop, thereby maxing out the CPU
CygWin/
Linux/Unix command to calculate pi in a forever loop, thereby maxing out the CPU
cores of the machine. You need to specify the number of concurrent threads, and
optionally the priority of the process by specifying a nice value to add.
...
...
@@ -62,3 +62,10 @@ piloop: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked,
interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32,
BuildID[sha1]=5312cb7d4bc2fab8851badf5ef36ddd91ce2136a, not stripped
```
The pre-compiled piloop.exe file in the repository is compiled for
```
piloop.exe: PE32+ executable (console) x86-64, for MS Windows
```
and requires a CygWin x64 installation. The provided cygwin1.dll can be used to run only piloop.exe.
Please note that CygWin is under a different license (https://cygwin.com/licensing.html).
\ No newline at end of file
...
...
piloop.c
View file @
8a3d293
/************************************************************************************************
* All code in this file is under the MS-RL License (https://opensource.org/licenses/MS-RL) *
* By using the code in this file in any way, you agree to the above license terms. *
* Copyright (C) LIGHTS IN LINE AB (https://www.lightsinline.se) *
* Repository, Wiki, Issue tracker and more at https://git.lightsinline.se/lilchger/piloop *
* *
* Author: Christian Gerdes (christian.gerdes@lightsinline.se) *
* Contributors *
* LIGHTS IN LINE AB *
* SWEDBANK AB * *
************************************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
...
...
piloop.exe
0 → 100644
View file @
8a3d293
No preview for this file type
Please
register
or
sign in
to post a comment