Git Product home page Git Product logo

opensplice-tools's People

Contributors

eboasson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opensplice-tools's Issues

Fails to compile with Vortex 6.6.2p2

ash-4.1$ pwd
/home/asmith/Downloads/opensplice-tools-master
bash-4.1$ ls
common.c LICENSE porting.h simpleidlpp testtypeSacDcps.d tglib.c
common.d lsbuiltin.c pubsub.c testtypeDcps.h testtypeSacDcps.h tglib.h
common.h lsbuiltin.d pubsub.d testtype.h testtypeSplDcps.c
genreader.c makefile README.md testtype.idl testtypeSplDcps.d
idl2md porting.c ShapeType.idl testtypeSacDcps.c testtypeSplDcps.h

bash-4.1$ make
In file included from common.h:4:0,
from pubsub.c:31:
/proj/sw/3rdparty/PrismTech/Vortex_v2/Device/VortexOpenSplice/6.6.2p2/HDE/x86_64.linux/include/dcps/C/SAC/dds_dcps.h:21:20: fatal error: c_base.h: No such file or directory
#include "c_base.h"
^
compilation terminated.
make: *** [pubsub.o] Error 1
bash-4.1$

Publishing N samples in a single burst only once

Hi, I played around with this nice pubsub tool, and I find it very useful to write tests. In one of my test experiments I stumbled on the following.

In my experiment, I want a publishing node that publishes N key values in a single burst as fast as possible, and then wait forever. To achieve that I used the writer option N:R*B. Here, N is the number of key values, R is the rate, B is the burst size. Evidently, in my use case B equals N, because I want all data to be published at once. The question that I have relates to R (which is the rate in bursts/second). What is a proper values for R in my use case?

My naive was approach was to use R=0. After all, if I publish a data set of N key values only once and then wait forever, you would think that rate converges to 0 after waiting indefinitely. However, it looks like that data is published continously when R=0. Ofcourse, I can get my test case to work by using a very small R (e.g., R=0.001). In this case the set will be published once, and if my test finishes within 1000 sec I'll be OK. But it is not actually the same as my original problem, because I'll have be sure that my test now finishes within 1000 sec.

My concrete question is:
Is there any reason why N:0 * N does publishes data continuously, instead of publishing it once and then wait forever?

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.