SDSL 3.0.1
Succinct Data Structure Library
sdsl::tracker_storage Struct Reference

#include <memory_tracking.hpp>

Public Types

using timer = std::chrono::high_resolution_clock
 

Public Member Functions

 tracker_storage ()
 
 ~tracker_storage ()
 

Public Attributes

std::chrono::milliseconds log_granularity = std::chrono::milliseconds(20ULL)
 
int64_t current_usage = 0
 
bool track_usage = false
 
std::vector< mm_eventcompleted_events
 
std::stack< mm_eventevent_stack
 
timer::time_point start_log
 
timer::time_point last_event
 
spin_lock spinlock
 

Detailed Description

Definition at line 169 of file memory_tracking.hpp.

Member Typedef Documentation

◆ timer

using sdsl::tracker_storage::timer = std::chrono::high_resolution_clock

Definition at line 171 of file memory_tracking.hpp.

Constructor & Destructor Documentation

◆ tracker_storage()

sdsl::tracker_storage::tracker_storage ( )
inline

Definition at line 181 of file memory_tracking.hpp.

◆ ~tracker_storage()

sdsl::tracker_storage::~tracker_storage ( )
inline

Definition at line 183 of file memory_tracking.hpp.

Member Data Documentation

◆ completed_events

std::vector<mm_event> sdsl::tracker_storage::completed_events

Definition at line 175 of file memory_tracking.hpp.

◆ current_usage

int64_t sdsl::tracker_storage::current_usage = 0

Definition at line 173 of file memory_tracking.hpp.

◆ event_stack

std::stack<mm_event> sdsl::tracker_storage::event_stack

Definition at line 176 of file memory_tracking.hpp.

◆ last_event

timer::time_point sdsl::tracker_storage::last_event

Definition at line 178 of file memory_tracking.hpp.

◆ log_granularity

std::chrono::milliseconds sdsl::tracker_storage::log_granularity = std::chrono::milliseconds(20ULL)

Definition at line 172 of file memory_tracking.hpp.

◆ spinlock

spin_lock sdsl::tracker_storage::spinlock

Definition at line 179 of file memory_tracking.hpp.

◆ start_log

timer::time_point sdsl::tracker_storage::start_log

Definition at line 177 of file memory_tracking.hpp.

◆ track_usage

bool sdsl::tracker_storage::track_usage = false

Definition at line 174 of file memory_tracking.hpp.


The documentation for this struct was generated from the following file: