Belle II Software development
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
18using namespace Belle2;
19using namespace std;
20
21int 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
Class to manage a Ring Buffer placed in an IPC shared memory.
Definition: RingBuffer.h:39
void dumpInfo() const
Dump contents of RingBufInfo metadata.
Definition: RingBuffer.cc:463
Abstract base class for different kinds of events.
STL namespace.