Definition at line 47 of file TTreeCacheUnzip.h.
#include <TTreeCacheUnzip.h>
◆ UnzipState()
TTreeCacheUnzip::UnzipState::UnzipState |
( |
| ) |
|
|
inline |
◆ ~UnzipState()
TTreeCacheUnzip::UnzipState::~UnzipState |
( |
| ) |
|
|
inline |
◆ Clear()
void TTreeCacheUnzip::UnzipState::Clear |
( |
Int_t |
size | ) |
|
◆ IsFinished()
Bool_t TTreeCacheUnzip::UnzipState::IsFinished |
( |
Int_t |
index | ) |
const |
◆ IsProgress()
Bool_t TTreeCacheUnzip::UnzipState::IsProgress |
( |
Int_t |
index | ) |
const |
◆ IsUntouched()
Bool_t TTreeCacheUnzip::UnzipState::IsUntouched |
( |
Int_t |
index | ) |
const |
◆ IsUnzipped()
Bool_t TTreeCacheUnzip::UnzipState::IsUnzipped |
( |
Int_t |
index | ) |
const |
Check if the basket is unzipped already.
We must make sure the length in fUnzipLen is larger than 0.
Definition at line 83 of file TTreeCacheUnzip.cxx.
◆ Reset()
void TTreeCacheUnzip::UnzipState::Reset |
( |
Int_t |
oldSize, |
|
|
Int_t |
newSize |
|
) |
| |
Reset all baskets' state arrays.
This function is only called by main thread and parallel processing from upper layers should be disabled such as IMT in TTree::GetEntry(). Other threads should not call this function since it is not thread-safe.
Definition at line 93 of file TTreeCacheUnzip.cxx.
◆ SetFinished()
void TTreeCacheUnzip::UnzipState::SetFinished |
( |
Int_t |
index | ) |
|
Set cache as finished.
There are three scenarios that a basket is set as finished:
- The basket has already been unzipped.
- The thread is aborted from unzipping process.
- To avoid other tasks/threads work on this basket, main thread marks the basket as finished and designates itself to unzip this basket.
Definition at line 124 of file TTreeCacheUnzip.cxx.
◆ SetMissed()
void TTreeCacheUnzip::UnzipState::SetMissed |
( |
Int_t |
index | ) |
|
◆ SetProgress()
void TTreeCacheUnzip::UnzipState::SetProgress |
( |
Int_t |
index | ) |
|
◆ SetUntouched()
void TTreeCacheUnzip::UnzipState::SetUntouched |
( |
Int_t |
index | ) |
|
◆ SetUnzipped()
void TTreeCacheUnzip::UnzipState::SetUnzipped |
( |
Int_t |
index, |
|
|
char * |
buf, |
|
|
Int_t |
len |
|
) |
| |
◆ TryUnzipping()
Bool_t TTreeCacheUnzip::UnzipState::TryUnzipping |
( |
Int_t |
index | ) |
|
◆ fUnzipChunks
std::unique_ptr<char[]>* TTreeCacheUnzip::UnzipState::fUnzipChunks |
! [fNseek] Individual unzipped chunks. Their summed size is kept under control.
Definition at line 51 of file TTreeCacheUnzip.h.
◆ fUnzipLen
std::vector<Int_t> TTreeCacheUnzip::UnzipState::fUnzipLen |
◆ fUnzipStatus
std::atomic<Byte_t>* TTreeCacheUnzip::UnzipState::fUnzipStatus |
The documentation for this struct was generated from the following files: