ROOT 6.14/05 Reference Guide |
Definition at line 53 of file TTreeCacheUnzip.h.
Public Member Functions | |
UnzipState () | |
~UnzipState () | |
void | Clear (Int_t size) |
Clear all baskets' state arrays. More... | |
Bool_t | IsFinished (Int_t index) const |
Bool_t | IsProgress (Int_t index) const |
Bool_t | IsUntouched (Int_t index) const |
Bool_t | IsUnzipped (Int_t index) const |
Check if the basket is unzipped already. More... | |
void | Reset (Int_t oldSize, Int_t newSize) |
Reset all baskets' state arrays. More... | |
void | SetFinished (Int_t index) |
Set cache as finished. More... | |
void | SetMissed (Int_t index) |
void | SetProgress (Int_t index) |
void | SetUntouched (Int_t index) |
void | SetUnzipped (Int_t index, char *buf, Int_t len) |
Bool_t | TryUnzipping (Int_t index) |
Start unzipping the basket if it is untouched yet. More... | |
Public Attributes | |
std::unique_ptr< char[]> * | fUnzipChunks |
! [fNseek] Individual unzipped chunks. Their summed size is kept under control. More... | |
std::vector< Int_t > | fUnzipLen |
! [fNseek] Length of the unzipped buffers More... | |
std::atomic< Byte_t > * | fUnzipStatus |
! [fNSeek] More... | |
#include <TTreeCacheUnzip.h>
|
inline |
Definition at line 61 of file TTreeCacheUnzip.h.
|
inline |
Definition at line 65 of file TTreeCacheUnzip.h.
Clear all baskets' state arrays.
Definition at line 74 of file TTreeCacheUnzip.cxx.
Definition at line 98 of file TTreeCacheUnzip.cxx.
Definition at line 92 of file TTreeCacheUnzip.cxx.
Definition at line 86 of file TTreeCacheUnzip.cxx.
Check if the basket is unzipped already.
We must make sure the length in fUnzipLen is larger than 0.
Definition at line 106 of file TTreeCacheUnzip.cxx.
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 116 of file TTreeCacheUnzip.cxx.
Set cache as finished.
There are three scenarios that a basket is set as finished:
Definition at line 145 of file TTreeCacheUnzip.cxx.
Definition at line 153 of file TTreeCacheUnzip.cxx.
Definition at line 160 of file TTreeCacheUnzip.cxx.
Start unzipping the basket if it is untouched yet.
Definition at line 170 of file TTreeCacheUnzip.cxx.
std::unique_ptr<char[]>* TTreeCacheUnzip::UnzipState::fUnzipChunks |
! [fNseek] Individual unzipped chunks. Their summed size is kept under control.
Definition at line 57 of file TTreeCacheUnzip.h.
std::vector<Int_t> TTreeCacheUnzip::UnzipState::fUnzipLen |
! [fNseek] Length of the unzipped buffers
Definition at line 58 of file TTreeCacheUnzip.h.
std::atomic<Byte_t>* TTreeCacheUnzip::UnzipState::fUnzipStatus |
! [fNSeek]
Definition at line 59 of file TTreeCacheUnzip.h.