![]() |
Project
|
Benchmark MID raw data decoder. More...
#include "benchmark/benchmark.h"#include <vector>#include "Framework/Logger.h"#include "CommonDataFormat/InteractionRecord.h"#include "DetectorsRaw/RawFileReader.h"#include "DPLUtils/RawParser.h"#include "DataFormatsMID/ColumnData.h"#include "MIDBase/DetectorParameters.h"#include "MIDRaw/Decoder.h"#include "MIDRaw/Encoder.h"#include "MIDRaw/LinkDecoder.h"Go to the source code of this file.
Functions | |
| o2::mid::ColumnData | getColData (uint8_t deId, uint8_t columnId, uint16_t nbp=0, uint16_t bp1=0, uint16_t bp2=0, uint16_t bp3=0, uint16_t bp4=0) |
| std::vector< uint8_t > | generateTestData (size_t nTF, size_t nDataInTF, size_t nColDataInEvent, size_t nLinks=o2::mid::crateparams::sNGBTs) |
| BENCHMARK (BM_LinkDecoder) -> Apply(CustomArguments) ->Unit(benchmark::kNanosecond) | |
| BENCHMARK (BM_Decoder) -> Apply(CustomArguments) ->Unit(benchmark::kNanosecond) | |
| BENCHMARK_MAIN () | |
| BENCHMARK | ( | BM_Decoder | ) | -> Apply(CustomArguments) ->Unit(benchmark::kNanosecond) |
| BENCHMARK | ( | BM_LinkDecoder | ) | -> Apply(CustomArguments) ->Unit(benchmark::kNanosecond) |
| BENCHMARK_MAIN | ( | ) |
| std::vector< uint8_t > generateTestData | ( | size_t | nTF, |
| size_t | nDataInTF, | ||
| size_t | nColDataInEvent, | ||
| size_t | nLinks = o2::mid::crateparams::sNGBTs |
||
| ) |
Definition at line 42 of file bench_Raw.cxx.
| o2::mid::ColumnData getColData | ( | uint8_t | deId, |
| uint8_t | columnId, | ||
| uint16_t | nbp = 0, |
||
| uint16_t | bp1 = 0, |
||
| uint16_t | bp2 = 0, |
||
| uint16_t | bp3 = 0, |
||
| uint16_t | bp4 = 0 |
||
| ) |
Definition at line 29 of file bench_Raw.cxx.