Giter Site home page Giter Site logo

shared_mem_random's Introduction

Shared Mem Random

This application fills a shared memory with random values.

Build

git submodule init
git submodule update
mkdir build
cd build
cmake .. -DCMAKE_CXX_COMPILER=$(which clang++) -DCMAKE_BUILD_TYPE=Release -DCLANG_FORMAT=OFF -DCOMPILER_WARNINGS=OFF
cmake --build .

As an alternative to the git submodule commands, the --recursive option can be used with git clone.

Use

SHM_Random [OPTION...]

  -a, --alignment arg  use the given byte alignment to generate random values. (1,2,4,8) (default: 1)
  -m, --mask arg       optional bitmask (as hex value) that is applied to the generated random values
  -n, --name arg       mandatory name of the shared memory object
  -i, --interval arg   random value generation interval in milliseconds (default: 1000)
  -l, --limit arg      random interval limit. Use 0 for no limit (--> run until SIGINT / SIGTERM). (default: 0)
  -h, --help           print usage

Libraries

This application uses the following libraries:

shared_mem_random's People

Contributors

nikolask-source avatar nikolask-git avatar

Watchers

 avatar

shared_mem_random's Issues

Limit memory area

Add an option that limits the memory area in that random values are set.

Semaphore

Optional feature: use existing names semaphore to protect shared memory access

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.