Belle II Software
release-08-01-10
dumprb.cc
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
#include <string>
9
10
#include <stdio.h>
11
#include <stdlib.h>
12
13
#include "framework/pcore/RingBuffer.h"
14
15
#define RBUFSIZE 100000000
16
#define MAXEVTSIZE 400000000
17
18
using namespace
Belle2
;
19
using namespace
std;
20
21
int
main
(
int
argc,
char
** argv)
22
{
23
if
(argc < 2) {
24
printf(
"%s: rbufname \n"
, argv[0]);
25
exit(-1);
26
}
27
RingBuffer
* rbuf =
new
RingBuffer
(argv[1]);
28
rbuf->
dumpInfo
();
29
}
30
31
32
Belle2::RingBuffer
Class to manage a Ring Buffer placed in an IPC shared memory.
Definition:
RingBuffer.h:39
Belle2::RingBuffer::dumpInfo
void dumpInfo() const
Dump contents of RingBufInfo metadata.
Definition:
RingBuffer.cc:463
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
main
int main(int argc, char **argv)
Run all tests.
Definition:
test_main.cc:91
daq
rfarm
event
tools
dumprb.cc
Generated on Mon Sep 23 2024 14:01:15 for Belle II Software by
1.9.1